Hi everyone,

I am pretty new to OSG, and have been trying to create an application that uses 
OSG for Augmented Reality. I am using OSG 2.8.1.

In order for the augmented reality to be rendered properly, I need to set up 
the OSG camera with parameters for the human eye (the application uses an 
optical see through screen to display the augmented information, the 
background/reality is observed through the display).

I am setting the position and orientation as the view matrix, this seems to 
work fine.

What I am having some trouble with is setting up the projection matrix. As far 
as I know, this is where I have to include the internal parameters of the 
camera being modeled. 

For a simple set up this includes the focal distances (along the axes of the 
image plane) and the center of the image plane, and is described by the matrix:

fx   0    cx
0    fy   cy
0    0    1


If anyone could help me out here, it would be greatly appreciated.

Thank you,

Yashodhan


-- 
Yashodhan Nevatia
Systems Engineer

Space Applications Services
Leuvensesteenweg 325
B-1932 Zaventem
Belgium
Tel:  +32 (0)2-721.54.84
Fax:  +32 (0)2-721.54.44
URL: www.spaceapplications.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to