Hi Maxim,

On 15 November 2017 at 20:13, Maxim Stere <[email protected]> wrote:
> My Image is in GL_RGBA format stored as GL_UNSIGNED_BYTE
>
> Given that information, is there a way to decompose the Unsigned Byte I get 
> from Image->data(x,y,0) to R, G, B and A?

Yes there is a way.

That's as much as an answer as I will give as this basic C/OpenGL,
it's something you should be able to work out yourself, I would
encourage you to have a think for yourself what the options might be,
experiment, you'll lean far more thinking about the problem and
finding the solution than have every fine grained issue spoon fed to
you.

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

Reply via email to