Hi,

we'd like to implement our own camera manipulator class in order to have
more control of the projection matrix.

What we want to implement is e.g. a zooming function in othografic
projection.
This can only be done by adjusting the FOV of the ortho frustum.

Also, we would like to implement a "Grab" panning, where a object maintains
under the cursor, while panning the scene (as known from several 2D
programs). Here again, the projection matrix has to be known inside the
camera manipulator in order to sync mouse movements with the appropriate
movements in world coordinates.

What we don't know, how to implement this correctly, since the projection
matrix is updated somewhere automatically by the values of the Manipulator
(position, look-at, up-direction ...)

Do you have some advice?

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

Reply via email to