summaryrefslogtreecommitdiffstats
path: root/src/net/java/joglutils
Commit message (Collapse)AuthorAgeFilesLines
* Initial checkin of the TextRenderer3D class. This class rkwright2008-06-211-0/+624
| | | | | | | | | | | | | provides a true 3D rendering of a text string. Methods are available to draw text, set the extrusion depth as well as compile to a display list rather than draw immediately. Also checked in a simple demo (TestRenderer3D) of the use of the draw() method. As simple as it can be. Also checked in a more complex exampled that demonstrates the compile/call methods and uses animation to bounce a large number of text objects (as display lists) around the screen. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@101 83d24430-9974-4f80-8418-2cc3294053b9
* Updated the render method to correctly handle the lighting. There was a line ↵rodgersgb2008-05-071-5/+4
| | | | | | of code that turned on lighting when it should not have. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@100 83d24430-9974-4f80-8418-2cc3294053b9
* Updated the compiled jar. This file has only the model classes in it.rodgersgb2008-05-071-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@99 83d24430-9974-4f80-8418-2cc3294053b9
* Removing file to update it.rodgersgb2008-05-071-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@98 83d24430-9974-4f80-8418-2cc3294053b9
* Moved remotelyrodgersgb2008-04-301-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@97 83d24430-9974-4f80-8418-2cc3294053b9
* Added a file remotelyrodgersgb2008-04-301-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@96 83d24430-9974-4f80-8418-2cc3294053b9
* Removed file/folderrodgersgb2008-04-301-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@95 83d24430-9974-4f80-8418-2cc3294053b9
* Added a file remotelyrodgersgb2008-04-291-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@94 83d24430-9974-4f80-8418-2cc3294053b9
* Added a file remotelyrodgersgb2008-04-291-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@93 83d24430-9974-4f80-8418-2cc3294053b9
* Added a folder remotelyrodgersgb2008-04-2922-0/+7998
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@92 83d24430-9974-4f80-8418-2cc3294053b9
* Added a folder remotelyrodgersgb2008-04-2946-0/+56
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@91 83d24430-9974-4f80-8418-2cc3294053b9
* Added a folder remotelyrodgersgb2008-04-292-0/+1003
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@89 83d24430-9974-4f80-8418-2cc3294053b9
* Added a folder remotelyrodgersgb2008-04-297-0/+603
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@88 83d24430-9974-4f80-8418-2cc3294053b9
* Added a folder remotelyrodgersgb2008-04-295-0/+1520
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@87 83d24430-9974-4f80-8418-2cc3294053b9
* Added a file remotelyrodgersgb2008-04-291-0/+109
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@86 83d24430-9974-4f80-8418-2cc3294053b9
* Added a file remotelyrodgersgb2008-04-291-0/+25
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@85 83d24430-9974-4f80-8418-2cc3294053b9
* Added a file remotelyrodgersgb2008-04-291-0/+38
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@84 83d24430-9974-4f80-8418-2cc3294053b9
* Added a file remotelyrodgersgb2008-04-291-0/+21
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@83 83d24430-9974-4f80-8418-2cc3294053b9
* Removed redundant addition of canvasKenneth Russel2008-04-171-1/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@75 83d24430-9974-4f80-8418-2cc3294053b9
* Added GLResetAction, used for clearing out the state of nodesKenneth Russel2007-07-223-0/+130
| | | | | | | | | referring to server-side objects when the underlying OpenGL context has been destroyed and implicitly so have these objects. Added support for the GLResetAction to the Texture2 and ShaderNode nodes. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@72 83d24430-9974-4f80-8418-2cc3294053b9
* Added in more state disabling in GLRenderAction prologue for betterKenneth Russel2007-05-072-1/+5
| | | | | | | | correctness, though this is not needed right now. Fixed bug in Vec4f.toString(). git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@71 83d24430-9974-4f80-8418-2cc3294053b9
* Provided fallback code paths if OpenGL 1.3 (glLoadTransposeMatrixf,Kenneth Russel2007-04-244-5/+35
| | | | | | | glMultTransposeMatrixf) is not available git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@68 83d24430-9974-4f80-8418-2cc3294053b9
* Bug fixes to addition and removal operations in Vec[234]fCollectionsKenneth Russel2007-04-213-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@67 83d24430-9974-4f80-8418-2cc3294053b9
* Fixed bug in computation of orthographic projection matrix where itKenneth Russel2007-04-105-5/+63
| | | | | | | | | | | | | was not taking into account the Z offset of the near/far planes. Fixed bug in Camera's unprojection routine where it needed to specify the negation of the near distance for the initial Z coordinate. Added getWidth() and getHeight() to Texture2 node. Added convenience method getPickedPoint() to RayPickAction. Added check to Camera to avoid recomputing the projection matrix if the aspect ratio was set to the same value as the last time. Made Group node Iterable. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@65 83d24430-9974-4f80-8418-2cc3294053b9
* Added setUniformMatrices*() methods to Shader. Fleshed out setUniform*() ↵Christopher Campbell2007-04-093-20/+625
| | | | | | methods in ShaderNode. The setUniform*() methods can be called from any thread; they store the parameters so that the next time getShader() is called from the GL thread, the parameters will be passed down to OpenGL. These two classes should be pretty close to "feature complete" now. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@64 83d24430-9974-4f80-8418-2cc3294053b9
* Added OrthographicCamera class and factored out computation of startKenneth Russel2007-04-083-4/+125
| | | | | | | | | point for ray picking into abstract Camera.getRayStartPoint(). Tested by temporarily modifying DisplayShelf demo to use an orthographic camera -- appears to be working. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@63 83d24430-9974-4f80-8418-2cc3294053b9
* Hacked in support for setUniform() in ShaderNode. When I say hack, I mean ↵Christopher Campbell2007-04-042-0/+23
| | | | | | it. Will clean it up later. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@58 83d24430-9974-4f80-8418-2cc3294053b9
* Added new DepthTest node class, with support from [GL]DepthTestElement. ↵Christopher Campbell2007-04-043-0/+249
| | | | | | This provides an easy mechanism for disabling depth testing for a portion of the scene graph (useful when rendering alpha blended elements). Thanks to Ken Russell for suggesting this idea. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@57 83d24430-9974-4f80-8418-2cc3294053b9
* minor error-checking changeseteq2007-04-031-2/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@56 83d24430-9974-4f80-8418-2cc3294053b9
* Checked in code from Chris Campbell for abstracting shader support andKenneth Russel2007-04-034-0/+814
| | | | | | | adding it to MSG -- thanks very much. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@55 83d24430-9974-4f80-8418-2cc3294053b9
* Added PerspectiveCamera.getWidthAngle(). Removed commented-out codeKenneth Russel2007-04-013-3/+24
| | | | | | | from Camera. Added error checking code to Group. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@54 83d24430-9974-4f80-8418-2cc3294053b9
* Added msg.jar target. Added dispose() method to Texture2. Fixed smallKenneth Russel2007-03-312-2/+13
| | | | | | | | bug just introduced in DisplayShelf causing half the images to be skipped. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@53 83d24430-9974-4f80-8418-2cc3294053b9
* Second refactoring: put Fetcher mechanism and initial support forKenneth Russel2007-03-316-50/+498
| | | | | | | | ListModel in place; tested with BasicFetcher; moving work over to other workspace for the time being, will bring back changes later git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@52 83d24430-9974-4f80-8418-2cc3294053b9
* First refactoring: separated DisplayShelf and DisplayShelfRenderer;Kenneth Russel2007-03-302-571/+646
| | | | | | | | | fixed context issues to allow GLJPanel to properly render display shelf (Slider temporarily removed; functionality will re-appear in later refactoring) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@51 83d24430-9974-4f80-8418-2cc3294053b9
* Added single image mode and optional transitions in and out of it.Kenneth Russel2007-03-291-31/+128
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@50 83d24430-9974-4f80-8418-2cc3294053b9
* Added support for using TextureRenderer in conjunction with Texture2Kenneth Russel2007-03-283-42/+294
| | | | | | | | | | | | node and updating sub-images of Texture2 nodes, as well as switching between the two modes. Added animated clock texture to DisplayShelf demo shown before images are loaded. Added computation of camera distance from titles and offset of selected title to DisplayShelf. Added parameters for controlling distance between stacked and selected titles. Redid camera and title positioning code. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@49 83d24430-9974-4f80-8418-2cc3294053b9
* Made TextureElement refer to the Texture2 node rather than the TextureKenneth Russel2007-03-274-34/+41
| | | | | | | it contains git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@48 83d24430-9974-4f80-8418-2cc3294053b9
* Added ray picking functionality via RayPickAction. Added unprojectionKenneth Russel2007-03-2422-56/+1162
| | | | | | | | | | | | | | | functionality to Camera class. Added Shape and TriangleBasedShape as superclasses in the node hierarchy. Added TriangleCallback mechanism for iterating vertices of triangles and PrimitiveVertex to represent all data associated with a given vertex. Made Actions keep track of the path through the scene graph they are currently on. Added RayTriangleIntersection based on paper from Journal of Graphics Tools. Augmented DisplayShelf demo with click-selection of movie titles and reduced priority of background loading thread to avoid rendering hiccups. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@47 83d24430-9974-4f80-8418-2cc3294053b9
* Added file missed in last checkinKenneth Russel2007-03-191-0/+141
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@46 83d24430-9974-4f80-8418-2cc3294053b9
* Added extensible action method mechanism via ActionTable, decouplingKenneth Russel2007-03-1823-164/+305
| | | | | | | | | Action implementations from the set of Nodes in the library. Refactored OpenGL rendering into node instances to potentially share more code among different Action subclasses. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@45 83d24430-9974-4f80-8418-2cc3294053b9
* Initial checkin of the Minimal Scene Graph (MSG) library, intentendedKenneth Russel2007-03-1871-0/+8392
| | | | | | | for experimentation with both 3D and 2D/3D interaction. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@44 83d24430-9974-4f80-8418-2cc3294053b9
* Re-vamped internals of FontDrawer class, improved FontDrawerDemo, and ↵eteq2007-02-071-50/+170
| | | | | | changed FontDrawer to use an enum for specifying normal calculations git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@43 83d24430-9974-4f80-8418-2cc3294053b9
* moved demos out of joglutils packageeteq2007-01-182-339/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@35 83d24430-9974-4f80-8418-2cc3294053b9
* reorganized build, made some webstart changeseteq2007-01-182-14/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@33 83d24430-9974-4f80-8418-2cc3294053b9
* Moved demos to demo package, Cleaned up some copyright headerseteq2007-01-127-219/+418
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@29 83d24430-9974-4f80-8418-2cc3294053b9
* Initial implementation of javatext package. Normals not yet correct, and no ↵eteq2006-12-215-94/+447
| | | | | | texture implementation yet. Use FontDrawer main method for testing. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@26 83d24430-9974-4f80-8418-2cc3294053b9
* Renamed DrawTTF to FontDrawereteq2006-12-211-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@25 83d24430-9974-4f80-8418-2cc3294053b9
* Added jogltext package and added main method to GLJFrame for ↵eteq2006-12-152-0/+189
| | | | | | testing/experimental purposes git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@24 83d24430-9974-4f80-8418-2cc3294053b9
* testrodgersgb2006-10-051-20/+20
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@23 83d24430-9974-4f80-8418-2cc3294053b9
* testrodgersgb2006-10-051-0/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@22 83d24430-9974-4f80-8418-2cc3294053b9