Hi,

I have a osg::Texture2D that I'm using as a render to texture target. 
I can see that it is working on the screen, but I need to have access to the 
RGB values of the texture itself so I can also copy them to another API. 

How can I access the RGB values?

After rendering a frame, if I access _image in the texture2D class, it is null, 
but I do see that the Texture of texture2D has an array size of 1. 
How and where are the RGB values stored?

Thank you!

Maxim

------------------------
Thank you,
--Maxim

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72322#72322





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

Reply via email to