Hey everyone,

I'm having trouble using osgViewer::Viewer::setCamera(osg::Camera*) method 
(inherited from osg::View).  I'm sure the problem is me and not with the 
function. :-*  

Here's the scenario: I have an already-realized viewer window with an empty 
scene, to which I am trying to add a new scene with a Camera node as the root.  
If I use setSceneData(osg::Node*) the scene appears in the window correctly, 
but osg::ComputeWorldToLocal doesn't ignore the camera that was the root of my 
graph.  I thought using setCamera instead would do the trick - avoiding the 
'myCameraNode' is a child of the real root camera problem - but the window 
simply disappears.  Is this enough info that anyone would be able to point me 
at what I am doing wrong?

Thanks for any hints,
Tom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31355#31355





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

Reply via email to