Hi Per,

2008/2/18 Per Rosengren <[EMAIL PROTECTED]>:
> using viewer.frame() instead of viewer.run() solved it!
>
> How do I remove the default camera manipulator? Do I remove the
> corresponding event handler?

viewer.run() sets up a default trackball manipulator if you haven't
already assigned one, so there isn't a default camera manipulator that
you can remove before calling viewer.run(), you have to just break the
main loop out into a frame loop.

viewer.run() is really just a high level convenience method, as with
all convenience methods it does apply defaults that aren't always
appropriate, if these defaults aren't appropriate you simply don't use
it.

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

Reply via email to