[PD] [Gem] alpha transparency question........

chun lee leechun at leechun.freeserve.co.uk
Thu Jul 8 01:11:49 CEST 2004

On 7/7/04 9:27 pm, "Martin Peach" <martinrp at vax2.concordia.ca> wrote:

> chun lee wrote:
>> Hi there:
>> Just got a question about the alpha transparency in Gem.
>> Say I have 2 cubes (A & B) and both have them have alpha transparency on.
>> and because the rendering order (say A renders first), they won't be
>> mutually transparent. I mean cube B can see through cube A but cube A can't
>> see through cube B. making sense?
>> Is there a way so that both of them are mutually transparent?
> You need to adjust the rendering order so that objects are drawn from
> the front of the scene towards the back.
> Unless I am mistaken (50% a priori probability) in openGL there is no
> other way.
> Martin

But don't you have to switch the rendering off and on again for the new
rendering order to get effect? What was in my mind is that say both of the
cubes are in a global rotation so that sometimes A is in front and other
times B is in front.

So there is no way to do this in openGL?



More information about the Pd-list mailing list