[osg-users] get a Texel from an osg::Image

ka Ming ming_ka at yahoo.de
Fri Jul 11 04:17:02 PDT 2008


Hi,
is there any possibility to get, for example the rgb value, out of an osg::Image.
data() returns only an unsigned char*
I need or I want an vec3 or with alpha value a vec4 as retrun value.
Is there any solution.
ming



      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080711/7a16157e/attachment-0002.htm>


More information about the osg-users mailing list