Jogamp
java3d/java3d-core.git
3 years agoj3dcore: update version to 1.6.0-pre10 master 1.6.0-pre10
Harvey Harrison [Sat, 3 May 2014 16:14:44 +0000 (09:14 -0700)]
j3dcore: update version to 1.6.0-pre10

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

3 years agoj3dcore: prepare to refactor the Font3D tesselation code, move variables next to use
Harvey Harrison [Fri, 7 Mar 2014 22:07:43 +0000 (14:07 -0800)]
j3dcore: prepare to refactor the Font3D tesselation code, move variables next to use

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

3 years agoj3dcore: kill use of SUN_global_alpha
Harvey Harrison [Sat, 11 Jan 2014 08:41:12 +0000 (00:41 -0800)]
j3dcore: kill use of SUN_global_alpha

Due to a typo testing for the extension, the jogl pipeline has never enabled this
extension.  Just kill it.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

3 years agoj3dcore: small style change to do an early return when the appContext does not need...
Harvey Harrison [Sat, 3 May 2014 16:01:19 +0000 (09:01 -0700)]
j3dcore: small style change to do an early return when the appContext does not need checking

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

3 years agoj3dcore: move fixup for null apcontext into the JOGLPipeline implementation
Saeid Nourian [Sat, 3 May 2014 15:56:58 +0000 (08:56 -0700)]
j3dcore: move fixup for null apcontext into the JOGLPipeline implementation

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

3 years agoj3dcore: update version to 1.6.0-pre9 1.6.0-pre9
Harvey Harrison [Sat, 7 Dec 2013 15:18:26 +0000 (07:18 -0800)]
j3dcore: update version to 1.6.0-pre9

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

3 years agoj3dcore: fix typo in updateTexture3DBoundary in JoglPipeline
Harvey Harrison [Sat, 7 Dec 2013 15:15:46 +0000 (07:15 -0800)]
j3dcore: fix typo in updateTexture3DBoundary in JoglPipeline

GL_TEXTURE_2D should be GL_TEXTURE_3D

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

3 years agoj3dcore: use the context() helper in one more place in JoglPipeline
Harvey Harrison [Sat, 9 Nov 2013 20:23:32 +0000 (12:23 -0800)]
j3dcore: use the context() helper in one more place in JoglPipeline

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate list of VirtualUniverse in GeometryRetained
Harvey Harrison [Fri, 20 Sep 2013 06:42:16 +0000 (23:42 -0700)]
j3dcore: annotate list of VirtualUniverse in GeometryRetained

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: move map of View to TransparentGeometry sorters into core
Harvey Harrison [Sun, 15 Sep 2013 06:41:45 +0000 (23:41 -0700)]
j3dcore: move map of View to TransparentGeometry sorters into core

Help break one more dependency on the j3dutils code by pulling a simple map
into the core classes.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate list of Behavior node in setLiveState
Harvey Harrison [Sun, 4 Aug 2013 04:48:25 +0000 (21:48 -0700)]
j3dcore: annotate list of Behavior node in setLiveState

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate childSwitchLinks arraylist
Harvey Harrison [Sun, 4 Aug 2013 04:41:11 +0000 (21:41 -0700)]
j3dcore: annotate childSwitchLinks arraylist

- not quite right as this list can hold LinkRetained or SwitchRetained...NodeRetained
is the closest common class

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate the childTransformLink lists
Harvey Harrison [Sat, 3 Aug 2013 22:46:33 +0000 (15:46 -0700)]
j3dcore: annotate the childTransformLink lists

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate generic lists in PickInfo
Harvey Harrison [Sat, 3 Aug 2013 19:02:47 +0000 (12:02 -0700)]
j3dcore: annotate generic lists in PickInfo

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: trivial annotation of an Arraylist temp variable
Harvey Harrison [Wed, 31 Jul 2013 18:30:52 +0000 (11:30 -0700)]
j3dcore: trivial annotation of an Arraylist temp variable

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate the Shape3DRetained viewList that was missed
Harvey Harrison [Wed, 31 Jul 2013 18:21:06 +0000 (11:21 -0700)]
j3dcore: annotate the Shape3DRetained viewList that was missed

