[osg-users] Aircraft getting invisible by AutoCullingSystem
ümit uzun
cush_umit at hotmail.com
Tue May 6 07:58:41 PDT 2008
ÜMİT UZUN
----------------------------------------
> Date: Tue, 6 May 2008 16:13:09 +0200
> From: paul at science.uva.nl
> To: osg-users at lists.openscenegraph.org
> Subject: Re: [osg-users] Aircraft getting invisible by AutoCullingSystem
>
> ü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
Hi Paul,
I didn't check the range after I use "viewer.getCamera()->setComputeNearFarMode( osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR );" command.
How can I do and what will it give me? Actually I don't understand what is for.
Thanks..
>
>>std::cout<<"NearFarMode : "<getComputeNearFarMode()>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 at lists.openscenegraph.org
>>http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_________________________________________________________________
Şimdi aileye katılmanın tam zamanı - Yeni nesil Ücretsiz Windows Live Hizmetlerini şimdi edinin!
http://get.live.com
More information about the osg-users
mailing list