yes

what you do is
trackballmanipulator->setByMatrix(osg::Matrix::inverse(viewer->getCamera()->getViewMatrix()))

Nick

http://www.linkedin.com/in/tnick


2010/1/26 Martin Großer <[email protected]>

> Hello,
>
> when I use the trackball manipulator, then I lose my camera position. The
> problem ist, I would like overlay the camera position (viewmatrix) with the
> trackball manipulator position.
>
> Is it possible?
>
> Cheers
>
> Martin
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to