summaryrefslogtreecommitdiffstats
path: root/src/demos/misc
Commit message (Collapse)AuthorAgeFilesLines
* Fixes against JOGL2 revision 1922 - Multi GL Profiles, plus setenv scriptsSven Gothel2009-06-033-7/+8
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@338 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fix GLCapsTableDemoSven Gothel2009-05-301-2/+4
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@337 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Moved remaining portions of fixed function emulation out of core JOGLKenneth Russel2009-03-191-1/+1
| | | | | | | | | | | | | | | | | | public and implementation packages and into com.sun.opengl.util.glsl.fixed.* and other subpackages of com.sun.opengl.util. Renamed javax.media.opengl.sub.GLObject to javax.media.opengl.GLBase. Moved interfaces in javax.media.opengl.sub.fixed to javax.media.opengl.fixedfunc and changed naming convention. Moved all classes in javax.media.opengl.util to com.sun.opengl.util. Moved com.sun.opengl.impl.packrect to com.sun.opengl.util.packrect. Renamed InternalBufferUtils to InternalBufferUtil to match naming convention and copied in needed routines for GLU and other classes. Fixed build breakage when specifying rootrel.build property; reintroduced build-temp directory. Updated demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@324 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated demos after refactoring of OpenGL capability bits back into ↵Kenneth Russel2009-03-193-24/+26
| | | | | | GLCapabilities git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@323 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* NEWT window closing:Sven Gothel2009-03-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New WindowEvent.EVENT_WINDOW_DESTROY_NOTIFY and WindowListener.windowDestroyNotify() method. - Removed windowClosed() method for JNI hook - Added windowDestroyNotify() windowDestroyed(), where windowDestroyNotify() shall be called by the native implementation _before_ the window gets shutdown. The Window.java then sends a WindowEvent.EVENT_WINDOW_DESTROY_NOTIFY event, and either Window.java or it's owner GLWindow.java issues the destroy() procedure. - Added GLEventListener.dispose(GLAutoDrawable), to allow user application to release GL ressources. Issued by GLWindow (-> see windowDestroyNotify()) - X11 impl intercepts WM_DELETE_WINDOW, using Atom, MacosX impl already uses the _before_ method (VERIFY), and Windows impl uses the WM_CLOSE event (VERIFY). JOGL2 dispose/destroy .. - Added GLEventListener.dispose() to GLCanvas and GLJpanel - GL* toString() rearrangement, assumes it is issued by GLContext(), which indeed is the core information node. - Added proper destroy() methods and calls, to achieve a proper resource release at destruction. Instrumentizing almost all classes with a destroy() method, so no release function lookup is necessary. - misc changes .. JOGL2 Demos - Fixed in regards to the above changes git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@321 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Adapt to JOGL nwi package changesSven Gothel2009-03-133-23/+24
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@320 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* - Fixed rootrel.build usage, this works properly through gluegen, jogl-demos ↵Sven Gothel2009-03-052-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and this build. You can say -Drootrel.build=build-x86_64 for example. - Fixed jogl-demos in regard to this changeset - Gluegen - Fixed gluegen BuildComposablePipeline's 'getGL*' methods. Now they return 'this', otherwise the pipeline would be broken/removed. - Add BuildComposablePipeline CustomPipeline, which allows customized class composition with an interface (to be wrapped), prolog class and the downstream class. - Add GlueGen (incl. ant task) 'outputRootDir' to be able to set a top output root dir via ant / commandline. - GL fixed function - Package 'javax.media.opengl.sub.fixed.*' defines some fixed function interfaces. This allows partitioning of custom implementation. - Using gluegen's new CustomPipeline to compose a GLFixedFuncIf implementation, using a GL downstream and a GLFixedFuncHookIf prolog. The latter implements the fixed functionality. Example is the GLFixedFuncImpl. gl.getContext().setGL( new GLFixedFuncImpl(gl, new FixedFuncHook(gl.getGL2ES2())) ) ; or gl.getContext().setGL( new GLFixedFuncImpl(gl, gl.getGL2ES1()) ) ; - The example GLFixedFuncHookIf impl FixedFuncPipeline/ can be instantiated with custom shader code. - ES2 and all other interfaces only contain the original functionality, besides minor convenient data access methods. - Fix: GL2ES2 createCompileShader() and createLoadShader() is moved to ShaderCode util class. - Updated PMVMatrix - Add: GLAutoDrawable.setContext() .. and all it's implementations Necessary to set a new GLContext. - Add: GLContext getAttachedObject(int) and putAttachedObject(int, Object), to allow the user to attach application specific and TLS sensitive objects to the GLContext. - git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@316 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Moved FileUtil and StreamUtil classes back into com.sun.opengl.utilKenneth Russel2008-12-301-2/+2
| | | | | | | | | package. Moved TGAWriter back into com.sun.opengl.util package to prevent creating a new package for a single class. Updated implementation and demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@312 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Refactored AWT dependencies in Animator class differently to allowKenneth Russel2008-12-302-2/+2
| | | | | | | | | | | both Animator and FPSAnimator to pick up AWT behavior when available. Moved Animator and FPSAnimator back to com.sun.opengl.util package as it is unclear whether these classes are useful enough on all platforms and profiles to warrant inclusion in the public specification. Updated demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@311 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Renamed TileRenderer back to JOGL 1.0 naming convention. Updated demos.Kenneth Russel2008-12-301-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@309 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Applied second jogl-demos patch from Michael Bien. Adjusted build.xmlKenneth Russel2008-11-201-10/+20
| | | | | | | | | | to not try to compile jbullet sources, and to merge the ES1 and ES2 targets. To build the full set of demos (including the OpenGL ES demos), run "ant". To build just the OpenGL ES demos, run "ant -Djogl.es=1". git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@290 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Incorporated patch from Michael Bien fixing roughly 80% of compilation errorsKenneth Russel2008-10-303-36/+53
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@287 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* This commit was manufactured by cvs2svn to create branchFirst Last2008-06-251-2/+2
| | | | | | 'JOGL_2_SANDBOX'. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@247 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Attempted fix for NullPointerException pointed out by Michael BienKenneth Russel2008-04-071-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@227 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed package name in Picking demo and added Z values to verify Kenneth Russel2007-03-051-0/+5
| | | | | | | correct Z computation git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@208 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added picking example from Thomas BladhKenneth Russel2006-02-161-0/+265
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@175 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Issue number:gfxadmin2006-02-161-3/+3
| | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Fixing minor build error due to recent GLCapabilities API renaming. Modified Files: src/demos/misc/GLCapsTableDemo.java git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@174 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 199: Incorporate tile rendering library Kenneth Russel2006-02-021-0/+146
| | | | | | | | | | | With the permission of the author, Brian Paul, the Mesa tile rendering library has been incorporated under BSD-compatible licensing terms thanks to porting work by user bleb from the javagaming.org forums. Added demos.misc.TiledRendering demo creating a high-resolution screenshot of the Gears demo. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@171 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Issue number: Various -- I will update themgfxadmin2006-01-311-0/+58
| | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Committing in . Added Files: src/demos/misc/VersionInfo.java This example uses the java.lang.Package API to query the version and implementation information from the jogl.jar manifest. We will be bumping the manifest info for subsequent releases. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@169 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 198: Add GLCapsTableDemo Kenneth Russel2006-01-301-0/+322
Added GLCapsTableDemo by user Ka-El from javagaming.org forums with slight modifications by kbr. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@168 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4