Bug 131 - Incorporate texture loading and screen grabbing utilities
Summary: Incorporate texture loading and screen grabbing utilities
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
Depends on:
Reported: 2005-01-18 04:06 CET by Sven Gothel
Modified: 2015-09-27 03:14 CEST (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:47:18 CET

---- Reported by kbr 2005-01-18 16:06:36 ----

The JOGL community has developed several useful utilities including texture
loaders and screen grabbing facilities that should be incorporated into the
source base under the net.java.games.jogl.util package. Pointers to these


---- Additional Comments From kbr 2005-05-06 08:29:38 ----

Another screen grabber which saves images in .TGA format:

---- Additional Comments From kbr 2005-05-16 08:44:30 ----

Subjects of the above threads (for finding them after the forum cutover):

printing frame content?

So you like Textures eh? Texturing Demo in JOGL.

Texure loading example

a fast screenshot function

---- Additional Comments From kbr 2005-09-26 13:34:05 ----

More threads related to texture loading:

Basic Textures In JOGl

One way of using DDS texture files

---- Additional Comments From kbr 2006-01-09 00:38:16 ----

In collaboration with Chris Campbell from the Java2D team at Sun, and with
suggestions from Romain Guy from the Swing team at Sun, a new TextureIO class
and helper classes have been added to the com.sun.opengl.utils package. This
class provides the ability to read textures from multiple file formats and to
write them back to the same formats. Specialized loaders for Targa, SGI and DDS
files have been included; the DDS loader supports texture compression via
GL_EXT_texture_compression_s3tc. The TextureIO class allows the user to separate
the loading of textures from disk from the uploading to OpenGL so that the
textures may be read in a separate background thread with no current OpenGL
context if desired. Two demonstrations of the TextureIO class have been added to
the demos.texture package in the jogl-demos workspace.

A Screenshot utility class has also been added. This contains the fast Targa
screenshot function contributed by Carsten Weisse from Bytonic Software as well
as a routine which takes a screenshot to a BufferedImage and one which saves
that BufferedImage to any ImageIO-supported file format. The Targa screenshot is
the fastest, while the ImageIO-based function is more flexible, supporting
multiple, more common file formats.

--- Bug imported by sgothel@jausoft.com 2010-03-24 07:47 EDT  ---

This bug was previously known as _bug_ 131 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=131