Hi Art -- Thanks, I'd like to take a look at this. I will probably need to support 3D texture data, which means a regular 2D file format will be insufficient.

Paul Martz
Skew Matrix Software LLC
_http://www.skew-matrix.com_ <http://www.skew-matrix.com/>
+1 303 859 9466



Art Tevs wrote:
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

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

Reply via email to