Re: [osg-users] CameraNode cull masks

2007-12-12 Thread Robert Osfield
Hi Ben,

On Dec 11, 2007 11:22 PM, Ben Cain [EMAIL PROTECTED] wrote:
 Do cull masks work with osg::CameraNode?  The interface is there ... so I'm
 thinking should work.

I'm afraid I couldn't answer this without download OSG-1.2 and
reviewing and testing the code...

 Note this particular application is using OSG 1.2.  I'm thinking of bringing
 it up-to-date ... using latest, non-Producer version.

Are a just dip your toe in the water why not just updated to 2.x and
use the external osgProducer, this should ease the porting task.

Porting from osgProducer to osgViewer can be as easy as just changing
a few lines of code to many hundreds, it all depends on how much of
your code directly uses Producer/osgProducer.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] CameraNode cull masks

2007-12-11 Thread Ben Cain
Hello,

Do cull masks work with osg::CameraNode?  The interface is there ... so I'm
thinking should work.

I'm having trouble getting the culling to work for a CameraNode that's used
with RTT.  Is there anything inherently wrong with trying to do this?  I'm
assuming cull/node masking still applies with RTT.

Without having to send too much code, I'm using RTT with post-filtering to
emulate a sensor scene.  The first stage is the one that actually traverses
the root scene graph (one containing 3D geometry) ... the following stages
just work off of the RTT image from the previous stage ... applying image
shader functions.

Anyways, it's the first stage that sets the cull mask.  Any idea why not
working?

Note this particular application is using OSG 1.2.  I'm thinking of bringing
it up-to-date ... using latest, non-Producer version.

Thanks in advance,
  Ben


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.17.0/1180 - Release Date: 12/10/2007
2:51 PM
 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org