Hi,

I would like to know what is the Cull time in the osg stats (the blue bar) 
means.

I notice it changes together with draw time when I zoom in/out of my scene.

I tried to disable the camera cull by setting NO_CULLING for the camera, but it 
didn't remove the cull time at all. It looks like the Cull time in the stats is 
some sort of culling which is done after the camera cull, probably is the 
CullVisitor.

Is there a way to skip this culling process?
I am trying to improve my app's performance at the moment.
I know I can use DrawThreadPerContext instead of SingleThread. and also reuse 
my StateSet/StateAttribute to improve a bit. But both of them require major 
code change on my app.

And most of time the whole scene should be rendered in my app anyway, so there 
is not much point to do culling, and if it can be disabled, I think it will 
increase my performance a lot.

I also tried setCullingActive(false) to all the nodes in the scene, but it 
doesn't work. (it even increase the event time.)

below is my stats under XP OSG 2.8.1, 2.83GHZ Duo CPU 2G Ram, ATI Radeon HD 
2400XT .

Cull: ~18
Draw: ~36
Stateset: 8100
Group:7320
Transform:1944
Geode:1974
Drawable:2815
Vertices:77303


Thank you!

Cheers,
Jimmy

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16020#16020





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to