I have build a small application modeled after the one in Producer/Test/PBuffer.  The major difference here is that where that example assigns the PBuffer's texure to another camera as in:

camera->getRenderSurface()->setReadDrawable(pBufferCamera->getRenderSurface());

I want direct access to the texture in pBufferCamera's render surface.  Ideally, I would want a pointer to some standard GL_RGB formatted OpenGL image.  I have tried a couple things but I haven't found exactly how to get the texture data from the pBufferCamera.  Any Ideas?



Get amazing travel prices for air and hotel in one click on Yahoo! FareChase
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to