snow crystals

Started by
8 comments, last by udvat 16 years, 11 months ago
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]
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.
_______________________Afr0Games
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.
no falling effect. just the geometry of snow crystals.
you can see the shapes here
www.its.caltech.edu/~atomic/snowcrystals/photos/photos.htm
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

But koch snow flake looks different from the shapes I want.
I'd probably look into l-systems and ifs fractals, and try to figure out something from there..
http://iki.fi/sol - my schtuphh
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.
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
Thanks to all of you. The resources are very helpful for me.

This topic is closed to new replies.

Advertisement