[osg-users] order of occlusion

Paul Martz pmartz at skew-matrix.com
Tue Oct 23 09:01:46 PDT 2007


You could set the second object's render bin number higher than the first
object, and also set Depth test to ALWAYS.
   -Paul


> -----Original Message-----
> From: osg-users-bounces at lists.openscenegraph.org 
> [mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf 
> Of Bernd Brot
> Sent: Tuesday, October 23, 2007 9:26 AM
> To: osg-users at lists.openscenegraph.org
> Subject: [osg-users] order of occlusion
> 
> Hi,
> 
> I've got a problem and need your help. In my scene I've got 
> two objects, that penetrate each other. 
> Is it possible to display one object in front of the other 
> whereby there is no penetration for the observer?
> I don't want to move these objects. They should be fixed but 
> it has to look as if one object is positioned in front of the other.
> 
> I'm using Open Producer and OSG 1.2.
> 
> Thanks
> Bernd
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
> 
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org




More information about the osg-users mailing list