Hello,

I'm new to the group.
I've just started working with OSG, and I'm trying to get a handle on a rendering problem with transparencies (I was hoping OSG 1.1 would fix it but ...) :

When objects have some partly-transparent textures, the sky box texture gets rendered in the transparent part of the foreground object, even though there are intervening objects in between. 
This only happens if there are only transparent-textured objects layered till the sky box, if there are other objects in the way without any alpha-values, it looks ok.

To my continuing frustration, different versions give varrying results:
OSG .99 works fine
OSG 1.0 draws the skybox texture throughout the polygon (eg. a billboard will appear rectangular with the skybox texture as background and the non-transparent parts of it's own texture overlaid)
OSG 1.1rc1 (actually today's cvs) draws the skybox texture only in the part of the texture that has is not-quite transparent (so the bilboard from the previous example would now exibit a kind of 'halo' around the non-transparent parts of it's texture)

I hope someone has some pointers

--------------------------
Radu Mihai



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to