On 8/22/07, Paul Martz <[EMAIL PROTECTED]> wrote:
> > The fourth way is to attach a custom update callback to the camera.
>
> Good point. Because events are processed before the update traversal, this
> allows the app to override any camera manipulators.
My favoured curstom way is still just to set it in the main loop and
not register a camera manipulator i.e.
Viewer viewer;
viewer.setSceneData(readNodeFile("cow.osg"));
viewer.realize();
while(!viewer.done())
{
viewer.getCamera()->setViewMarix(myViewMatrix);
viewer.frame();
}
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org