Hi,as a default I enable the z write transparency option in the render action this doesn't solve the problem but looks a bit better.
render_action->setZWriteTrans(true);For a nice transparent cube without face sorting I would add a polygon chunk with backface culling enabled. I attached the modified file.
Andreas
Hi Patrick, On Tue, 2004-12-28 at 07:59, Patrik Müller wrote:Hi all, I've got a strange effect with the OpenSG Sceneviewer and VRED 0.95beta. If I display the attached file with VRED everything looks ok. Displaying it with the OpenSG viewer I see some visual artefacts. Where's the difference?Hmm, interesting. You have a single concave object (a cube) that is transparent. To render that without artefacts from nay viewpoint you have to sort the faces individually, which OpenSG doesn't do (yet), and AFAIK Vred doesn't do that either, so I'm a little confused. Andreas, do you do anything special in Vred? Dirk
cube_red2.osb
Description: Binary data
