| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
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]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
setLiveState
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
The local var vl is initialized on all paths, pull that to the front of the method.
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
| |
Distance class
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
types
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
|
| |
function
- adapted from code under the Boost 1.0 license, here distributed as GPLv2 + classpath
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
Java3d/vecmath types
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
|
| |
distance function
- adapted from code under the Boost 1.0 license, here distributed as GPLv2 + classpath
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
|
|
|
|
|
|
|
| |
Pull out a struct to hold an int[] array and a count, remove the numContours variable that was
redundant.
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
|
| |
- 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 <[email protected]>
|
|
|
|
|
|
|
|
| |
objects to be doublebuffered
In fact, this is a must for certain OSX machines.
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
buffers instead
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
Remove the use of FloatBufferWrapper, DoubleBufferWrapper.
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
BufferWrapper
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
remove some unused variables while we're here.
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
Enumeration<Group>
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
We would have NullPointerExceptioned already
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
| |
Onyly write a message to stderr if debug is set.
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <[email protected]>
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
|
| |
Extracted from a patch by August Lammersdorf.
[HSH - any mistakes here are mine]
Signed-off-by: August Lammersdorf <[email protected]>
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
| |
Includes fix for resetting the antiAliasing flag from a patch by August Lammersdorf.
Signed-off-by: August Lammersdorf <[email protected]>
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
- 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 <[email protected]>
Signed-off-by: Harvey Harrison <[email protected]>
|