Hi all!

I used to set
    camera->setProjectionMatrix(osg::Matrix::ortho2D(0.0f,1.0f,0.0f,1.0f));
when creating RTT-Cameras.

In my SSAO-Module I need to retrieve the projection matrix but
    if (cam->getProjectionMatrixAsOrtho(left,right,bottom,top,zNear,zFar)) ...
seems to return true but the values retrieved look strange.

So two questions:
1) Do I have to assign osg::Matrix::ortho insted to RTT-Cameras? What is the 
difference?
2) Can I retrieve correct values when ortho2D is used?

Many thanks for any assistance.

- Werner -
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to