Hi Enrico,

Enrico Borrione wrote:
>
> where the accPerspective basically does a:
> 
> glMatrixMode(GL_PROJECTION);
> glLoadIdentity();
> glFrustum(left + dx, right + dx, bottom + dy, top + dy, zNear, zFar);
> 
> My question is:
> is there a way to alter the frustum of the perspective camera i am using
> with the values set in the glFrustum function?

You should be able to get a very similar effect by adding a 
MatrixCameraDecorator to your camera and setting a small translation in the 
preProjection matrix.

Hope it helps

        Dirk

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to