From ecf045ea61a72bb36e2e44884df6632e60180f30 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Fri, 6 Jan 2006 08:17:20 +0000 Subject: Incorporated TextureIO texture loader (and, eventually, writer) and associated classes for being able to easily read in and display textures with OpenGL. Collaboration with Chris Campbell from the Java2D team. Supports multiple file formats both through ImageIO as well as custom texture loaders for DDS, SGI and TGA files. Writing of textures back to disk is not yet implemented. Reading of mipmaps from files which support it as well as autogeneration of mipmaps are not yet well supported and usage of mipmap arguments in the API still need to be rethought. Added TestTexture demo to jogl-demos workspace to show simple usage. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@159 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 --- src/demos/data/images/test_texture.jpg | Bin 0 -> 17635 bytes src/demos/data/images/test_texture.png | Bin 0 -> 14321 bytes src/demos/data/images/test_texture.rgb | Bin 0 -> 81018 bytes src/demos/data/images/test_texture.tga | Bin 0 -> 196652 bytes src/demos/data/images/test_texture.tiff | Bin 0 -> 27000 bytes src/demos/data/images/test_texture_dxt3.dds | Bin 0 -> 65664 bytes 6 files changed, 0 insertions(+), 0 deletions(-) create mode 100755 src/demos/data/images/test_texture.jpg create mode 100755 src/demos/data/images/test_texture.png create mode 100755 src/demos/data/images/test_texture.rgb create mode 100755 src/demos/data/images/test_texture.tga create mode 100755 src/demos/data/images/test_texture.tiff create mode 100755 src/demos/data/images/test_texture_dxt3.dds (limited to 'src/demos/data/images') diff --git a/src/demos/data/images/test_texture.jpg b/src/demos/data/images/test_texture.jpg new file mode 100755 index 0000000..bf66fbd Binary files /dev/null and b/src/demos/data/images/test_texture.jpg differ diff --git a/src/demos/data/images/test_texture.png b/src/demos/data/images/test_texture.png new file mode 100755 index 0000000..6c5563b Binary files /dev/null and b/src/demos/data/images/test_texture.png differ diff --git a/src/demos/data/images/test_texture.rgb b/src/demos/data/images/test_texture.rgb new file mode 100755 index 0000000..bbe5662 Binary files /dev/null and b/src/demos/data/images/test_texture.rgb differ diff --git a/src/demos/data/images/test_texture.tga b/src/demos/data/images/test_texture.tga new file mode 100755 index 0000000..4bdc10d Binary files /dev/null and b/src/demos/data/images/test_texture.tga differ diff --git a/src/demos/data/images/test_texture.tiff b/src/demos/data/images/test_texture.tiff new file mode 100755 index 0000000..9f3e8d4 Binary files /dev/null and b/src/demos/data/images/test_texture.tiff differ diff --git a/src/demos/data/images/test_texture_dxt3.dds b/src/demos/data/images/test_texture_dxt3.dds new file mode 100755 index 0000000..2ab9b81 Binary files /dev/null and b/src/demos/data/images/test_texture_dxt3.dds differ -- cgit v1.2.3