Hi Yanling,

There are update,event and cull callbacks, you also have complete
control over the frame loop so you can do what you want being
renderingTraversals() is dispatched.

Robert.

On Thu, Apr 17, 2008 at 7:42 PM, Yanling Liu <[EMAIL PROTECTED]> wrote:
> Hi, just a simple question. Is there any pre-draw-callback function in
> osgViewer available so that I can update my scene at the beginning of each
> frame? Is the setPreDrawCallback in osg::Camera the right place to do scene
> update? What if I have multiple cameras but just want to udpate scene only
> once?
>
> Thanks.
> _______________________________________________
>  osg-users mailing list
>  osg-users@lists.openscenegraph.org
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to