| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
setLiveState
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Distance class
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
types
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
|
|
| |
function
- adapted from code under the Boost 1.0 license, here distributed as GPLv2 + classpath
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
Java3d/vecmath types
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
| |
objects to be doublebuffered
In fact, this is a must for certain OSX machines.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
buffers instead
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
Remove the use of FloatBufferWrapper, DoubleBufferWrapper.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
BufferWrapper
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
remove some unused variables while we're here.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
Enumeration<Group>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
We would have NullPointerExceptioned already
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
| |
Onyly write a message to stderr if debug is set.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
|
|
|
|
|
|
|
|
| |
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>
|