Hi,
Code:
double fovy, aspectRatio, zNear, zFar;
_camera->getProjectionMatrix().getPerspective(fovy,
aspectRatio, zNear, zFar);
double aspect = (double)scrw / (double)scrh;
_camera->getProjectionMatrix().makePerspective(45,
aspect, zNear, zFar);
Thank you!
Cheers,
Johny
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71447#71447
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org