3D clouds: Difference between revisions

Jump to navigation Jump to search
947 bytes added ,  23 September 2009
Updated with hints for modifying clouds.
No edit summary
(Updated with hints for modifying clouds.)
Line 6: Line 6:


==Cloud shapes and layers==
==Cloud shapes and layers==
Note: the cloud XML format in CVS is currently undergoing renovation to allow more control, and more natural looking clouds.
A 3D cloud layer is defined in the <layers> section. It contains of a number of randomly located <boxes>, containing a set of <clouds>.
A 3D cloud layer is defined in the <layers> section. It contains of a number of randomly located <boxes>, containing a set of <clouds>.
            
            
Line 26: Line 29:
   
   
Cloud are darker towards the bottom. bottom-shade indicates the shading factor of the bottom of the cloud compared with the top.
Cloud are darker towards the bottom. bottom-shade indicates the shading factor of the bottom of the cloud compared with the top.
Finally, note that the clouds are defined as a set of properties, so can be modified within the simulator under /environment/cloud-layers. You can then see the effects of your changes by changing the clouds dialog, which reloads the clouds from properties.
==Cloud Textures==
Advice for those editing cloud textures:
* Change the transparency color to black in your image editing program. This makes it easier to see the white clouds, and in particular spot posterization. On GIMP this can be found under Preferences->Display
* Display a grid of the appropriate dimensions to ensure you don't draw clouds over the texture boundaries. Otherwise the clouds can bleed into each other and you can see nasty vertical and horizontal edges.
* Use a white airbrush and a smudge tool to make the cloud textures look random.


==External links==
==External links==

Navigation menu