[osg-users] Rendering to a texture only

Robert Osfield robert.osfield at gmail.com
Tue Oct 16 01:53:18 PDT 2007

Hi Steve,

You can create a Pbuffer graphics context and then render to this,
complete off screen.  The osgconv example has some code in it where
it'll create a pbuffer just to do off screen work.


On 10/15/07, Williams Steven-ASW036 <Steve.Williams at motorola.com> wrote:
> I'd like to render to a texture only, not to the screen. The computer (PC or
> unix) may not have a graphics card. Is this possible with OSG, or even
> OpenGL in general?
> - If so, how do I render once my scene and texture camera is setup, assuming
> I cannot use viewer's setSceneData/realize/frame calls?
> - If not, and I plug a graphics card in, can I render to multiple textures
> at the same time, one per user thread? i.e. is the library thread safe?
> thanks for the help
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list