This is ridiculous, I have now read your question. Whenever I hear or
read the word pbuffer together with osg I get a bit frustrated.
Sorry.
If you just need to fill an Image with data you don't need pbuffer or
RenderToTexture at all. There are several examples on how to do that.
For a start you can look at CubeMapGenerator and its specialisations.
If you choose to go the pbuffer route setup your projection matrix as
ortho2D. See osgHUD as an example of how to do this. For cubemaps
pbuffer can specify witch face to render, I don't know if you can do
the same thing with 3D textures. Don't forget to look at the
osgtexture3D example.
Brede
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
Received on Tue Jan 18 01:55:26 2005
This archive was generated by hypermail 2.1.8 : Tue Jan 18 2005 - 01:55:27 PST