Hi Evan,
Hi,
I've been using osg::Image::setImage to display gray scale bitmaps (x-rays)
successfully. Recently I received some image data which looks correct but
shows up twisted in OSG (see attachment: Twisted.bmp). I've verified that the
pixel data is correct by dumping a .bmp file (see attachment: Correct.bmp).
It would be probably best if you could show the actual code where you
assign the data. Most likely you're messing the format up.
Cheers
Sebastian
I am wondering, why would this method works fine for most gray scale bitmaps
but not for others? Are there certain settings that could have caused such a
problem?
Thank you!
Cheers,
Evan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70239#70239
Attachments:
http://forum.openscenegraph.org//files/correct_145.bmp
http://forum.openscenegraph.org//files/twisted_262.bmp
_______________________________________________
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