Perhaps it was a month ago, maybe even more, that I had an idea to generate clouds. I've seen it done with plain images, or stacked layers of perlin noise, both of which are interesting methods. I had an idea, however, to make clouds as they are made in the real world (or at least, as I believe they are). Water vapor in higher density is more opaque, and will appear white and fluffy. Lower density yields more transparent wisps of cloud.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN5iIsEuflZShsvcOTAM8bjFU-P0jSXG0STos3LLxXqv7POsQWmyBVZ-6_DOZxWJE5UenjNL3cp6mbXM58CNg3Y5zTYRVCkBwJGdvfMVTkTB8hyhQSosaCZ-N1d8wPqtLMz4Y1ApFOknw/s320/clouds.PNG) |
Mah fluffeh clouds |
I used this concept to generate vapor objects, which change size and transparency as they get closer and farther away from each other. Originally I used circles for the clouds, but I found that transparent circular gradients looked nicer. They move at different rates, separate and combine, and I have to say that I'm fairly pleased with the result.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-W1-MEb09y3fb7Oo3Rf5B-aWWzLyAlwxfdVOFRPdCnCLtKkHxWo2_H50TCqmsNr4Dcrqqz4bjKx7M7FK_V6zg4wJQWtAzandtNJD0t6DtAfU-hc3oF0Ku70rZSVJyeY-OImsFfsL-Yvs/s320/reduced51clouds.PNG) |
Mista Roy's edit |
Mista Roy made an edit, adding another layer of cloud, and changing the background color. As it was a bit laggy, I reduced the number of clouds, and I think that it still looks much more realistic and less cartoony than the first version.
This here ( http://paris.cs.wayne.edu/~ay2703/research/publications/getPDF2INMIC2005.pdf ) is a surprisingly fast way of generating very Photoshop-filter-y cloud spans if anyone is interested. Basically multiple layers of bilinearly-scaled noise added to each other.
ReplyDelete