Hi all,
Just a few word to conclude this issue : I had to swap the BGR to RGB
colors by myselt, the following code was not enougth to make it :
I would naively expect that either
_image->setImage(width, height, 1, GL_RGB,
GL_RGB, GL_UNSIGNED_BYTE, data, osg::Image::NO_DELETE);
or
_image->setImage(width, height, 1, GL_RGB,
GL_BGR, GL_UNSIGNED_BYTE, data, osg::Image::NO_DELETE);
Regards,
Vincent.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org