[osg-users] CompositeViewer and FBO
Tony Vasile
minghia at gmail.com
Mon Jul 25 20:43:58 PDT 2016
Basically my setup is similar to osgfpdepth but instead of a simple osgViewer::Viewer object I have a osgViewer::CompositeViewer on the top.
Currently I only have one view in my CompositeViewer.
After I add the rttCamera as a slave to the View returned by viewer.getView(0) and then add the texCamera to the same view, the cameras that are processed by osgUtil::RenderStage::runCameraSetup are the main camera created in the view and the texCamera. If I debug the osgfpdepth program with its simple osgViewer::Viewer and its rttCamera and its texCamera, I see both the rttCamera and the texCamera processed by osgUtil::RenderStage::runCameraSetup.
Does anyone have any suggestions as to were to look? I want the behaviour as the osgfpdepth example. Thanks in advance.
------------------------
Tony V
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68206#68206
More information about the osg-users
mailing list