Ummm excellent, Robert, thank you very much. I will make some test and will tell you how well is going.
Regards, Rafa. El Thursday 17 May 2007 21:56:06 Robert Osfield escribió: > Hi Rafael, > > On 5/16/07, Robert Osfield <[EMAIL PROTECTED]> wrote: > > 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. > > I have gone ahead and add support for controlling fusion distance into > osgViewer::View, this means it'll work with both Viewer and > CompositeViewer. > > The osgstereimage example now is more staightforward than it was in > the osgProducer, no grappling around with SceneView, you can set it > straight on the viewer. > > > viewer.setFusionDistance(osgUtil::SceneView::USE_FUSION_DISTANCE_VALUE,radi >us); > > Note, if you attach a CameraManipulator to a View then on each frame > the FusionDistance settings up updated from this, overwriting the > local View's values. This is consistent with the way that how > osgProducer too. This is required to allow manipulators like > TerrainManipulator and TrackballManipulator to scale the fusion > distance auomatically as you zoom in/out. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ -- Rafael J. Martinez Instituto de Robotica Universitat de Valencia Apdo. Correos 2085 Valencia 46071 http://www.uv.es/~rmtnez Tel: (+34) 96 354 3564 Fax: (+34) 96 354 3550 Id. GnuPG: 0xBCFC8F5F _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
