Sounds like you either didn't set the rendering hint for transparency, or
all your geometry is within a single Drawable/Geometry object, or both. As a
result, some of your geometry is losing the depth test to other geometry.
 
To set the render hint correctly, try searching the example code for
"setRenderingHint".
 
Once that's set, any geometry that could be in front of or behind other
transparent geometry must be separated out from each other and placed in
their own individual Drawables.
 
Then it should work.
   -Paul
 
 
  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Netschke, Greg
Sent: Wednesday, April 18, 2007 3:10 PM
To: osg users
Subject: [osg-users] translucent objects disappear



I have a scene where I have translucent objects inside of translucent
object.  This causes the interior objects to disappear entirely.  If I hide
the containing translucent object, then the interior ones show just fine.  
 
This is only some of the contained objects.  Other contained objects show
just fine.  As I rotate the view, objects are flashing in and out.
 
Any ideas what is causing this?
 
I attached a couple of small images to show what I mean.
 
Thanks,
Greg

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

Reply via email to