Hi all,

On 8/9/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
>
> Hi Adrian,
>
> On 8/8/07, Adrian Egli <[EMAIL PROTECTED]> wrote:
> > The camera's setComputeNearFarMode doesn't affect the wished behaviour:
> >
> > ****
> > osg::Viewer* m_OSGViewer ....
> >
> >
> m_OSGViewer->getCamera()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
> >
> > does not transfer the information to
> >
> >
> Renderer->_sceneView->getCullVisitor()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR)
> >
> >
> > We can have DO_NOT_COMPUTE_NEAR_FAR set on the master camera, but the
> real
> > renderer still work on the default
> > passed mode. (CullSettings). This is an odd behaviour for the master
> camera
> > (View's)
>
> What should be happening is the master's Camera's CullSettings should
> be inherited down to the slave Camera down to the SceneView.
>
> I'll investigate why this isn't happening.
>
>
Just to say that I have updated this morning and got this problem too.
viewer->getCamera()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
Has no effect. :/

-- 
Serge Lages
http://www.magrathea-engine.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to