This was missed when annotating the setLiveState list of view lists.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate the list of mirrorshapes in Shape3DRetained
Harvey Harrison [Wed, 31 Jul 2013 18:14:26 +0000 (11:14 -0700)]
j3dcore: annotate the list of mirrorshapes in Shape3DRetained

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: add all the missing @Override annotations
Harvey Harrison [Wed, 31 Jul 2013 17:57:33 +0000 (10:57 -0700)]
j3dcore: add all the missing @Override annotations

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: update version to 1.6.0-pre8
Harvey Harrison [Tue, 30 Jul 2013 06:54:21 +0000 (23:54 -0700)]
j3dcore: update version to 1.6.0-pre8

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: update build.xml to build against jogl release 2.0.2
Harvey Harrison [Tue, 30 Jul 2013 06:48:39 +0000 (23:48 -0700)]
j3dcore: update build.xml to build against jogl release 2.0.2

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: move old build file to build-old.xml
Harvey Harrison [Tue, 23 Jul 2013 01:57:16 +0000 (18:57 -0700)]
j3dcore: move old build file to build-old.xml

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: provide a public interface for AutoOffScreenCanvas3D to allow core to build...
Harvey Harrison [Thu, 11 Jul 2013 06:50:42 +0000 (23:50 -0700)]
j3dcore: provide a public interface for AutoOffScreenCanvas3D to allow core to build separately from j3dutils

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate targets array in Targets, remove two methods that had incorrect...
Harvey Harrison [Wed, 3 Jul 2013 04:41:57 +0000 (21:41 -0700)]
j3dcore: annotate targets array in Targets, remove two methods that had incorrect types

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate list of dirty transformgroups
Harvey Harrison [Wed, 3 Jul 2013 04:31:33 +0000 (21:31 -0700)]
j3dcore: annotate list of dirty transformgroups

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: trivial list annotation in TransformStructure
Harvey Harrison [Wed, 3 Jul 2013 04:24:10 +0000 (21:24 -0700)]
j3dcore: trivial list annotation in TransformStructure

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate prioritizedSounds list in SoundScheduler
Harvey Harrison [Wed, 3 Jul 2013 04:18:15 +0000 (21:18 -0700)]
j3dcore: annotate prioritizedSounds list in SoundScheduler

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: use Arrays.copyOf instead of clone on an int[]
Harvey Harrison [Mon, 1 Jul 2013 21:25:32 +0000 (14:25 -0700)]
j3dcore: use Arrays.copyOf instead of clone on an int[]

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: change to ArrayList in the async error handling code
Harvey Harrison [Mon, 1 Jul 2013 20:58:16 +0000 (13:58 -0700)]
j3dcore: change to ArrayList in the async error handling code

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 <harvey.harrison@gmail.com>

4 years agoj3dcore: remove some unused state for locked geometry
Harvey Harrison [Mon, 1 Jul 2013 20:46:38 +0000 (13:46 -0700)]
j3dcore: remove some unused state for locked geometry

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove unnecessary casts to WakeupCriterion
Harvey Harrison [Mon, 1 Jul 2013 19:57:25 +0000 (12:57 -0700)]
j3dcore: remove unnecessary casts to WakeupCriterion

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: add type annotations to Enumerations of Nodes under a Group
Harvey Harrison [Mon, 1 Jul 2013 15:48:27 +0000 (08:48 -0700)]
j3dcore: add type annotations to Enumerations of Nodes under a Group

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: declare some local varaibles next to where they are used
Harvey Harrison [Mon, 1 Jul 2013 15:13:05 +0000 (08:13 -0700)]
j3dcore: declare some local varaibles next to where they are used

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 <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate the changeViewList in SetLiveState
Harvey Harrison [Mon, 1 Jul 2013 14:56:25 +0000 (07:56 -0700)]
j3dcore: annotate the changeViewList in SetLiveState

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate the changeViewGroup list in SetLiveState
Harvey Harrison [Mon, 1 Jul 2013 14:52:19 +0000 (07:52 -0700)]
j3dcore: annotate the changeViewGroup list in SetLiveState

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove some redundant casts to HashKey
Harvey Harrison [Mon, 1 Jul 2013 14:45:42 +0000 (07:45 -0700)]
j3dcore: remove some redundant casts to HashKey

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate the scoped nodes list in SetLiveState
Harvey Harrison [Mon, 1 Jul 2013 14:42:17 +0000 (07:42 -0700)]
j3dcore: annotate the scoped nodes list in SetLiveState

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate some variables in the insertNodes/removeNodes message handlers
Harvey Harrison [Mon, 1 Jul 2013 14:23:22 +0000 (07:23 -0700)]
j3dcore: annotate some variables in the insertNodes/removeNodes message handlers

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate lots of lists of Views used by ViewSpecificGroups, and setLiveState
Harvey Harrison [Mon, 1 Jul 2013 14:08:44 +0000 (07:08 -0700)]
j3dcore: annotate lots of lists of Views used by ViewSpecificGroups, and setLiveState

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: clean up some temp variable types in ViewSpecificGroupRetained
Harvey Harrison [Mon, 1 Jul 2013 13:29:24 +0000 (06:29 -0700)]
j3dcore: clean up some temp variable types in ViewSpecificGroupRetained

