> I've pushed a code change to be able to control the amount of light
> scattering (or absorption) of the fog by adjusting
> the /rendering/scene/scattering property. A value of 1.0 is full
> scattering and a value of 0.0 is full absorption (unrealistic). The
> default is set to 0.8 now.
Erik,

prop->tie("/environment/relative-humidity",SGRawValuePointer<float>(&_humidity));

is probably not a good idea since the FGEnvironment ties to this property, too 
(and it's
the system that "owns" aka calculates this property.

You should use getNode() and getDoubleValue() instead.

Torsten

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to