summaryrefslogtreecommitdiffstats
path: root/src/demos/texture
Commit message (Collapse)AuthorAgeFilesLines
* Adapt JOGL API Cleanup: 4b9ad2508ff31a03d3bc4482d812a6cbc0c5c33bSven Gothel2010-12-031-1/+1
|
* Fix/Syn with JOGL 774138544e1eec3330309ad682fa05154a07ab8d ; Notably add: ↵Sven Gothel2010-10-142-6/+14
| | | | Applet's with native NEWT support, ie jogl-newt-applet-runner-gears.html
* Adding GLProfile.initSingleton() call, ensuring [multithreading] ↵Sven Gothel2010-06-102-0/+8
| | | | intitialization can be done in time
* Fixes to match JOGL 2ae28d54858ff684bc2368e0476a7a357dc63432Sven Gothel2010-04-151-1/+1
|
* modifications due to refactorings: com.sun.opengl -> com.jogamp.opengl.Michael Bien2010-03-273-12/+12
|
* Adapted JOGL TextureData API changes (138a5b057e39a4738a2e82f370424a9a21aceea9)Sven Gothel2010-03-262-5/+7
|
* Copied JOGL_2_SANDBOX r350 on to trunk; JOGL_2_SANDBOX branch is now closedKenneth Russel2009-06-153-0/+659
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@352 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Deleted obsolete source code in preparation for copying JOGL_2_SANDBOXKenneth Russel2009-06-153-601/+0
| | | | | | | on to trunk git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@351 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added debugging printlnKenneth Russel2007-10-091-0/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@222 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated copyrightKenneth Russel2006-12-301-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@193 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 257: RFE: Texture.updateSubImage(x,y,w,h) Kenneth Russel2006-12-291-0/+303
| | | | | | | | | | | | | | | | | | | | Changed TextureIO's BufferedImage code paths to no longer copy the data in order to correct for the vertical flip needed between Java 2D's and OpenGL's coordinate systems, but instead to correct for this using a flip of the texture coordinates. This was needed to change the semantics for the BufferedImage from "by-copy" to "by-reference". Made the custom BufferedImage copying code path occur lazily upon a call to TextureData.getBuffer(). Added support for the GL_EXT_abgr extension but disabled the code path currently as it appears there may be bugs in its support on some drivers. Added computation of row width for all BufferedImage types with help and suggestions from Chris Campbell. Improved handling of some BufferedImage types like TYPE_INT_ARGB and TYPE_4BYTE_ABGR. Added Texture.updateSubImage() taking a source rectangle as well as a destination coordinate. Wrote TestSubImage test to show use of the new API which exercises all BufferedImage types. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@192 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed potential problem in TextureConvert demo where it wasn't Kenneth Russel2006-02-011-1/+3
| | | | | | | | | explicitly requesting a single-buffered pbuffer. Exposed gear rendering routine from Gears demo as public static in anticipation of forthcoming tiled rendering demo. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@170 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Renamed com.sun.opengl.utils to com.sun.opengl.util. Moved Kenneth Russel2006-01-132-4/+5
| | | | | | | | | | | TextureIO-related classes to com.sun.opengl.util.texture and TextureProvider, TextureWriter and format-specific readers to com.sun.opengl.util.texture.spi. Renamed BufferUtils to BufferUtil. Added ImageUtil and FileUtil. Cleaned up javadoc. Updated demos. Cleaned up some imports. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@165 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added output support to TGAImage, SGIImage and newly-renamed DDSImage Kenneth Russel2006-01-092-1/+91
| | | | | | | | | | | classes. Added support to TextureIO for writing textures back to disk via new TextureWriter plug-in interface. Added TextureConvert demo which shows how an application might convert between arbitrary file formats using these APIs, including automatic compression to DXT3 format when available. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@164 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Reorganized and added code in TextureIO and Texture classes to support Kenneth Russel2006-01-071-1/+3
| | | | | | | | | | | | cubemap generation as well as complete replacement of the texture's image, not just a sub-image. Added setTexParameteri to provide control over things like the GL_TEXTURE_WRAP_ modes. Ported JOGL demos to use new TextureIO class instead of TGAImage and ImageIO directly. Fixed longstanding bug in ExaminerViewer's setting up of inverse rotation causing errors in loading of uffizi cubemap. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@163 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed mipmap handling in TextureIO and associated classes. Top-level Kenneth Russel2006-01-071-1/+1
| | | | | | | | | | mipmap argument is now a boolean indicating whether mipmaps should be generated or used if available. Added mipmap argument to newTexture APIs. Added support for reading mipmaps from files which support them, in particular DDS files. Updated TestTexture demo to generate mipmaps. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@162 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Changed how Texture returns texture coordinates for both the entire Kenneth Russel2006-01-061-6/+5
| | | | | | | | image as well as a sub-image. Added TextureCoords class. Updated TestTexture demo. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@161 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Incorporated TextureIO texture loader (and, eventually, writer) and Kenneth Russel2006-01-061-0/+203
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