9 years agoAdd cpu flag to fix broken CVM os.arch (here on linux) JOGL_CDCCVM_sgothel jausoft/JOGL_CDCCVM_sgothel jogamp/JOGL_CDCCVM_sgothel mbien/JOGL_CDCCVM_sgothel origin/JOGL_CDCCVM_sgothel
sg215889 [Wed, 15 Jul 2009 14:17:49 +0000 (07:17 -0700)]
Add cpu flag to fix broken CVM os.arch (here on linux)

9 years agoAdd CDC/CVM support ..
sg215889 [Mon, 13 Jul 2009 09:12:16 +0000 (02:12 -0700)]
Add CDC/CVM support ..

9 years agofix ..
Sven Gothel [Sat, 4 Jul 2009 12:12:05 +0000 (12:12 +0000)]
fix ..

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@372 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agofix ..
Sven Gothel [Sat, 4 Jul 2009 11:57:36 +0000 (11:57 +0000)]
fix ..

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@371 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agofix ..
Sven Gothel [Sat, 4 Jul 2009 11:48:19 +0000 (11:48 +0000)]
fix ..

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@370 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agofix ..
Sven Gothel [Sat, 4 Jul 2009 11:26:38 +0000 (11:26 +0000)]
fix ..

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@369 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoAdding boiler-plate JNLP files
Sven Gothel [Fri, 3 Jul 2009 23:37:40 +0000 (23:37 +0000)]
Adding boiler-plate JNLP files

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@368 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix JNLP applet
Sven Gothel [Fri, 3 Jul 2009 22:04:39 +0000 (22:04 +0000)]
Fix JNLP applet

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@367 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix JNLP applet
Sven Gothel [Fri, 3 Jul 2009 21:34:02 +0000 (21:34 +0000)]
Fix JNLP applet

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@366 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix JNLP applet
Sven Gothel [Fri, 3 Jul 2009 21:30:27 +0000 (21:30 +0000)]
Fix JNLP applet

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@365 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix JNLP applet
Sven Gothel [Fri, 3 Jul 2009 21:28:02 +0000 (21:28 +0000)]
Fix JNLP applet

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@364 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix JNLP applet
Sven Gothel [Fri, 3 Jul 2009 19:15:43 +0000 (19:15 +0000)]
Fix JNLP applet

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@363 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix JNLP applet
Sven Gothel [Fri, 3 Jul 2009 16:24:46 +0000 (16:24 +0000)]
Fix JNLP applet

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@362 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix JNLP applet
Sven Gothel [Fri, 3 Jul 2009 16:11:12 +0000 (16:11 +0000)]
Fix JNLP applet

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@361 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix for JOGL2
Sven Gothel [Fri, 3 Jul 2009 01:51:22 +0000 (01:51 +0000)]
Fix for JOGL2

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@360 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix bat files
Sven Gothel [Wed, 1 Jul 2009 08:04:14 +0000 (08:04 +0000)]
Fix bat files

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@359 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoSync with jogl r2009 ; Unified, which works from the autobuild directo...
Sven Gothel [Wed, 1 Jul 2009 07:34:59 +0000 (07:34 +0000)]
Sync with jogl r2009 ; Unified, which works from the autobuild directory as well ; Unified java*.sh scripts

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@358 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoImproved interaction in ExaminerViewer to match Maya's camera
Kenneth Russel [Fri, 19 Jun 2009 20:35:04 +0000 (20:35 +0000)]
Improved interaction in ExaminerViewer to match Maya's camera
controls. Added optional up vector. Simplified logic by using
MouseEvent.getModifiersEx(). MouseButtonHelper is no longer necessary
and has been removed. Updated demos.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@357 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoChanged demo links to point directly to jsr-231-1.x-webstart-current
Kenneth Russel [Fri, 19 Jun 2009 01:16:07 +0000 (01:16 +0000)]
Changed demo links to point directly to jsr-231-1.x-webstart-current

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@356 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoFix pumpMessages() in NEWT demos
Sven Gothel [Thu, 18 Jun 2009 00:16:14 +0000 (00:16 +0000)]
Fix pumpMessages() in NEWT demos

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@355 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoRedSquare: single thread / one-pump test
Sven Gothel [Wed, 17 Jun 2009 13:32:55 +0000 (13:32 +0000)]
RedSquare: single thread / one-pump test

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@354 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoquit: 'q' + button-1 double click; fullscreen: 'f' + button-2 click
Sven Gothel [Tue, 16 Jun 2009 07:40:21 +0000 (07:40 +0000)]
quit: 'q' + button-1 double click; fullscreen: 'f' + button-2 click

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@353 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoCopied JOGL_2_SANDBOX r350 on to trunk; JOGL_2_SANDBOX branch is now closed
Kenneth Russel [Mon, 15 Jun 2009 23:12:27 +0000 (23:12 +0000)]
Copied JOGL_2_SANDBOX r350 on to trunk; JOGL_2_SANDBOX branch is now closed

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@352 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoDeleted obsolete source code in preparation for copying JOGL_2_SANDBOX
Kenneth Russel [Mon, 15 Jun 2009 23:05:16 +0000 (23:05 +0000)]
Deleted obsolete source code in preparation for copying JOGL_2_SANDBOX
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

