On Fri, 2008-07-11 at 11:17 +0000, ka Ming wrote:
> 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
osgWidget has a method:
osgWidget::Widget::getImageColorAtXY()
...that does something like this if you want to see how I did it.
>
> ______________________________________________________________________
> Gesendet von Yahoo! Mail.
> Dem pfiffigeren Posteingang.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org