Hi !
I'm working on a project in which I want to render side-by-side video with some
other stereo objects. And later reproduce this on a stereo TV.
I'm using a decklink card to capture and playback the final scene.
The problem I'm finding is that I cannot save the final scene in stereo mode in
my m_frameBuffer, I only get an output of a non-stereo configuration.
osg::ref_ptr< osg::Camera > _Camera = new osg::Camera();
Camera ->attach(osg::Camera::COLOR_BUFFER, m_frameBuffer);
while( !viewer.done() )
{
viewer.frame();
sprintf(_str, "image.png");
osgDB::writeImageFile(*m_frameBuffer, std::string(_str));
}
where should I define the osg::DisplaySettings->setStereo(true)
to my "viewer" or to my "_Camera", both ?
I'm quite messed up, any ideas in what might I be doing wrong?
Thanks a lot in advance!
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39205#39205
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org