9 years agoMade applettest-next.html and applettest-joal-next.html point at fully
Kenneth Russel [Fri, 15 May 2009 23:39:21 +0000 (23:39 +0000)]
Made applettest-next.html and applettest-joal-next.html point at fully
cloned "next" jars and JNLP extensions

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@333 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoCommitted through web interface.
root [Mon, 9 Mar 2009 05:37:49 +0000 (05:37 +0000)]
Committed through web interface.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@319 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoauto commit for alm editor.
root [Mon, 9 Mar 2009 05:37:45 +0000 (05:37 +0000)]
auto commit for alm editor.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@318 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

9 years agoauto commit for alm editor.
root [Mon, 9 Mar 2009 05:37:38 +0000 (05:37 +0000)]
auto commit for alm editor.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@317 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agorollback JOGL2 changes
Sven Gothel [Thu, 26 Jun 2008 01:28:21 +0000 (01:28 +0000)]
rollback JOGL2 changes

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@248 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoFixes; Auto GL profile selection
Sven Gothel [Wed, 25 Jun 2008 11:24:00 +0000 (11:24 +0000)]
Fixes; Auto GL profile selection

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@246 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoJOGL2 GLES1 NEWT X11 - RedSquare - working
Sven Gothel [Wed, 25 Jun 2008 09:40:13 +0000 (09:40 +0000)]
JOGL2 GLES1 NEWT X11 - RedSquare - working

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@245 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoadded fps 2 stdout, changed reshape ..
Sven Gothel [Mon, 2 Jun 2008 08:22:14 +0000 (08:22 +0000)]
added fps 2 stdout, changed reshape ..

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@244 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAdded CubeFBO demo
Kenneth Russel [Mon, 2 Jun 2008 07:39:16 +0000 (07:39 +0000)]
Added CubeFBO demo

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@243 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoMade rotation speed independent of frame rate. Removed sleep.
Kenneth Russel [Sun, 1 Jun 2008 10:47:02 +0000 (10:47 +0000)]
Made rotation speed independent of frame rate. Removed sleep.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@242 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agowip
Sven Gothel [Sun, 1 Jun 2008 10:43:49 +0000 (10:43 +0000)]

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@241 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agowip ..
Sven Gothel [Sun, 1 Jun 2008 10:34:11 +0000 (10:34 +0000)]
wip ..

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@240 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAdapted to latest JOGL refactoring ..
Sven Gothel [Sun, 1 Jun 2008 08:51:51 +0000 (08:51 +0000)]
Adapted to latest JOGL refactoring ..

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@239 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years ago16 bit RGB: 5 6 5
Sven Gothel [Fri, 30 May 2008 14:42:21 +0000 (14:42 +0000)]
16 bit RGB: 5 6 5

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@238 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoadapted EGLDrawable.destroy()
Sven Gothel [Fri, 30 May 2008 14:38:32 +0000 (14:38 +0000)]
adapted EGLDrawable.destroy()

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@237 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoadapted es1 demos to the new and proper 'newt' handling.
Sven Gothel [Fri, 30 May 2008 13:40:34 +0000 (13:40 +0000)]
adapted es1 demos to the new and proper 'newt' handling.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@236 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAdapted to changes in Window.create(int visualID)
Sven Gothel [Fri, 30 May 2008 09:04:32 +0000 (09:04 +0000)]
Adapted to changes in Window.create(int visualID)

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@235 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoIncorporated Sven's Java port of the San Angeles demo, modified to use
Kenneth Russel [Fri, 30 May 2008 08:46:49 +0000 (08:46 +0000)]
Incorporated Sven's Java port of the San Angeles demo, modified to use
the new EGL-compatible minimal window toolkit

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@234 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAdded animation to have a visible effect. Added clean termination
Kenneth Russel [Fri, 30 May 2008 08:43:05 +0000 (08:43 +0000)]
Added animation to have a visible effect. Added clean termination
sequence. Changed back to using glClearColor as the reported lack of
this method was apparently caused by a JIT bug.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@233 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoSwitched to using glClearColorx as glClearColor doesn't seem to exist
Kenneth Russel [Fri, 30 May 2008 07:24:43 +0000 (07:24 +0000)]
Switched to using glClearColorx as glClearColor doesn't seem to exist
on the Sony X1. Added debugging printout of available extensions.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@232 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoWorked around several subtle differences between desktop OpenGL and
Kenneth Russel [Thu, 29 May 2008 12:30:36 +0000 (12:30 +0000)]
Worked around several subtle differences between desktop OpenGL and
OpenGL ES 1, including apparent semantics around the window size when
the context is created, and the fact that glColorPointer seems to only
accept four-component colors. With the associated bug fixes to the
jogl workspace, this demo is now working.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@231 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoRewrote to use minimal window abstraction for EGL. Not working yet.
Kenneth Russel [Thu, 29 May 2008 09:38:02 +0000 (09:38 +0000)]
Rewrote to use minimal window abstraction for EGL. Not working yet.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@230 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoMoved ES1 and ES2 demos into new packages in preparation for
Kenneth Russel [Thu, 29 May 2008 05:52:58 +0000 (05:52 +0000)]
Moved ES1 and ES2 demos into new packages in preparation for
conversion to platform-independent APIs

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@229 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoOpenGL ES 1 and ES 2 demos, not built by default;
Kenneth Russel [Tue, 13 May 2008 11:21:23 +0000 (11:21 +0000)]
OpenGL ES 1 and ES 2 demos, not built by default;
build.xml changes to conditionally build these demos via
ant -Djogl.es1=1 or ant -Djogl.es2=1

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@228 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAttempted fix for NullPointerException pointed out by Michael Bien
Kenneth Russel [Mon, 7 Apr 2008 09:10:03 +0000 (09:10 +0000)]
Attempted fix for NullPointerException pointed out by Michael Bien

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@227 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAdded flush() call to render loop needed for new TextRenderer. Added
Kenneth Russel [Sat, 3 Nov 2007 01:23:27 +0000 (01:23 +0000)]
Added flush() call to render loop needed for new TextRenderer. Added
implementation of new RenderDelegate.getBounds(GlyphVector, FontRenderContext).

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@226 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAdded JNLP for NASA World Wind Java pointing to the jars on NASA's
Kenneth Russel [Fri, 19 Oct 2007 20:07:03 +0000 (20:07 +0000)]
Added JNLP for NASA World Wind Java pointing to the jars on NASA's

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@225 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAdded World Wind Java to list of demos tested with each release
Kenneth Russel [Thu, 11 Oct 2007 00:00:48 +0000 (00:00 +0000)]
Added World Wind Java to list of demos tested with each release

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@224 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoIntegration of Tomas Hrasky's port of basic GLU NURBS functionality
Kenneth Russel [Tue, 9 Oct 2007 07:38:25 +0000 (07:38 +0000)]
Integration of Tomas Hrasky's port of basic GLU NURBS functionality
from C++ to Java, plus example applications, done as part of his
Bachelor of Science degree at the University of Hradec Králové,
Faculty of Informatics and Management.

