[osg-users] Culling time is extremely long

2012-02-28 Thread Suyang Dong
Hi, I use compositeViewer, (osg 2.8.1) and each view contains no more than small amount of vertices. However the culling time, showed by the Statshelper, can be more than 30. The tricky thing is it is inconsistent between runs. Sometimes the culling time is 5 ~ 6. Then after I rerun the

Re: [osg-users] Culling time is extremely long

2012-02-28 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
] Culling time is extremely long Hi, I use compositeViewer, (osg 2.8.1) and each view contains no more than small amount of vertices. However the culling time, showed by the Statshelper, can be more than 30. The tricky thing is it is inconsistent between runs. Sometimes the culling time is 5 ~ 6

Re: [osg-users] Culling time is extremely long

2012-02-28 Thread Sergey Polischuk
Hi Culling time is more about amount of nodes\drawables in scene and how they organized into graph, and less about vertices itself. You can try to run your model through osg optimizer with SPATIALIZE_GROUPS option. Also check if you use any cull callbacks with heavy running time. And if you