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
> > reaching the limits of my graphics programming knowledge
> > again.
> >
> > Question for Tim: What's going on there - do I need to
> > put the 3D clouds in a different rendering bin perhaps?
> >
> > -Stuart
> >
> The bug is known and was reported at least twice in this thread. The same
> thing happens from view below the layers. I can remember that someone said
> that Tim maybe has a solution...
>
> It seems that Tim Moore is very in demand here on the FGFS-project! :-)


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.

Curt.
-- 
Curtis Olson: http://baron.flightgear.org/~curt/
-------------------------------------------------------------------------
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

Reply via email to