Current state of code is documented in

Example applications require Java 1.5 and are not currently built by
default. Specify -Djogl.nurbs=1 during jogl-demos build with a 1.5
javac on the PATH to build them. Dependent jars are copied to build
output directory.

Deleted old partially-complete GLU NURBS port.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@223 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAdded debugging println
Kenneth Russel [Tue, 9 Oct 2007 05:04:58 +0000 (05:04 +0000)]
Added debugging println

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@222 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoIntegrated John Burkey's new TextRenderer implementation using
Kenneth Russel [Tue, 9 Oct 2007 05:04:40 +0000 (05:04 +0000)]
Integrated John Burkey's new TextRenderer implementation using
glyph-by-glyph caching for most cases, with fallbacks to
String-by-String caching for complete Unicode correctness. New
implementation yields drastic performance improvements for
applications displaying large amounts of dynamic text. Upgraded JOGL
demos to work with new TextRenderer.

This checkin fixes at least the following issues:

Issue 261: Throttle shrinking of backing store texture for TextRenderer
Issue 293: TextRenderer: width of strings with spaces not correct in RC4
Issue 294: TextRenderer: rendering stops when a string is wider than the maximum texture size
Issue 304: TextRenderer rendering artifacts in 3D mode

as well as outstanding performance issues with the current
TextRenderer reported on the JOGL forum.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@221 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

10 years agoAdded comments based on some from Jason Moore
Kenneth Russel [Sun, 9 Sep 2007 23:22:37 +0000 (23:22 +0000)]
Added comments based on some from Jason Moore

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@220 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded usage of codebase_lookup=false
Kenneth Russel [Thu, 5 Jul 2007 16:07:53 +0000 (16:07 +0000)]
Added usage of codebase_lookup=false

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@219 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoUpdated applet tests to use JNLPAppletLauncher
Kenneth Russel [Wed, 4 Jul 2007 21:13:13 +0000 (21:13 +0000)]
Updated applet tests to use JNLPAppletLauncher

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@218 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded noddraw.check to applettest-next.html
Kenneth Russel [Wed, 4 Jul 2007 19:29:31 +0000 (19:29 +0000)]
Added noddraw.check to applettest-next.html

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@217 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoUpdated applettest-joal-next to use same absolute URLs as applettext-next
Kenneth Russel [Wed, 4 Jul 2007 00:43:50 +0000 (00:43 +0000)]
Updated applettest-joal-next to use same absolute URLs as applettext-next

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@216 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoFurther simplification
Kenneth Russel [Tue, 3 Jul 2007 23:33:55 +0000 (23:33 +0000)]
Further simplification

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@215 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoTest to see if we can use absolute URLs in archive tag
Kenneth Russel [Tue, 3 Jul 2007 23:32:12 +0000 (23:32 +0000)]
Test to see if we can use absolute URLs in archive tag

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@214 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoChanged applettest-joal-next.html to use JNLPAppletLauncher
Kenneth Russel [Thu, 28 Jun 2007 22:58:57 +0000 (22:58 +0000)]
Changed applettest-joal-next.html to use JNLPAppletLauncher

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@213 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoChanged applettest-next.html to use JNLPAppletLauncher
Kenneth Russel [Thu, 28 Jun 2007 21:45:31 +0000 (21:45 +0000)]
Changed applettest-next.html to use JNLPAppletLauncher

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@212 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoFixed Issue 296: TextureIO cube map support broken
Kenneth Russel [Sat, 21 Apr 2007 02:12:03 +0000 (02:12 +0000)]
Fixed Issue 296: TextureIO cube map support broken

Fixed code paths supporting cube maps. As a positive side-effect, the
VertexProgRefract demo's cube map is now rendered completely
correctly; inversion of the positive and negative Y images, and the
negative Y scale factor on the texture matrix, are no longer needed,
and the seams around the top image are gone. Fixed code relating to
automatic mipmap generation in the presence of only
GL_ARB_texture_rectangle and not GL_ARB_texture_non_power_of_two.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@211 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded a markDirty() method to TextureRenderer and removed the sync()
Kenneth Russel [Tue, 27 Mar 2007 05:38:51 +0000 (05:38 +0000)]
Added a markDirty() method to TextureRenderer and removed the sync()
method. markDirty() may be called at an arbitrary point (in
particular, when no OpenGL context is current) and the union of the
dirty regions is automatically synced with the underlying texture
during the next getTexture() operation, at which point the dirty
region is cleared. Adjusted Overlay and TextRenderer classes.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@210 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoUpdated link to Pepijn van Eeckhoudt's Nehe JOGL ports
Kenneth Russel [Mon, 12 Mar 2007 15:54:44 +0000 (15:54 +0000)]
Updated link to Pepijn van Eeckhoudt's Nehe JOGL ports

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@209 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoFixed package name in Picking demo and added Z values to verify
Kenneth Russel [Mon, 5 Mar 2007 22:47:20 +0000 (22:47 +0000)]
Fixed package name in Picking demo and added Z values to verify
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

11 years agoAdded CustomText demo
Kenneth Russel [Thu, 15 Feb 2007 00:02:55 +0000 (00:02 +0000)]
Added CustomText demo

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@207 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded RenderDelegate mechanism to TextRenderer to provide more control
Kenneth Russel [Sun, 11 Feb 2007 05:16:39 +0000 (05:16 +0000)]
Added RenderDelegate mechanism to TextRenderer to provide more control
where desired over the rendered text bitmap. Added CustomText demo to
demonstrate its usage.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@206 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded link to Chris Campbell's new Java 2D and JOGL blog entry
Kenneth Russel [Tue, 23 Jan 2007 23:41:05 +0000 (23:41 +0000)]
Added link to Chris Campbell's new Java 2D and JOGL blog entry

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@205 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded TestTextRenderer, FlyingText, TextFlow, and TextCube demos
Kenneth Russel [Tue, 23 Jan 2007 23:11:08 +0000 (23:11 +0000)]
Added TestTextRenderer, FlyingText, TextFlow, and TextCube demos

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@204 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded TestTextRenderer, FlyingText, TextFlow, and TextCube demos to
Kenneth Russel [Mon, 22 Jan 2007 20:04:30 +0000 (20:04 +0000)]
Added TestTextRenderer, FlyingText, TextFlow, and TextCube demos to
test page

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@203 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoMade default size of demo window larger
Kenneth Russel [Sun, 21 Jan 2007 07:36:17 +0000 (07:36 +0000)]
Made default size of demo window larger

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@202 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded 3D rendering methods to TextureRenderer and TextRenderer on
Kenneth Russel [Sat, 20 Jan 2007 19:33:48 +0000 (19:33 +0000)]
Added 3D rendering methods to TextureRenderer and TextRenderer on
request of several people on forums. Refactored
existing 2D rendering support in these classes in terms of the new 3D
methods. Wrote new TextCube demo illustrating how to render 2D text in
3D using the TextRenderer. Factored out FPS counter rendering into new
FPSCounter utility class and updated TestTextRenderer and FlyingText

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@201 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoRobustness improvements to TextRenderer and underlying RectanglePacker.
Kenneth Russel [Sat, 13 Jan 2007 22:21:13 +0000 (22:21 +0000)]
Robustness improvements to TextRenderer and underlying RectanglePacker.
Added ability to specify a maximum size to which the RectanglePacker
can expand. Added preExpand method to BackingStoreManager to support
early eviction of unused entries instead of always expanding the
backing store, and additionFailed method used when the backing store
can not expand further. Added more robust free list coalescing to
Level. Added support for shrinking of backing store and for eager
compaction when there is a lot of vertical dead space. Added TextFlow
demo which shows how to do dynamic layout of text and which acts as a
stress test for the TextRenderer.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@200 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded new FlyingText demo to illustrate more advanced usage of the
Kenneth Russel [Sun, 7 Jan 2007 01:40:20 +0000 (01:40 +0000)]
Added new FlyingText demo to illustrate more advanced usage of the
TextRenderer class; displays dynamically rotated, translated and
colored text. Changed how setSmoothing() is handled by the
TextureRenderer and stopped disabling smoothing in the TextRenderer.
For the time being, not exposing this flag in that class to keep the
API simple. Changed TextRenderer to also push/pop the texture matrix.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@199 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoWith help from Chris Campbell, fixed incredibly stupid bug on my part
Kenneth Russel [Sat, 6 Jan 2007 00:43:17 +0000 (00:43 +0000)]
With help from Chris Campbell, fixed incredibly stupid bug on my part
where the new Java 2D TextureRenderer was destroying and re-creating
the OpenGL texture every frame. This was why the Java 2D Overlay class
was so expensive, and why the TextRenderer wasn't as fast as it seemed
it should be. Fixed bugs in all of the Java 2D demos which were
covered up by this implicit sync, as well as in the TextRenderer class
itself where it was missing a key sync operation. Added code to the
Texture.updateSubImage() implementation to clip the incoming rectangle
to the bounds of the input data and texture, to keep OpenGL from
dropping almost-valid updates on the floor. Ran all of the Java 2D
integration demos to verify these fixes.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@198 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoRemoved debugging code
Kenneth Russel [Thu, 4 Jan 2007 07:23:02 +0000 (07:23 +0000)]
Removed debugging code

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@197 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoWith extensive help from Phil Race and Chris Campbell from the Java 2D
Kenneth Russel [Thu, 4 Jan 2007 07:20:30 +0000 (07:20 +0000)]
With extensive help from Phil Race and Chris Campbell from the Java 2D
team, added a TextRenderer class which enables high-performance
rendering of bitmapped Java 2D fonts, with full Unicode support, into
arbitrary OpenGL drawables using a simple API. Builds on top of the
TextureRenderer class and its associated functionality; added
createAlphaOnlyRenderer() and other methods to enable the TextRenderer.
Caches rendering results on a string-by-string basis in an OpenGL
texture using a fully automatic least-recently-used algorithm for good
efficiency when rendering the same string or strings multiple times.
Uses a rectangle packing algorithm, currently housed in
com.sun.opengl.impl.packrect, for managing the positions of cached
strings on a larger OpenGL texture to avoid OpenGL pipeline state
changes. Added a TestTextRenderer demo which simply adds a moving text
string and frames-per-second counter to the Gears demo; more
sophisticated examples to come. (Some commented-out debugging code is
being temporarily left in the new demo, to be removed in the next
checkin, in order to have it in the version history.)

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@196 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoMoved J2DTextureRenderer and J2DOverlay into their own sub-package and
Kenneth Russel [Thu, 4 Jan 2007 05:38:43 +0000 (05:38 +0000)]
Moved J2DTextureRenderer and J2DOverlay into their own sub-package and
dropped the prefixes on the suggestion of Chris Campbell. No other
changes to these classes. Added com.sun.opengl.util.j2d to the javadoc
generation. Updated demos.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@195 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoOn request from James Gosling and others, added a J2DTextureRenderer
Kenneth Russel [Sat, 30 Dec 2006 21:11:03 +0000 (21:11 +0000)]
On request from James Gosling and others, added a J2DTextureRenderer
class to com.sun.opengl.util to make it easier to render into OpenGL
textures using Java 2D. Added convenience methods to this class to
make it easy to draw sub-rectangles of the resulting texture to the
screen. Added a J2DOverlay class which acts like a Java 2D-based
heads-up display for an arbitrary GLDrawable, tracking its size and
making it easier to render the entire contents of the HUD. There
appear to be performance issues with the J2DOverlay class as the
window gets large, at least on older hardware, as it allocates very
large OpenGL textures internally. Added tests for both the
J2DTextureRenderer and J2DOverlay classes which have similar
functionality but different implementation approaches and different
performance characteristics.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@194 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoUpdated copyright
Kenneth Russel [Sat, 30 Dec 2006 21:10:22 +0000 (21:10 +0000)]
Updated copyright

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@193 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoFixed Issue 257: RFE: Texture.updateSubImage(x,y,w,h)
Kenneth Russel [Fri, 29 Dec 2006 16:52:29 +0000 (16:52 +0000)]
Fixed Issue 257: RFE: Texture.updateSubImage(x,y,w,h)

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

11 years agoAdded JOGL / JOAL applet test and revised documentation for JOGL
Kenneth Russel [Fri, 22 Dec 2006 22:47:40 +0000 (22:47 +0000)]
Added JOGL / JOAL applet test and revised documentation for JOGL
applet test slightly

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@191 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoUpdated JOGL applet test and documentation for new factoring of
Kenneth Russel [Fri, 22 Dec 2006 22:35:44 +0000 (22:35 +0000)]
Updated JOGL applet test and documentation for new factoring of
gluegen-rt classes into a separate jar

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@190 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoInclude lib directory in source bundles
Kenneth Russel [Fri, 22 Dec 2006 03:00:45 +0000 (03:00 +0000)]
Include lib directory in source bundles

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@189 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoUpdated joal-demos.jar for bug-fixed SingleStaticSource (not really
Kenneth Russel [Fri, 22 Dec 2006 02:59:08 +0000 (02:59 +0000)]
Updated joal-demos.jar for bug-fixed SingleStaticSource (not really
used, but just in case somebody tries to use it)

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@188 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded JOGL/JOAL applet test
Kenneth Russel [Thu, 21 Dec 2006 19:52:20 +0000 (19:52 +0000)]
Added JOGL/JOAL applet test

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@187 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded applettest-joal-next containing mixed JOGL/JOAL applet
Kenneth Russel [Wed, 20 Dec 2006 02:06:48 +0000 (02:06 +0000)]
Added applettest-joal-next containing mixed JOGL/JOAL applet

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@186 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoFixed applettest-next to include gluegen-rt.jar in required jars
Kenneth Russel [Wed, 20 Dec 2006 01:10:02 +0000 (01:10 +0000)]
Fixed applettest-next to include gluegen-rt.jar in required jars

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@185 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoTest page for "next" version of JOGL -- not functional yet
Kenneth Russel [Tue, 19 Dec 2006 03:08:47 +0000 (03:08 +0000)]
Test page for "next" version of JOGL -- not functional yet

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@184 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoFixed Issue 213: Expose GLCaps from GLDrawable
Kenneth Russel [Sun, 19 Nov 2006 20:51:57 +0000 (20:51 +0000)]
Fixed Issue 213: Expose GLCaps from GLDrawable

Added getChosenGLCapabilities() to the GLDrawable interface.
Implemented on Windows, Unix and Mac OS X platforms with various
techniques. Attempts to provide correct answers in all cases, even
when the GLCapabilitiesChooser mechanism is not supported. Required
addition of new platform-specific Java code in most cases to either
re-convert existing PIXELFORMATDESCRIPTORS / XVisualInfos, or to query
the pixel format or visual chosen for drawables like pbuffers for
which the chooser mechanism is not (yet) implemented. Tested on
Windows, Solaris/x86, and Mac OS X with on-screen, off-screen and
pbuffer drawables. (Full support for the Java2D/JOGL bridge is not yet
in place; the answer returned from the GLJPanel in this case is
currently the default GLCapabilities, and it is likely that "external"
GLDrawables will return null.)

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@183 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

11 years agoAdded link to Chris Campbell's blog entry on 2D/3D mixing
Kenneth Russel [Mon, 16 Oct 2006 17:46:10 +0000 (17:46 +0000)]
Added link to Chris Campbell's blog entry on 2D/3D mixing

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@182 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

12 years agoPlaced Particle Engine demo on jogl-demos web page
Kenneth Russel [Thu, 1 Jun 2006 18:54:24 +0000 (18:54 +0000)]
Placed Particle Engine demo on jogl-demos web page

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@181 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

12 years agoTurned down max FPS to 60 to avoid swamping CPU and locking out
Kenneth Russel [Mon, 29 May 2006 13:15:11 +0000 (13:15 +0000)]
Turned down max FPS to 60 to avoid swamping CPU and locking out
WToolkit thread in particular when Java2D OpenGL pipeline and
Java2D/JOGL bridge are activated

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@180 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

12 years agoMinor adjustments to HTML for demos
Kenneth Russel [Sun, 28 May 2006 17:12:55 +0000 (17:12 +0000)]
Minor adjustments to HTML for demos

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@179 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

12 years agoIncorporated Particle Engine demo contributed by Ben Chappell. Added
Kenneth Russel [Sun, 28 May 2006 12:02:56 +0000 (12:02 +0000)]
Incorporated Particle Engine demo contributed by Ben Chappell. Added
description and launch link to jogl-demos web page, currently
commented out in HTML until JSR-231 beta 5 is released.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@178 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

12 years agoAdded links to JOGL ports of OpenGL Red Book examples and NeHe
Kenneth Russel [Fri, 31 Mar 2006 02:14:40 +0000 (02:14 +0000)]
Added links to JOGL ports of OpenGL Red Book examples and NeHe
examples, and to Killer Game Programming including chapters on JOGL

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@177 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4

12 years agoUpdated package name for JOGLAppletLauncher for JSR-231 beta 3
Kenneth Russel [Fri, 17 Feb 2006 02:55:28 +0000 (02:55 +0000)]
Updated package name for JOGLAppletLauncher for JSR-231 beta 3

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@176 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4 git info: FAQ, tutorial and man pages.