Hi Paul, I am not sure how about PNGs or other formats, but in such cases I am using my own format, which I call FRGBA. I have written an osg plugin in order to handle files in this format. It just supports simple gzip compression. It also supports 3D textures and mipmapping. Also almost every kind of data types (floats, integers, unsigned, normalized, and every this type again in 8,16,32 bits whenever this makes sense). Very usefull format for my scientific applications, because it is lossless and can store any kind of float data I need.
If you want to have it, I can post its code with Makefiles here. However, I have never tested if the plugin will also work under windows, because it depends on ZLIB library. So it uses gzopen, gzread, gzclose instead of fopen, fread, fclose in order to read from the file. Cheers, art Paul Martz wrote: > Hi all -- Does anyone know which, if any, OSG image file plugins will > support single-precision floating point per RGB component? My image data > is 32-bit float per R, G, and B. If the OSG plugin clamps that to 8-bit > per component during export, or even import, that will not be > acceptable. And it has to be non-lossy, so JPG/DDS are not candidates. > > I think the PNG format supports this, but wanted to check to see if > anyone knows for sure that the OSG PNG plugin supports it. > > Thanks. > -- > Paul Martz > Skew Matrix Software LLC > _http://www.skew-matrix.com_ <http://www.skew-matrix.com/> > +1 303 859 9466 > > _______________________________________________ > osg-users mailing list > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ------------------ > Post generated by Mail2Forum ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=18226#18226 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

