Hi,

My screen resolution is 1920*1200 and I rendered a texture with the geometry as 
 top_left(0.0,1.2), top_right(1.92, 1.2), bottom_left(0.0, 0.0) and 
bottom_right(1.92, 0.0). Camera is set as,

...
..
camera->setViewPort(0,0, 1920, 1200);
camera->setProjectionMatrix(osg::Matrix::Ortho2D(0,1920,0,1200));
...
..
But I dont understand why the texture is not fitting exactly onto the screen?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=26172#26172





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to