ümit uzun wrote:
Hi Robert,
Firstly you are welcome to mail list :) I have an question about culling problem. I have an
aircraft and earth model. Their size is "aircraft = 0e-07 " and "earth =
2e+07". When I add the aircraft node to the coordinateSystemNode which all nodes tied to it,
aircraft get invisible. I think automatic culling system is culling the aircraft from the scene. I
have try to add ;
viewer.getCamera()->setComputeNearFarMode(
osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR );
If you turn off automatic clipping range calculation you will have to
specify a suitable range yourself. Did you check the range you use?
Paul
std::cout<<"NearFarMode : "<getComputeNearFarMode()<getCullingMode();
cullingMode &= ~ ( osg::CullStack::SMALL_FEATURE_CULLING );
viewer.getCamera()->setCullingMode( cullingMode );
then result is same. Why my little aircraft culling from scene? How can I fix
this problem?
Thanks so much...
ÜMİT UZUN
_________________________________________________________________
Gelen kutunuzda hiç yer kalmamasından bıktınız mı? Windows Live Hotmail şimdi
size 5GB ÜCRETSİZ depolama alanı sunuyor! Ücretsiz Windows Live Hotmail
hesabınızı buradan alın!
http://get.live.com/mail/overview
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org