Jump to content
  • Advertisement
Sign in to follow this  
udvat

OpenGL snow crystals

This topic is 4135 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Did anyone modell snow crystals in openGL? Can you suggest me useful algorithms and papers? [Edited by - udvat on May 24, 2007 10:32:16 PM]

Share this post


Link to post
Share on other sites
Advertisement
I have no idea how to 'model' a snowcrystal, especially not in OpenGL, since OpenGL incidentally isn't a modelling program. However, if you are referring to common techniques used for rendering snow, then I know that it is a common technique to render it as an animated texture infront of the camera. If you are doing a third person game, you can probably experiment with rendering the snow behind and/or in front of the player's character. More than that I am afraid I cannot tell you. A google search would probably be good. Either that, or simply wait until someone more knowledgeable replies.

Share this post


Link to post
Share on other sites
Do you mean like a snow crystal zoomed in like 100x, as in it's geometry and what not? Or are you just trying to create a snow-falling-from-the-sky effect.

Share this post


Link to post
Share on other sites
no falling effect. just the geometry of snow crystals.
you can see the shapes here
www.its.caltech.edu/~atomic/snowcrystals/photos/photos.htm

Share this post


Link to post
Share on other sites
Quote:
Original post by udvat
algorithms..the geometry of snow crystals.


yes, look for the "Koch curve".. this is a self-similar fractal curve/line that can be used of snowflakes...

http://en.wikipedia.org/wiki/Koch_snowflake

Share this post


Link to post
Share on other sites
I'd probably look into l-systems and ifs fractals, and try to figure out something from there..

Share this post


Link to post
Share on other sites
L-Systems are a grammer for building things that are fractal in nature (trees, snow flakes, regular old fractals)

http://en.wikipedia.org/wiki/L-system

"The Algoririthmic Beauty of Plants" (free book) has a lot about L-Systems, but it obviously focuses on using them for plants. The first chapter's still a good read just to get up to speed on how L-Systems work.

http://algorithmicbotany.org/papers/abop/abop.pdf

Googling "l-system snowflake" will likely give you a lot more snow-specific resources.

Share this post


Link to post
Share on other sites
Here are some links to snowflake growth simulations using cellular automata (found using Google ;).

Wolfram's Snowflake Automaton (a bit cartoonish):
- http://demonstrations.wolfram.com/SnowflakeGrowth/
- http://www.vector.org.uk/archive/v193/coxe193.htm
-
">


Gravner-Griffeath Snowfakes (rather realistic):
- http://psoup.math.wisc.edu/Snowfakes.htm
- http://www.americanscientist.org/template/AssetDetail/assetid/54439/page/6;jsessionid=baa9...#54521

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!