| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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]>
|
|
|
|
| |
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]>
|
|
|
|
| |
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]>
|
|
|
|
|
|
|
|
| |
- unused temp variables
- casts that are unnecessary
- convert an instanceof that is effectively a null-check
Signed-off-by: Harvey Harrison <[email protected]>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <[email protected]>
|