Hello,
When implementing occlusion culling algorithm I may need to change the
rendering order of some nodes nested under a CameraNode.
I want it to be like this:
1)render the nodes nested under the "render to texture" cameranode which is
used to fire the occlusion-query .
2) ai ,update,physics,logic and so on.....
3)cull
4)draw the main graph
I also noticed that this could change the render order ,but only make it draw
before other node not before cull...
occludercamera->setRenderOrder(CameraNode::PRE_RENDER);
Any suggestion will be appreciated.
thanks
thanks
thanks
thanks
thanks
thanks
thanks >_<
wangmiao_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/