Re: [Flightgear-devel] 3d clouds interaction with overcast layer

2008-11-27 Thread Stuart Buchanan
Hi James, James Sleeman wrote: Sorry if this has already been noted, I don't remember seeing it in the recent discussions. A picture is worth 1000 words... http://sirius.gogo.co.nz/fgfs-invisible-cloud.png Taken from about 7000ft, 1500 ft thick overcast layer at low level, scattered

[Flightgear-devel] 3d clouds interaction with overcast layer

2008-11-27 Thread James Sleeman
Sorry if this has already been noted, I don't remember seeing it in the recent discussions. A picture is worth 1000 words... http://sirius.gogo.co.nz/fgfs-invisible-cloud.png Taken from about 7000ft, 1500 ft thick overcast layer at low level, scattered 3d clouds with bases a couple thousand

Re: [Flightgear-devel] 3d clouds interaction with overcast layer

2008-11-27 Thread Curtis Olson
On Thu, Nov 27, 2008 at 7:59 AM, Heiko Schulz wrote: Hi, Hi James, No, I hadn't seen that bug before. Very amusing (OK, I'm easily amused...) Thanks very much for posting it. I guess the problem is the draw order of the different cloud layers, but I must admit that we're

Re: [Flightgear-devel] 3d clouds interaction with overcast layer

2008-11-27 Thread Frederic Bouvier
- 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

Re: [Flightgear-devel] 3d clouds interaction with overcast layer

2008-11-27 Thread Tim Moore
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

Re: [Flightgear-devel] 3d clouds interaction with overcast layer

2008-11-27 Thread Stuart Buchanan
Tim Moore wrote: 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

Re: [Flightgear-devel] 3d clouds interaction with overcast layer

2008-11-27 Thread Stefan Seifert
On Thursday 27 November 2008 16:21:45 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

Re: [Flightgear-devel] 3d clouds interaction with overcast layer

2008-11-27 Thread Timothy Moore
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