[GEM-dev] gem cvs alpha-depth bug?

guenter geiger geiger at xdv.org
Sun Nov 30 20:20:14 CET 2003


On Fri, 28 Nov 2003 ben at ekran.org wrote:
> I'm actually very fond of z-buffering
>
> could we "fix" lighting so that it works as expected with depth-buffering on?

What do you mean with "fix" the lighting ?
Is there another problem I have overlooked ?

Guenter

>
> Ben
>
>
> > On Fri, 28 Nov 2003 ben at ekran.org wrote:
> >> hey all,
> >>
> >> I just updated my gem cvs again today.
> >>
> >> I've noticed an odd bug with alpha (again). this time the alpha object
> >> seems to turn on depth buffering when its in the chain!
> >
> > Ooops, obviously my fault.
> > I have changed default behaviour of alpha to the one it was in 0.87.
> > Damn, I really forgot about that, ...
> >
> > It is not really a bug, but a feature that lets you use alpha blending
> > independent from position, but the default behaviour should of course
> > stay the same. Sorry ..
> >
> > Guenter
> >
> >>
> >> I'm using lighting (because lighting tends to get messed up when using
> >> "depth" to show the effect. without a depth object in a chain, the
> >> cube looks identical to its depth counterpart, as long as the alpha
> >> object is in the chain. If I turn off the alpha object it works fine.
> >> (looks as it does without using depth.
> >>
> >> Here is an example patch.
> >>
> >> Ben
> >>
> >>
> >
> >
> > _______________________________________________
> > GEM-dev mailing list
> > GEM-dev at iem.at
> > http://iem.at/cgi-bin/mailman/listinfo/gem-dev
>
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/gem-dev
>





More information about the GEM-dev mailing list