[osg-users] Get RGB Values from Texture

Maxim Stere osgforum at tevs.eu
Wed Nov 15 07:52:08 PST 2017


Thanks that helped me out a lot, but now I have an additional question:

How is the RGB actually stored in the image?

>From my Image I can now get the Raw Data, but what does it represent and how is it stored?

Image->data(x,y,0)?   what does it return? How do I get the individual R, G and B values?

Thank you!
--Maxim

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

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







More information about the osg-users mailing list