Hi Rafael,

On 5/16/07, Rafael Martinez <[EMAIL PROTECTED]> wrote:
When using a CompositeViewer in an stereo application, how fusion distances
can be adjusted ?

Currently osgViewer library doens't updadte the fussion distance, this
is on my TODO list.

is that code applicable to CompositeViewer views ??? If I do not
missunderstood, SceneViews are deprecated.

SceneView's are actually still used in osgViewer to do the actual
setup of the rendering backend, and they will be for a good time to
come.  My intention is for them to be an implementation detail of
osgViewer though, so their usage can be changed without the public
interface being affected.   osgViewer uses SceneView in some novel
ways, such as double buffering them, so the mapping isn't as straight
forward as might expect so hiding this complexity is a good thing.

This does leave the question of how to control features like fusion
distances, this particular features is about computing the eye offsets
when in stereo, since I am planning to move osgViewer's stereo setup
out of SceneView to use multiple cameras instead, we'll have to
eventually compute the eye offsets in osgViewer anyway.  This all
points to having public methods in osgViewer::View, or perhaps even
its base class osg::View to control the stereo.

I haven't yet attempted to add support for fusion distance, so I can't
off the top of my head say what the final API will look like.  I'll
have a think about this tonight.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to