Hi Kim, I've just done a quick code review of your stereo image app, it generally looks OK, but a couple of things seem a bit odd.
First up you reset the eye separation to 0.0, this will only be required if you don't place the image geometry on the image plane of the display and won't to force off any normal stereo effect. When I use stereo imagery with Present3D it's almost always in the context of other text, 3d models which require normal stereo display, in these cases to get the stereo imagery/video to work correctly one simply places the imagery on the image plane and you can still have the rest of the 3d working perfectly. I wouldn't want to set a president to the OSG community that you have to switch set the eye separation to zero when it's not required. Secondly I'm surprised that you are defaulting to a non full screen window. For stereo work one it's generally best to use a full screen window to avoid any distractions that might diminish the 3D effect so of all places this is where I'd use a full screen as a default. Thoughts? Robert. On 9 November 2011 21:39, Kim Bale <[email protected]> wrote: > Hi Robert, > > I was working with stereo photography a few weeks back and needed a program > to view the stereo pairs. I wrote this very quick app to serve the purpose. > I realise that there is already a stereo image viewer example but this is a > more complete example. It resizes images to fit the screen and doesn't have > the geometrical distortion found in the osgStereoImage example. > > Given that OSG is used so widely for stereo rendering I thought it might be > a useful addition to the OSG source both as an example and a utility. > > Let me know what you think, > > Regards, > > Kim. > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
