Hi Nick, It should be simply a case of setting up the slave cameras with the correct view and projection matrices. An example of the setting up cube rendering can be found in src/osgViewer/View.cpp's View::setUpViewFor3DSphericalDisplay(..), this has 6 slave cameras, and an extra slave camera for doing distortion correction - your own needs will be simpler than this as you not need to do render to texture. Also have a look at the osgwindows example for a simpler example of two slave cameras.
Robert. On Mon, Jun 21, 2010 at 5:54 PM, nick waller <[email protected]> wrote: > Hello. > > I'm working on configuring a cave-like device using OSG. The device has 3 > walls along side each other, the two on the outside rotated in about 30 > degrees. To account for this, I tried rotating the slave camera's that > display to the outside screens but this doesn't seem to work. Instead it > clips the image and I get a strange view-slot on the rotated screens. I am > rotating them by rotating rotating the projection matrix when I create the > slave camera's. This is clearly not working. Can someone point me in the > right direction? > Thanks > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=29222#29222 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