The local var vl is initialized on all paths, pull that to the front of the method.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: unconditionally resize the offscreen layer if required when setting the...
Harvey Harrison [Sun, 30 Jun 2013 18:59:54 +0000 (11:59 -0700)]
j3dcore: unconditionally resize the offscreen layer if required when setting the Viewport

This ensures that the offscreen layer is appropriately sized even on the initial display,
some users reported incorrect canvas size until something caused the layout to change.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: use the new Utils helpers to remove the last dependency on the Distance...
Harvey Harrison [Fri, 28 Jun 2013 21:16:04 +0000 (14:16 -0700)]
j3dcore: use the new Utils helpers to remove the last dependency on the Distance class

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: convert GeometricTools Ray-segment distance code to Java3d/vecmath types
Harvey Harrison [Fri, 28 Jun 2013 21:10:43 +0000 (14:10 -0700)]
j3dcore: convert GeometricTools Ray-segment distance code to Java3d/vecmath types

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: check in a snapshot of the GeometricTools ray to segment distance function
Harvey Harrison [Fri, 28 Jun 2013 21:04:11 +0000 (14:04 -0700)]
j3dcore: check in a snapshot of the GeometricTools ray to segment distance function

- adapted from code under the Boost 1.0 license, here distributed as GPLv2 + classpath

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: convert GeometricTools Segment-segment distance code to Java3d/vecmath types
Harvey Harrison [Fri, 28 Jun 2013 20:57:33 +0000 (13:57 -0700)]
j3dcore: convert GeometricTools Segment-segment distance code to Java3d/vecmath types

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: check in a snapshot of the GeometricTools segment to segment distance function
Harvey Harrison [Fri, 28 Jun 2013 20:19:49 +0000 (13:19 -0700)]
j3dcore: check in a snapshot of the GeometricTools segment to segment distance function

- adapted from code under the Boost 1.0 license, here distributed as GPLv2 + classpath

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: replace Distance with core utility class
Harvey Harrison [Sat, 15 Jun 2013 22:22:19 +0000 (15:22 -0700)]
j3dcore: replace Distance with core utility class

Replace the use of the j3dutils Distance class that is under a different license by reimplementing
some mathematical distance calculations in a Utils class.  This is new code and not based on
the j3dutils version.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: trivial generic annotation in RenderBin
Harvey Harrison [Sat, 15 Jun 2013 17:44:54 +0000 (10:44 -0700)]
j3dcore: trivial generic annotation in RenderBin

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate two locked geometry lists in RenderBin
Harvey Harrison [Sat, 15 Jun 2013 17:39:41 +0000 (10:39 -0700)]
j3dcore: annotate two locked geometry lists in RenderBin

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove last use of the BufferWrapper classes from the core
Harvey Harrison [Sat, 15 Jun 2013 16:57:38 +0000 (09:57 -0700)]
j3dcore: remove last use of the BufferWrapper classes from the core

Directly hold read-only views of the nio buffers, this likely fixes the vertex data held in
an nio buffer for the JOGL backend as the Object[] parameter hid the change from float[] to
FloatBuffer that occured at some point in history.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: use a trivial little struct instead of FastVector
Harvey Harrison [Sat, 15 Jun 2013 16:25:53 +0000 (09:25 -0700)]
j3dcore: use a trivial little struct instead of FastVector

Pull out a struct to hold an int[] array and a count, remove the numContours variable that was
redundant.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: add type information to userlist in ImageComponentRetained
Harvey Harrison [Fri, 19 Apr 2013 07:35:51 +0000 (00:35 -0700)]
j3dcore: add type information to userlist in ImageComponentRetained

