On 7/6/06, Brad Colbert <[EMAIL PROTECTED]> wrote:
You could render the texture with a polygon using an osg::Camera with an
image target. This would allow you to access the contents of the image
uncompressed.
Just a thought ;)
It'd would require a round trip to the graphics card so would be
appropriate for real-time usage.
It occured to me that perhaps you could just detect whether a clump of
four pixels repreates an alpah value of zero or not, this way you
wouldn't need to decode all the pixels to their full RGBA.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/