summaryrefslogtreecommitdiffstats
path: root/src/net/java/joglutils/msg
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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