osg 细节裁剪 SAMLL_FEATURE_CULLING

当场景中存在一些孤立的点(POINT),默认是被裁减掉的,因为细节裁剪被默认打开。

可以通过以下语句关闭细节裁剪

osg::CullStack::CullingMode cullingMode = viewer.getCamera()->getCullingMode();

cullingMode &= ~(osg::CullStack::SMALL_FEATURE_CULLING);

viewer.getCamera()->setCullingMode(cullingMode);

posted @ 2013-05-14 14:37  酷熊  阅读(806)  评论(0编辑  收藏  举报