Frederic Bouvier wrote: > ----- "Curtis Olson" a écrit : >> The solution is to draw transparent objects in sorted order back to >> front ... including clouds ... so in this case it appears that the 3d >> clouds are being drawn before the 2d cloud layers, and in reality the >> 2d cloud layers need to be intermixed inthe correct draw order with >> the 3d cloud layers. > > The 2D cloud layers used to be drawn from top to camera altitude for upper > layers and from bottom to camera altitude for lower layers. The 3D layer > should be included in this order now. > > -Fred > The 2D layers are drawn in that order, relative to each other. I didn't consider 3D clouds when I implemented that in OSG.
Grep for setRenderBinDetails in simgear/scene/sky/cloud.cxx to see how to insert the 3d clouds into the cloud layer rendering order. Tim ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel