summaryrefslogtreecommitdiffstats
path: root/src/demos
Commit message (Collapse)AuthorAgeFilesLines
* Fix generic no awt test caseSven Gothel2009-09-251-0/+1
|
* Add SWT exampleSven Gothel2009-09-241-0/+141
|
* Add tests ..Sven Gothel2009-09-141-1/+1
|
* Fixes and tested JOGLNewtApplet1Run/JOGLNewtAppletBaseSven Gothel2009-09-145-21/+41
|
* NEWT Applet work ..Sven Gothel2009-09-144-34/+337
|
* GLNewtRun: Added window/parent position/size testingSven Gothel2009-09-121-0/+31
|
* Test (demos.GLNewtRun) NEWT: Native window parenting (X11: OK); AWTWindow ↵Sven Gothel2009-09-123-2/+203
| | | | external Frame OK
* Fix for NEWT Changes: GLWindow: remove ambigous create functions, ie with ↵Sven Gothel2009-09-1210-12/+33
| | | | Window and Capabilities arguments
* add JOGL_ALL_NOAWT configSven Gothel2009-09-111-0/+1
|
* GLInfo: Add nice OpenGL 3.[012] informationSven Gothel2009-08-051-5/+61
|
* RedSquare: '-debug' option enables Debug/Trace using new GLPipelineFactorySven Gothel2009-08-022-11/+42
|
* Fix windows start scripts (CVM/J2SE)Sven Gothel2009-07-312-4/+17
|
* RedSquare: Param '-vsync' -> '-swapi <integer>' ; Show getSwapInterval()sg2158892009-07-302-9/+20
|
* RedSquare: Add '-vsync' param; Use proper default GL2ES[12] profile.sg2158892009-07-302-5/+18
|
* Add CDC/CVM support ..sg2158892009-07-131-0/+33
|
* Improved interaction in ExaminerViewer to match Maya's cameraKenneth Russel2009-06-196-12/+12
| | | | | | | | | 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
* Fix pumpMessages() in NEWT demosSven Gothel2009-06-183-10/+11
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@355 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* RedSquare: single thread / one-pump testSven Gothel2009-06-172-49/+156
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@354 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* quit: 'q' + button-1 double click; fullscreen: 'f' + button-2 clickSven Gothel2009-06-162-4/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@353 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Copied JOGL_2_SANDBOX r350 on to trunk; JOGL_2_SANDBOX branch is now closedKenneth Russel2009-06-15219-0/+95884
| | | | 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-15181-89971/+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
* Fixes; Auto GL profile selectionSven Gothel2008-06-251-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@246 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* JOGL2 GLES1 NEWT X11 - RedSquare - workingSven Gothel2008-06-253-20/+28
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@245 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* added fps 2 stdout, changed reshape ..Sven Gothel2008-06-022-9/+32
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@244 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added CubeFBO demoKenneth Russel2008-06-028-0/+1322
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@243 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Made rotation speed independent of frame rate. Removed sleep.Kenneth Russel2008-06-011-8/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@242 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* wipSven Gothel2008-06-012-10/+31
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@241 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* wip ..Sven Gothel2008-06-012-0/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@240 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Adapted to latest JOGL refactoring ..Sven Gothel2008-06-012-12/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@239 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* 16 bit RGB: 5 6 5Sven Gothel2008-05-302-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@238 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* adapted EGLDrawable.destroy()Sven Gothel2008-05-302-4/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@237 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* adapted es1 demos to the new and proper 'newt' handling.Sven Gothel2008-05-302-8/+60
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@236 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Adapted to changes in Window.create(int visualID)Sven Gothel2008-05-302-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@235 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Incorporated Sven's Java port of the San Angeles demo, modified to use Kenneth Russel2008-05-304-0/+1031
| | | | | | | 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
* Added animation to have a visible effect. Added clean termination Kenneth Russel2008-05-301-3/+13
| | | | | | | | 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
* Switched to using glClearColorx as glClearColor doesn't seem to exist Kenneth Russel2008-05-301-1/+4
| | | | | | | 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
* Worked around several subtle differences between desktop OpenGL and Kenneth Russel2008-05-291-32/+21
| | | | | | | | | | 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
* Rewrote to use minimal window abstraction for EGL. Not working yet.Kenneth Russel2008-05-291-94/+46
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@230 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Moved ES1 and ES2 demos into new packages in preparation for Kenneth Russel2008-05-293-3/+3
| | | | | | | 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
* OpenGL ES 1 and ES 2 demos, not built by default; Kenneth Russel2008-05-133-0/+501
| | | | | | | | 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
* 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
* Added flush() call to render loop needed for new TextRenderer. Added Kenneth Russel2007-11-031-1/+5
| | | | | | | 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
* Integration of Tomas Hrasky's port of basic GLU NURBS functionality Kenneth Russel2007-10-0930-0/+7869
| | | | | | | | | | | | | | | | | | | 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 src/classes/com/sun/opengl/impl/nurbs/README.txt. 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
* 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
* Integrated John Burkey's new TextRenderer implementation using Kenneth Russel2007-10-092-0/+19
| | | | | | | | | | | | | | | | | | | | | 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
* Added comments based on some from Jason MooreKenneth Russel2007-09-091-0/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@220 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 296: TextureIO cube map support brokenKenneth Russel2007-04-214-5/+2
| | | | | | | | | | | | | 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
* Added a markDirty() method to TextureRenderer and removed the sync() Kenneth Russel2007-03-272-4/+4
| | | | | | | | | | | 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
* 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 RenderDelegate mechanism to TextRenderer to provide more control Kenneth Russel2007-02-111-0/+409
| | | | | | | | 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