Hello OpenSG developers,

we are in the need to set a principal point in the perspective camera.

This is usually unneccasry for most graphics applications, but
when dealing with real images like for augmentation purposes, it is usually the case that the optical axis of the real camera is
not at the middle of the image.

We were thinking of how it is best to inlcude that in our OpenSG framework. At first we thought of switching to the MatrixCamera, but the better way is probably to add a setPrincipalPoint(px,py) function to the perspective camera. I was really wondering why there isn't such a function yet, but probably nobody doing just graphics is missing that.

We thought of specifying px and py in normalized device coordinates,
such that px,py is in [-1,1], if the optical axis is in the image, where (0,0) is the default (as it is now).

We would like to extend the current OSGPerspectiveCamera by such a function and hope that somebody of the developers is going to evaluate the functionality and includes it in the CVS?

We believe that this functionality may be of interest to other people as well.

Regards,
        Daniel Grest



--
Bigamy is having one wife too many.

Monogamy is the same.

     - Oscar Wilde


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to