- no need to synchronize on userlist, all access methods are already synchronized
- add an early return to unindent a bunch of code
- impossible to get a BackGroundRetained here, kill that else branch

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove a leftover assert, it is now OK for offscreen canvas3d objects to...
Harvey Harrison [Fri, 19 Apr 2013 06:29:13 +0000 (23:29 -0700)]
j3dcore: remove a leftover assert, it is now OK for offscreen canvas3d objects to be doublebuffered

In fact, this is a must for certain OSX machines.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: fix permissions on a file that had the executable bit set
Harvey Harrison [Tue, 9 Apr 2013 06:04:21 +0000 (23:04 -0700)]
j3dcore: fix permissions on a file that had the executable bit set

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove the www folder, it doesn't have anything useful anymore
Harvey Harrison [Tue, 9 Apr 2013 05:45:06 +0000 (22:45 -0700)]
j3dcore: remove the www folder, it doesn't have anything useful anymore

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: add a .gitignore for the build/ directory, remove .cvsignore
Harvey Harrison [Tue, 9 Apr 2013 05:40:34 +0000 (22:40 -0700)]
j3dcore: add a .gitignore for the build/ directory, remove .cvsignore

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove old release files/licenses that may confuse people
Harvey Harrison [Sun, 7 Apr 2013 17:39:38 +0000 (10:39 -0700)]
j3dcore: remove old release files/licenses that may confuse people

The project is GPLv2 + classpath exception as found in LICENSE.txt, remove the
older files that may confuse people.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: kill off some of the old build scripts from the native builds
Harvey Harrison [Sun, 7 Apr 2013 17:29:15 +0000 (10:29 -0700)]
j3dcore: kill off some of the old build scripts from the native builds

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: update version to 1.6.0-pre7
Harvey Harrison [Wed, 20 Mar 2013 03:17:14 +0000 (20:17 -0700)]
j3dcore: update version to 1.6.0-pre7

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: use nio buffers directly for vertex normals
Harvey Harrison [Sun, 17 Mar 2013 19:49:53 +0000 (12:49 -0700)]
j3dcore: use nio buffers directly for vertex normals

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: use nio buffers directly for interleaved vertex data
Harvey Harrison [Sun, 17 Mar 2013 19:43:48 +0000 (12:43 -0700)]
j3dcore: use nio buffers directly for interleaved vertex data

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: use nio buffers directly for colors, remove use of BufferWrappers
Harvey Harrison [Sun, 17 Mar 2013 19:34:53 +0000 (12:34 -0700)]
j3dcore: use nio buffers directly for colors, remove use of BufferWrappers

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: convert trivial uses of BufferWrapper to use the readOnly nio buffers instead
Harvey Harrison [Sun, 17 Mar 2013 19:26:04 +0000 (12:26 -0700)]
j3dcore: convert trivial uses of BufferWrapper to use the readOnly nio buffers instead

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: directly use nio buffers internally in GeometryArrayRetained
Harvey Harrison [Sun, 17 Mar 2013 19:07:28 +0000 (12:07 -0700)]
j3dcore: directly use nio buffers internally in GeometryArrayRetained

Remove the use of FloatBufferWrapper, DoubleBufferWrapper.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: explicitly store the readonlyBuffer copy in preparation to remove BufferWrapper
Harvey Harrison [Sun, 17 Mar 2013 04:49:45 +0000 (21:49 -0700)]
j3dcore: explicitly store the readonlyBuffer copy in preparation to remove BufferWrapper

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: add imports for java.nio in J3DBuffer
Harvey Harrison [Sun, 3 Mar 2013 20:28:27 +0000 (12:28 -0800)]
j3dcore: add imports for java.nio in J3DBuffer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: move to use an Enum for valid buffer types in J3DBuffer
Harvey Harrison [Sun, 3 Mar 2013 20:19:42 +0000 (12:19 -0800)]
j3dcore: move to use an Enum for valid buffer types in J3DBuffer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove test for direct nio buffers, they are standard functionality
Harvey Harrison [Fri, 1 Mar 2013 07:58:46 +0000 (23:58 -0800)]
j3dcore: remove test for direct nio buffers, they are standard functionality

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: change Object[] to J3DBuffer[] as we know this is the actual type
Harvey Harrison [Fri, 1 Mar 2013 07:47:48 +0000 (23:47 -0800)]
j3dcore: change Object[] to J3DBuffer[] as we know this is the actual type

