bzfrank
12-31-2001, 04:43 AM
I did run into a strange effect while working on an OpenGL game which only surfaces on this special setup (GeForce 3). I use billboarding for trees that stand in a game field together with other elements. Parts of the trees are transparent (have alpha). All billboarding elements are drawn depth-sorted. This works fine and gives the expected results.
However (GeForce3 only, Detonator 23.11/2k/XP) when looking though transparent areas all elements behind show as texturesless gray and with pronounced edges alike wireframe.
Also the textures as displayed on the billboard (a rectangle build from a triange strip) appear to have a pronounced edge and show a diagonal colored line (the triangle edge).
This screenshot shows the effect (see the ball and the castle):
http://www.wizards.de/~frank/project2501/Geforce3_problem2.jpg
Now the catch: Turn on antialiasing and the effect goes away and everything displays like it should (and also everything works fine on Geforce 2, Geforce, TNT ,... even without antialiasing).
Can anyone give me a pointer what I am doing wrong and why this happens? The program showing the effect can also be downloaded from
http://www.wizards.de/~frank/project2501/
However (GeForce3 only, Detonator 23.11/2k/XP) when looking though transparent areas all elements behind show as texturesless gray and with pronounced edges alike wireframe.
Also the textures as displayed on the billboard (a rectangle build from a triange strip) appear to have a pronounced edge and show a diagonal colored line (the triangle edge).
This screenshot shows the effect (see the ball and the castle):
http://www.wizards.de/~frank/project2501/Geforce3_problem2.jpg
Now the catch: Turn on antialiasing and the effect goes away and everything displays like it should (and also everything works fine on Geforce 2, Geforce, TNT ,... even without antialiasing).
Can anyone give me a pointer what I am doing wrong and why this happens? The program showing the effect can also be downloaded from
http://www.wizards.de/~frank/project2501/