Ok, let me make a small update,

I was able to get osg-3.2 to load the example image using the code in
attach.
I can't be precise in what worked, but I guess updating libpng helped.

Now it output:
0 0 0 0
0 0 0 1
0 128 128 2
64 128 191 4
64 128 191 8
64 128 191 16
64 128 191 32
64 128 191 64
64 128 191 128
64 128 192 255

Which is still not the desired result, but it is different from the old
result
0 0 0 0
0 0 0 1
0 127 127 2
63 127 191 4
63 127 191 8
63 127 191 16
63 127 191 32
63 127 191 64
63 127 191 128
64 128 192 255

Weird, weird. I guess I'll have to separate channels into several images as
a workaround - at least for now.

tschüss
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to