Have a look at the osghud and osglauncher examples.
On 9/5/07, Ivan Bolčina <[EMAIL PROTECTED]> wrote: > Hi. > > I have an object that I want to render using orthogonal projection matrix > onto texture. > > How do I set up projection and view so that the object would fit inside an > rectangle in this texture? > > I have already managed to render object to texture, now I want to "size" it > using projection-view. > > This is used for making thumb images of objects. > > Thanks, > Ivan > > _______________________________________________ > 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

