> Thanks the images, these were very helpful - having struggled to find a 32bit 
> tiff file.
> I've merged some of your changes and then replaced the copy_row with a 
> memcpy, and also
> improved the 16bit/32bit support for other format types.

If this is of any help...

I created a 32-bit floating-pt RGBA image (poking the floats
into the image) and wrote a TIFF file via osgDB::writeImageFile.

I was able to view it in XnView (it was there, but the colors seemed
darker than what I expected - but I think it's an XnView thing).

I reloaded the image via readImageFile, set it into a texture and
passed it into my shader where it appears to be all there and clean.
I need to do a lot more testing, but it looked good first-pass.

Funny how the timing worked out on this... something I needed just
as it was going into the SVN!  Thanks for the update!

Bill


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to