Thanks Robert-san.

Can you please give some more details to do the same.

or  

some useful links.


--- Robert Osfield <[EMAIL PROTECTED]> wrote:

> Hi Manoj,
> 
> The CullSettings of the SceneView are overriden on
> each frame from the
> settings in osgProducer::Viewer, this means all of
> the camera's will
> inherit the same settings, which normally is good
> thing.   In you case
> you'll need to tell the SceneView of interest not to
> inherit down all
> the parameters. See CullSettings:setInheritanceMask
> 
> Robert.
> 
> On 6/29/06, Manoj Radhakrishnan
> <[EMAIL PROTECTED]> wrote:
> > Dear All,
> >
> > There are 4 cameras in my MFC SDI application.
> > One for main view and another for three additional
> > windows.
> >
> > I use osgProducer::Viewer.
> >
> > and Producer::CameraConfig for cameras.
> >
> > I need to specify clip planes for one camera.
> >
> > As per information from osg-forums I tried like
> > following......
> >
> > osgProducer::OsgSceneHandler* pSceneHandler =
> >        
> dynamic_cast<osgProducer::OsgSceneHandler*>
> > (m_pProducerCamera->getSceneHandler());
> > if (pSceneHandler == NULL)
> > {
> >         LEAVE_CODE_BLOCK;
> > }
> >
> > //m_pProducerCamera->setShareLens(false);
> > //m_pProducerCamera->setShareView(false);
> >
> > // Get scene view
> > osgUtil::SceneView* pSceneView =
> > pSceneHandler->getSceneView();
> > if (pSceneView == NULL)
> > {
> >         LEAVE_CODE_BLOCK;
> > }
> >
> >
>
pSceneView->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
> >
> >
> > Unfortunately it did not work.
> >
> > Please give some tips.
> >
> > With Thanks & Regards,
> >
> > Manoj
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
> >
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to