Runtime cloud support for FlightGear has improved slightly. The environment manager now supports up to five independent cloud layers, all of which can be modified at runtime via properties (and thus, via external scripts, etc.). The cloud-layer definitions are in the /environment/clouds/layer[n]/ branches, and look like this:
<layer n="0"> <type>mostly-sunny</type> <elevation-ft>5000</elevation-ft> <thickness-ft>600</thickness-ft> <transition-ft>150</transition-ft> <span-m>40000</span-m> </layer> The span-m property has to do with the texture UV coordinates, and should eventually be handled some other way. The following types are available (these are all that SimGear supports): 1. clear 2. mostly-sunny 3. mostly-cloudy 4. overcast 5. cirrus Currently, things seem to crash sometimes when a layer goes to "clear" and then back to something else -- I'll have to work on that. Otherwise, feel free to open the property browser and play with these, or to set up different startup defaults. The /environment/clouds/status property is now dynamic -- you can use it to toggle clouds on or off at runtime. The property /environment/clouds/altitude-asl-ft (or whatever it was) is now gone, since it doesn't make sense for multiple cloud layers; ditto for the --clouds-asl command-line option. Enjoy, David -- David Megginson, [EMAIL PROTECTED], http://www.megginson.com/ _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel