Hi all,

A shader OpenGL context related question now:

suppose I want to pre-compute a few textures.

- I can create the shader programs,
- prepare the textures and attach them to a camera object,
- create a viewer, set its camera
- and ask the camera to render to a frame buffer object.

then what is the best setting so that I DON'T see the viewer window when I
call viewer->frame() ??

if I call viewer->setUpViewInWindow(-1, -1, 1, 1); for instance,  can I
still render my texture properly ? (I guess so if I set the camera viewport
to the correct size, am I wrong ?)

Or maybe there is a way to "hide" the window properly ?

regards,
Manu.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to