Hi Claus,

You can setup your camera view matrix using :

viewer.getCamera()->setViewMatrix(matrix)
or viewer.getCamera()->setViewMatrixAsLookAt(eye, center, up)

The second one is a good start. For the meaning of the parameters eye,
center and up, ask your friend (google ^^) about gluLookAt.

Hope this helps,
Mourad



On Wed, Apr 28, 2010 at 7:29 PM, Claus Thaler <hgfe...@cs.tu-berlin.de>wrote:

> Hi,
>
> did nobody ever had this kind of problem? You won't tell me, that you all
> use the default TrackballManipulator, don't you? I kindly ask for help - or
> links, topics or threads that help.
>
> kindly,
> Claus
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=27396#27396
>
>
>
>
>
> _______________________________________________
> 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