[osg-users] Rendering to a texture only

J.P. Delport jpdelport at csir.co.za
Mon Oct 15 23:39:19 PDT 2007


Hi,

wrt question 1:
you could look at Mesa (www.mesa3d.org) and use their OSMesa 
(off-screen) library. It is a software-only (obviously slow compared to 
hardware) OpenGL 2.1 implementation and works well with OSG. This will 
allow you to render to main memory in the PC.

jp

Williams Steven-ASW036 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

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.




More information about the osg-users mailing list