post your code. someone might help you -Nick
On Fri, Mar 26, 2010 at 8:11 AM, Akilan Thangamani < [email protected]> wrote: > 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 >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

