HI Benny,

On 12/6/06, benny porat <[EMAIL PROTECTED]> wrote:
I made my own event handler, and I add it to the SimpleViewerQT(from the
example) and I return "true" in the handke function, but the manipulator
keed working.
 so I try to remove the line that add him. to work without manipulator just
my event handler,l and sudnly the scene is empty?
 way that?
 there is a way to disable the manipulator? or just dont add him, and the
scene to work?

If you don't add a camera manipulator then you'll need to set the
viewer's camera yourself via a :

 viewer.getCamera->setViewMatrix(matrix);

See include/osg/Camera/CameraNode for the options available for
setting the view matrix.  Also have a look at osgsimple as this does
the above setViewMatrix.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to