theoribeiro: Just set your ortho projection values to your screen size: (0, 
1024, 0, 768) or whatever. Also set your camera viewport:
camera->setViewport(0, 0, 1024, 768).
Now the OSG units correspond to pixels on your screen.

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





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

Reply via email to