Gouthas, Themie writes:
> I dont think the alpha sorting code was ever comitted, so currently
> I dont beleive PLIB will alpha sort.

Really?  I thought this was something that Steve had in place even in
the early days of plib ... unless it was broke along the way and still
needs to be fixed?

Regards,

Curt.


> -----Original Message-----
> From: Curtis L. Olson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 16 July 2002 9:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Flightgear-devel] ANN: a new dimension to FlightGear
> 
> 
> David Megginson writes:
> > David Findlay writes:
> > 
> >  > Just noted one problem. The billboard backgrounds are transparent
> >  > only for the ground, not other objects. This doesn't look great
> >  > when you're buzzing through the forest. Other than that it looks
> >  > great. Thanks,
> > 
> > Noted.  Unfortunately, alpha transparency is a nightmare -- only
> > things drawn *before* the object with transparency will show through.
> > I draw the dynamically-placed objects after the ground, so you can
> > always see the ground through them, but they are drawn before the
> > clouds in the sky (since you will want to see them through the gaps in
> > the clouds).  It will be (apparently) random whether any individual
> > tree shows up through the alpha portion of any other individual
> > tree's texture.  I know of no appropriate solution for this problem.
> > The current arrangement works best for the normal situation, flying
> > above 100ft AGL, but you're right that it can cause problems when
> > you're buzzing cows.
> 
> David,
> 
> What you need to do is set the transparent flag in the ssgSimpleState
> for these objects.  That way plib can sort them and draw them back to
> front.
> 
> Regards,
> 
> Curt.
> -- 
> Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
> Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
> Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

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

Reply via email to