remove some unused variables while we're here.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove some unused vars and unneeded casts
Harvey Harrison [Fri, 1 Mar 2013 06:41:06 +0000 (22:41 -0800)]
j3dcore: remove some unused vars and unneeded casts

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove leftover from when OffscreenLayer was added to Canvas3d
Harvey Harrison [Fri, 1 Mar 2013 06:36:40 +0000 (22:36 -0800)]
j3dcore: remove leftover from when OffscreenLayer was added to Canvas3d

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate getAllScopes method for FogRetained to return Enumeration<Group>
Harvey Harrison [Sun, 24 Feb 2013 01:15:30 +0000 (17:15 -0800)]
j3dcore: annotate getAllScopes method for FogRetained to return Enumeration<Group>

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove unused local variables and unneeded casts in FogRetained
Harvey Harrison [Sun, 24 Feb 2013 01:11:21 +0000 (17:11 -0800)]
j3dcore: remove unused local variables and unneeded casts in FogRetained

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate getScopes methods to return Enumeration<Group>
Harvey Harrison [Sun, 24 Feb 2013 01:08:44 +0000 (17:08 -0800)]
j3dcore: annotate getScopes methods to return Enumeration<Group>

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove some unused local variables in LightRetained
Harvey Harrison [Sun, 24 Feb 2013 01:04:32 +0000 (17:04 -0800)]
j3dcore: remove some unused local variables in LightRetained

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate list of LightRetained
Harvey Harrison [Sun, 24 Feb 2013 01:02:28 +0000 (17:02 -0800)]
j3dcore: annotate list of LightRetained

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: add a hash mixing helper for the Java3D way of mixing double values
Harvey Harrison [Sat, 23 Feb 2013 21:35:03 +0000 (13:35 -0800)]
j3dcore: add a hash mixing helper for the Java3D way of mixing double values

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: small list annotation for offscreen messages
Harvey Harrison [Tue, 19 Feb 2013 08:02:34 +0000 (00:02 -0800)]
j3dcore: small list annotation for offscreen messages

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove a null check, canvas cannot be null here
Harvey Harrison [Tue, 19 Feb 2013 07:27:32 +0000 (23:27 -0800)]
j3dcore: remove a null check, canvas cannot be null here

We would have NullPointerExceptioned already

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: update version to -pre6
Harvey Harrison [Tue, 19 Feb 2013 06:45:12 +0000 (22:45 -0800)]
j3dcore: update version to -pre6

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: make setting boolean properties less chatty
Harvey Harrison [Tue, 19 Feb 2013 06:44:29 +0000 (22:44 -0800)]
j3dcore: make setting boolean properties less chatty

Onyly write a message to stderr if debug is set.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove some commented out and superceded code in JoglPipeline
Harvey Harrison [Tue, 19 Feb 2013 06:38:08 +0000 (22:38 -0800)]
j3dcore: remove some commented out and superceded code in JoglPipeline

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: restore the explicit profile for each GL constant
Harvey Harrison [Tue, 19 Feb 2013 05:51:50 +0000 (21:51 -0800)]
j3dcore: restore the explicit profile for each GL constant

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: changes from August Lammersdorf
August Lammersdorf [Sat, 26 Jan 2013 17:00:23 +0000 (09:00 -0800)]
j3dcore: changes from August Lammersdorf

Quoting August:
1. Mac OS X 10.7+ / Oracle JRE 7+

 - new Pipeline method 'resizeOffscreenLayerSurface'
 - Renderer detects Canvas3D's size changes and performs offscreen layer resizing

 - Still required : fix of Mac/Oracle JRE/JOGL's x/y-positioning and z-ordering issues (see post above)

 - classes: Canvas3D, JoglPipeline, NoopPipeline, Pipeline, Renderer

2. Offscreen rendering

 - deprecated pbuffer replaced with framebuffer object
 - based on JOGL's FBO implementation GLFBODrawable and FBObject
 - pbuffer is still available if FBO isn't supported or not desired
 - double buffering and scene antialiasing support if requested and available
 - currently fixed number of samples: 4

 - classes: Canvas3D, JoglPipeline, Renderer

3. Best configuration

 - Java 3D compliant GLCapabilitiesChooser introduced : J3DCapsChooser
 - Workaround if capability chooser isn't called (Mac/JRE 7)

 - class: JoglPipeline

Signed-off-by: August Lammersdorf <aldorf@interactivemesh.com>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: add new Pipeline method resizeOffscreenLayer
Harvey Harrison [Sun, 17 Feb 2013 20:34:08 +0000 (12:34 -0800)]
j3dcore: add new Pipeline method resizeOffscreenLayer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: add members and helpers for future FBOlayer work
Harvey Harrison [Sun, 17 Feb 2013 06:28:54 +0000 (22:28 -0800)]
j3dcore: add members and helpers for future FBOlayer work

