All,
Another quick question, or rather a confirmation. The attached image shows 9
frames of an animation.
Frame 1: a QuadArray with per-vertex colors:
Red vertex - transparency = 0
Green vertex - transparency = 0
Blue vertex - transparency = 1
Black vertex - transparency = 1
Frame 2-9
Rendering the QuadArray with RenderingAttributes: AlphaTest = LESS,
AlphaTest value = 0.5.
Frame 2 is easy enough, the 0.5 transparency line divides the QuadArray
into two sections, and only the section with transparency < 0.5 is rendered.
However, as you can see, in frames 3-8 as the QuadArray rotates the
"apparent" transparency of the QuadArray changes as a function of the
rotation (or maybe the screen/world coordinates of the vertices).
Does anyone have an explanation for this phenomenon? The transparency
interpolation between vertices appears to be a function of the projected
position of the vertex. Is this possible? Is this a bug?
Sincerely, but a little puzzled,
Daniel Selman
[EMAIL PROTECTED]
http://www.tornadolabs.com
Image16.gif