summaryrefslogtreecommitdiffstats
path: root/src/net/java/joglutils
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Switched JPanelDialog constructor from (String, JPanel) to (JPanel, String)eteq2006-08-311-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@19 83d24430-9974-4f80-8418-2cc3294053b9
* Added getAutoDrawable to GLJFrameeteq2006-08-271-0/+7
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@18 83d24430-9974-4f80-8418-2cc3294053b9
* Javadoc rebuild, minor Light changeseteq2006-08-251-1/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@17 83d24430-9974-4f80-8418-2cc3294053b9
* Test commit.rodgersgb2006-08-236-68/+68
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@16 83d24430-9974-4f80-8418-2cc3294053b9
* Test updaterodgersgb2006-08-231-7/+7
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@15 83d24430-9974-4f80-8418-2cc3294053b9
* cosmetic changes to GLJFrame and re-buildeteq2006-08-222-4/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@14 83d24430-9974-4f80-8418-2cc3294053b9
* small updates to the last set of changes adding phong functionalityeteq2006-08-171-5/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@12 83d24430-9974-4f80-8418-2cc3294053b9
* Added Phong Shader to Light in lighting package (does not yet implement ↵eteq2006-08-171-43/+480
| | | | | | spotlight or actual location lighting) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@11 83d24430-9974-4f80-8418-2cc3294053b9
* fixed some more licensing typoseteq2006-08-0414-28/+28
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@10 83d24430-9974-4f80-8418-2cc3294053b9
* fixed some licensing typoseteq2006-08-0416-41/+41
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@9 83d24430-9974-4f80-8418-2cc3294053b9
* Updated titles on some of the lighting dialogseteq2006-08-023-3/+4
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@7 83d24430-9974-4f80-8418-2cc3294053b9
* updated to latest version of GLJFrame from previous source treeeteq2006-08-011-20/+41
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@6 83d24430-9974-4f80-8418-2cc3294053b9
* added GLJFrame netbeans formeteq2006-08-011-0/+35
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@5 83d24430-9974-4f80-8418-2cc3294053b9
* initial import of 3ds packageseteq2006-08-019-0/+1216
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@4 83d24430-9974-4f80-8418-2cc3294053b9
* initial upload of lighting package and javadocseteq2006-07-279-0/+2648
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@3 83d24430-9974-4f80-8418-2cc3294053b9
* Uploaded basic directory structure and GLJFrame classeteq2006-07-261-0/+531
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@2 83d24430-9974-4f80-8418-2cc3294053b9