Extracted from a patch by August Lammersdorf.

[HSH - any mistakes here are mine]
Signed-off-by: August Lammersdorf <aldorf@interactivemesh.com>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: make the antialiasing flag private to Canvas3d
Harvey Harrison [Sat, 16 Feb 2013 22:55:24 +0000 (14:55 -0800)]
j3dcore: make the antialiasing flag private to Canvas3d

Includes fix for resetting the antiAliasing flag from a patch by August Lammersdorf.

Signed-off-by: August Lammersdorf <aldorf@interactivemesh.com>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: fix generation of texture ids
August Lammersdorf [Sat, 16 Feb 2013 22:37:11 +0000 (14:37 -0800)]
j3dcore: fix generation of texture ids

- internal texture object name generation replaced with OpenGL 'glGenTextures'
- avoids conflict with JOGL's texture object names
- new Pipeline method 'generateTexID' implemented

[HSH - remove now unused freelist management in MasterControl]
Signed-off-by: August Lammersdorf <aldorf@interactivemesh.com>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: update to jogl-rc11 in the build script, only need gluegen-rt, not gluegen
Harvey Harrison [Sat, 26 Jan 2013 18:03:51 +0000 (10:03 -0800)]
j3dcore: update to jogl-rc11 in the build script, only need gluegen-rt, not gluegen

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate list of lights in GraphicsContext3D
Harvey Harrison [Sat, 2 Feb 2013 18:38:59 +0000 (10:38 -0800)]
j3dcore: annotate list of lights in GraphicsContext3D

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove unused variables, annotate sounds list in GraphicsContext3D
Harvey Harrison [Sat, 2 Feb 2013 18:28:18 +0000 (10:28 -0800)]
j3dcore: remove unused variables, annotate sounds list in GraphicsContext3D

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: Annotate list of user sounds in GraphicsContext3D
Harvey Harrison [Sat, 2 Feb 2013 18:24:31 +0000 (10:24 -0800)]
j3dcore: Annotate list of user sounds in GraphicsContext3D

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: Annotate list of user lights in GraphicsContext3D
Harvey Harrison [Sat, 2 Feb 2013 18:21:40 +0000 (10:21 -0800)]
j3dcore: Annotate list of user lights in GraphicsContext3D

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate lists in SetLiveState related to OrderedGroupRetained
Harvey Harrison [Fri, 1 Feb 2013 07:22:02 +0000 (23:22 -0800)]
j3dcore: annotate lists in SetLiveState related to OrderedGroupRetained

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate list of Scopes in ModelClipRetained
Harvey Harrison [Mon, 28 Jan 2013 08:24:01 +0000 (00:24 -0800)]
j3dcore: annotate list of Scopes in ModelClipRetained

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove a pile of unneeded casts, mostly to Bounds
Harvey Harrison [Mon, 28 Jan 2013 08:15:01 +0000 (00:15 -0800)]
j3dcore: remove a pile of unneeded casts, mostly to Bounds

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate Renderbin map, format the management functions
Harvey Harrison [Mon, 28 Jan 2013 07:55:44 +0000 (23:55 -0800)]
j3dcore: annotate Renderbin map, format the management functions

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: remove some unneeded casts to Tuple3d
Harvey Harrison [Mon, 28 Jan 2013 07:40:44 +0000 (23:40 -0800)]
j3dcore: remove some unneeded casts to Tuple3d

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate arguments taking lists of SwitchStates
Harvey Harrison [Mon, 28 Jan 2013 07:33:17 +0000 (23:33 -0800)]
j3dcore: annotate arguments taking lists of SwitchStates

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate switchLevels list in SwitchRetained
Harvey Harrison [Mon, 28 Jan 2013 07:25:30 +0000 (23:25 -0800)]
j3dcore: annotate switchLevels list in SwitchRetained

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

4 years agoj3dcore: annotate list of SwitchStates in SwitchRetained, TargetsInterface
Harvey Harrison [Mon, 28 Jan 2013 07:21:10 +0000 (23:21 -0800)]
j3dcore: annotate list of SwitchStates in SwitchRetained, TargetsInterface

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>

http://JogAmp.org git info: FAQ, tutorial and man pages.