On Thu, Dec 16, 2010 at 9:59 PM, Torsten Dreyer wrote:
>> IIRC clouds default to 2D if there isn't a 3D definition in
>> Environment/cloudlayers.xml
>>
>> That might provide an work around.
> Correct. Currently, the layer type is guessed in fgclouds.cxx by looking at
> altitude, thickness etc. My fog "cloudlayer" results in "st" (stratus) which
> is absolutely correct. Since a cloud definition exist in cloudlayers.xml for
> "st", this layer gets rendered in 3d.
>
> I have two ideas in my mind:
>
> 1) explicitely set the layer type in /environment/clouds/layer[n] to some
> value (fog instead of st). If the layer type has been set this way, no
> automatic guessing is performed in fgclouds.cxx. This could also be useful to
> override the algorithm implemented in fgclouds.cxx.
>
> 2) add an enable-3d flag to each layer in /environment/clouds/layer[n] to
> force the 3d clouds in that - and only that - layer to on/off.
>
> I'm not sure yet, which solution is best - probably a combination of both...
>
> Torsten

Personally, I'd go for the first option. It leaves the option of someone writing
a specific fog 3-D cloud effect later.

-Stuart

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to