[info-performer] Multisample transparency

Date view Thread view Subject view Author view

From: Scott A. Friedman (friedman++at++ucla.edu)
Date: 05/09/2005 18:22:45


Hi

What is the correct way to use multisample transparency on the pc
(linux/windows)? Specifically, I have a polygon that has a transparent
alpha value assiciated with it. Behind this is a polygon with a texture
that has transparency - the polygon its applied to has no transparency.

Whenever this combination is rendered the textured polygon disappears
completely unless PFTR_NO_OCCLUDE is set. This, however, does not always
result is a correct result if the object centers come to be in the wrong
order of distance.

I have a framebuffer with multisampling (4 samples) and am setting the
transparency mode to PFTR_MS_ALPHA. Although the man page says this uses
GL_SAMPLE_ALPHA_TO_ONE. I noticed in the OpenGL docs that there is also
a GL_SAMPLE_ALPHA_TO_COVERAGE - wouldn't this be what I want?

Can someone explain to me what is going on here?

Thanks,
Scott


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon May 09 2005 - 18:23:32 PDT