Hi, My applicaiton use a quiet large terrain model (about 4000KM*4000KM),and when I viewing some very small flying objects(about 20m*20m) above the terrain ,the object seems been culled.
I know it is the Near and Far Plane issue,so I setComputeNearFarMode(osg::CullSetting::COMPUTE_NEAR_FAR_USING_PRIMITIVES); setNearFarRation(0.0001); It solves the problem,make the small objects visible. However it causes another problem ,I have also loaded some vector GIS models (such as roads,country boundraies) which made by osgGIS. When I COMPUTE NEAR FAR USING PRIMITIVES,the vector models cause me 50% ~60% CPU usage!When I disabled COMPUTE NEAR FAR USING PRIMITIVES,or hiding the vector models ,it only cost me 10%~15% CPU usage.The vector models is only 3.5mb. Is there a better solution to solve this problem? Thank you! Cheers, Lv ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40196#40196 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

