Hi,
You can use a cull callback on nodes, or a cull callback on drawables.
However, you should be careful about modifying the scene graph during
cull or draw as the this could leads to threading problems if you app
ever become multi-threaded. osgProducer::Viewer and the new
osgViewer::Viewer all will multi-thead by default in you have multiple
screens that you are rendering to.
Robert.
On 1/28/07, dasari pavan kumar <[EMAIL PROTECTED]> wrote:
Hi,
I am facing a problem in rendering a particular scene where I am having
fixed bounding box and fixed number of nodes but vertices in each node
changing. I am using osgProducer::Viewer to render the scene. What I want to
do is I want to change the coordinates of only those nodes who passed the
culling phase. Is there any way other than using callbacks to render the
nodes. i.e Update the 'to be rendered' nodes(only which remain after other
nodes are culled from the main group) after Cull and then render the scene.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/