aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Relocate package prefix to org.jogamp.java3dJulien Gouesse2015-11-28449-755/+755
|
* Font3D: use the GeometryService as appropriateCurtis Rueden2015-11-251-28/+15
| | | | | | | | | This avoids a dependency on j3d-core-utils's com.sun.j3d.utils.geometry package. If j3d-core-utils is present on the classpath, it can provide the same backing implementation as before, but the option is now open to provide an alternative service implementation if desired. This addresses hharrison/java3d-core#17.
* Add a service interface for external routinesCurtis Rueden2015-11-251-0/+40
| | | | | | | | In particular, Font3D's triangulateGlyphs routine relies on the classes GeometryInfo and NormalGenerator of package com.sun.j3d.utils.geometry, which lives in the j3d-core-utils project, under a different license. This means that historically, j3d-core and j3d-core-utils were mutually dependent. We avoid the situation by using a service interface instead.
* Font3D: refactor island triangulation logicCurtis Rueden2015-10-061-17/+27
| | | | | This moves the logic into a dedicated private method, which will be subsequently externalized into a service interface.
* Font3D: declare local variables when they are usedCurtis Rueden2015-10-061-2/+2
| | | | This will ease subsequent refactoring.
* Font3D: tweak whitespaceCurtis Rueden2015-10-061-1/+1
|
* Font3D: count points in a separate loopCurtis Rueden2015-10-061-1/+3
| | | | This makes the subsequent logic easier to refactor.
* j3dcore: flatten the directory structure a bitHarvey Harrison2015-04-19448-0/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove an old ant build file in the source treeHarvey Harrison2015-04-191-416/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* build: remove separate generated manifest filesHarvey Harrison2015-04-191-9/+0
| | | | | | Put all the manifest information in the ant build file. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: fix up compile to build with JOGL release 2.3.1Julien Gouesse2015-04-194-32/+32
| | | | | Signed-off-by: Julien Gouesse <[email protected]> Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: fix up compile to build with JOGL release 2.2.0Harvey Harrison2014-08-071-1/+1
| | | | | | setSize became setSurfaceSize. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: avoid lazy enum array creation, do it unconditionallyHarvey Harrison2014-08-061-21/+13
| | | | | | | The static ref was not being initialized properly (needed to be synchronized), just pull it into a staic init block and mark it final. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: cannot lock an object using its own referenceHarvey Harrison2014-08-061-18/+15
| | | | | | | | | | When updating the orientTransforms array reference, you cannot lock the update using the same ref, as the next thread in will lock the new object and concurrently run with the original updater. Pointed out by findbugs. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove an unused fog state variable from Canvas3DHarvey Harrison2014-08-051-6/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some unused imports, mark the caps chooser class as staticHarvey Harrison2014-08-051-3/+1
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add an enum for the capabilities to try and disableHarvey Harrison2014-08-051-53/+43
| | | | | | - remove some trailing whitespace, add missing @Override Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: removed dead codeKavon Farvardin2014-08-051-252/+0
| | | | | Signed-off-by: Kavon Farvardin <[email protected]> Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: initial fix for stereoscopic and double buffering graphics ↵Kavon Farvardin2014-08-051-119/+201
| | | | | | | configurations Signed-off-by: Kavon Farvardin <[email protected]> Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: prepare to refactor the Font3D tesselation code, move variables ↵Harvey Harrison2014-05-031-16/+15
| | | | | | next to use Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: kill use of SUN_global_alphaHarvey Harrison2014-05-0310-128/+4
| | | | | | | Due to a typo testing for the extension, the jogl pipeline has never enabled this extension. Just kill it. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: small style change to do an early return when the appContext does ↵Harvey Harrison2014-05-031-18/+19
| | | | | | not need checking Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: move fixup for null apcontext into the JOGLPipeline implementationSaeid Nourian2014-05-031-0/+36
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: fix typo in updateTexture3DBoundary in JoglPipelineHarvey Harrison2013-12-071-1/+1
| | | | | | GL_TEXTURE_2D should be GL_TEXTURE_3D Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use the context() helper in one more place in JoglPipelineHarvey Harrison2013-11-091-1/+1
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of VirtualUniverse in GeometryRetainedHarvey Harrison2013-09-194-6/+6
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: move map of View to TransparentGeometry sorters into coreHarvey Harrison2013-09-145-4/+100
| | | | | | | Help break one more dependency on the j3dutils code by pulling a simple map into the core classes. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of Behavior node in setLiveStateHarvey Harrison2013-08-033-10/+9
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate childSwitchLinks arraylistHarvey Harrison2013-08-035-33/+26
| | | | | | | - not quite right as this list can hold LinkRetained or SwitchRetained...NodeRetained is the closest common class Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the childTransformLink listsHarvey Harrison2013-08-034-20/+16
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate generic lists in PickInfoHarvey Harrison2013-08-031-30/+28
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: trivial annotation of an Arraylist temp variableHarvey Harrison2013-07-311-2/+2
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the Shape3DRetained viewList that was missedHarvey Harrison2013-07-311-2/+2
| | | | | | This was missed when annotating the setLiveState list of view lists. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the list of mirrorshapes in Shape3DRetainedHarvey Harrison2013-07-312-26/+24
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add all the missing @Override annotationsHarvey Harrison2013-07-31288-0/+1758
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: provide a public interface for AutoOffScreenCanvas3D to allow core ↵Harvey Harrison2013-07-102-1/+23
| | | | | | to build separately from j3dutils Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate targets array in Targets, remove two methods that had ↵Harvey Harrison2013-07-021-21/+5
| | | | | | incorrect types Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of dirty transformgroupsHarvey Harrison2013-07-023-8/+7
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: trivial list annotation in TransformStructureHarvey Harrison2013-07-021-3/+2
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate prioritizedSounds list in SoundSchedulerHarvey Harrison2013-07-021-17/+13
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use Arrays.copyOf instead of clone on an int[]Harvey Harrison2013-07-012-3/+5
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: change to ArrayList in the async error handling codeHarvey Harrison2013-07-011-4/+5
| | | | | | | | This is not a high-rate path, so ArrayList should be fine without too many resizes. Try and make up for it by allocating an array of sufficient size up front to avoid reflection inside the toArray method. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some unused state for locked geometryHarvey Harrison2013-07-012-5/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove unnecessary casts to WakeupCriterionHarvey Harrison2013-07-0112-23/+12
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add type annotations to Enumerations of Nodes under a GroupHarvey Harrison2013-07-012-54/+51
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: declare some local varaibles next to where they are usedHarvey Harrison2013-07-011-29/+19
| | | | | | | The compiler noticed the null check was always true at this point as nothing had written to currTree. Declare it next to its only use making the code more obvious. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the changeViewList in SetLiveStateHarvey Harrison2013-07-014-7/+7
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the changeViewGroup list in SetLiveStateHarvey Harrison2013-07-014-9/+9
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some redundant casts to HashKeyHarvey Harrison2013-07-011-8/+8
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate the scoped nodes list in SetLiveStateHarvey Harrison2013-07-016-36/+28
| | | | Signed-off-by: Harvey Harrison <[email protected]>