The code that cures cloud artefacts is in CVS now.
By default, there is an improvement but it is not
perfect because it doesn't use multiple passes to 
deal with interleaving objects.

To enable the multi pass rendering, you must first 
compile FG with FG_ENABLE_MULTIPASS_CLOUDS defined
by doing :

# CXXFLAGS=-DFG_ENABLE_MULTIPASS_CLOUDS ./configure

This will enable the reservation of the stencil buffer.

Then there is a property that can be changed on the 
fly if it was created before. You can start fgfs like 
this :

# fgfs --prop:/sim/rendering/multi-pass-clouds=true

or add 

<multi-pass-clouds type="bool">true</multi-pass-clouds>

in the /sim/rendering section of preferences.xml.
Maybe it should appear be default in the CVS version.

If there are no bad implications on having a stencil buffer
reserved by default, maybe we could remove the conditional
compilation in the future.

-Fred



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to