summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* j3dcore: remove last use of the BufferWrapper classes from the coreHarvey Harrison2013-06-157-44/+21
| | | | | | | | 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]>
* j3dcore: use a trivial little struct instead of FastVectorHarvey Harrison2013-06-151-13/+30
| | | | | | | 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]>
* j3dcore: add type information to userlist in ImageComponentRetainedHarvey Harrison2013-04-191-26/+21
| | | | | | | | - 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]>
* j3dcore: remove a leftover assert, it is now OK for offscreen canvas3d ↵Harvey Harrison2013-04-181-2/+1
| | | | | | | | objects to be doublebuffered In fact, this is a must for certain OSX machines. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: fix permissions on a file that had the executable bit setHarvey Harrison2013-04-081-0/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use nio buffers directly for vertex normalsHarvey Harrison2013-03-175-15/+15
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use nio buffers directly for interleaved vertex dataHarvey Harrison2013-03-175-16/+18
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use nio buffers directly for colors, remove use of BufferWrappersHarvey Harrison2013-03-175-18/+18
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: convert trivial uses of BufferWrapper to use the readOnly nio ↵Harvey Harrison2013-03-173-21/+19
| | | | | | buffers instead Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: directly use nio buffers internally in GeometryArrayRetainedHarvey Harrison2013-03-175-22/+28
| | | | | | Remove the use of FloatBufferWrapper, DoubleBufferWrapper. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: explicitly store the readonlyBuffer copy in preparation to remove ↵Harvey Harrison2013-03-161-0/+13
| | | | | | BufferWrapper Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add imports for java.nio in J3DBufferHarvey Harrison2013-03-031-33/+40
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: move to use an Enum for valid buffer types in J3DBufferHarvey Harrison2013-03-032-50/+47
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove test for direct nio buffers, they are standard functionalityHarvey Harrison2013-02-281-15/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: change Object[] to J3DBuffer[] as we know this is the actual typeHarvey Harrison2013-02-283-18/+12
| | | | | | remove some unused variables while we're here. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some unused vars and unneeded castsHarvey Harrison2013-02-281-6/+2
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove leftover from when OffscreenLayer was added to Canvas3dHarvey Harrison2013-02-281-1/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate getAllScopes method for FogRetained to return ↵Harvey Harrison2013-02-233-23/+20
| | | | | | Enumeration<Group> Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove unused local variables and unneeded casts in FogRetainedHarvey Harrison2013-02-231-15/+3
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate getScopes methods to return Enumeration<Group>Harvey Harrison2013-02-232-23/+23
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some unused local variables in LightRetainedHarvey Harrison2013-02-231-7/+1
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of LightRetainedHarvey Harrison2013-02-231-6/+6
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add a hash mixing helper for the Java3D way of mixing double valuesHarvey Harrison2013-02-235-27/+63
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: small list annotation for offscreen messagesHarvey Harrison2013-02-191-4/+3
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove a null check, canvas cannot be null hereHarvey Harrison2013-02-181-3/+1
| | | | | | We would have NullPointerExceptioned already Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: make setting boolean properties less chattyHarvey Harrison2013-02-181-1/+2
| | | | | | Onyly write a message to stderr if debug is set. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some commented out and superceded code in JoglPipelineHarvey Harrison2013-02-181-108/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: restore the explicit profile for each GL constantHarvey Harrison2013-02-181-32/+18
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: changes from August LammersdorfAugust Lammersdorf2013-02-182-268/+782
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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]>
* j3dcore: add new Pipeline method resizeOffscreenLayerHarvey Harrison2013-02-174-23/+23
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: add members and helpers for future FBOlayer workHarvey Harrison2013-02-172-9/+55
| | | | | | | | 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]>
* j3dcore: make the antialiasing flag private to Canvas3dHarvey Harrison2013-02-162-5/+11
| | | | | | | 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]>
* j3dcore: fix generation of texture idsAugust Lammersdorf2013-02-169-93/+29
| | | | | | | | | | - 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]>
* j3dcore: annotate list of lights in GraphicsContext3DHarvey Harrison2013-02-021-9/+8
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove unused variables, annotate sounds list in GraphicsContext3DHarvey Harrison2013-02-021-13/+8
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: Annotate list of user sounds in GraphicsContext3DHarvey Harrison2013-02-021-27/+26
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: Annotate list of user lights in GraphicsContext3DHarvey Harrison2013-02-021-26/+25
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate lists in SetLiveState related to OrderedGroupRetainedHarvey Harrison2013-01-312-11/+11
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of Scopes in ModelClipRetainedHarvey Harrison2013-01-282-39/+39
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove a pile of unneeded casts, mostly to BoundsHarvey Harrison2013-01-2811-40/+34
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate Renderbin map, format the management functionsHarvey Harrison2013-01-271-41/+35
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some unneeded casts to Tuple3dHarvey Harrison2013-01-272-18/+17
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate arguments taking lists of SwitchStatesHarvey Harrison2013-01-272-6/+6
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate switchLevels list in SwitchRetainedHarvey Harrison2013-01-271-6/+6
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of SwitchStates in SwitchRetained, TargetsInterfaceHarvey Harrison2013-01-274-43/+39
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcode: sweep up some trivial warning fixesHarvey Harrison2013-01-2713-17/+8
| | | | | | | | - unused temp variables - casts that are unnecessary - convert an instanceof that is effectively a null-check Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate dirtyList in RenderBinHarvey Harrison2013-01-271-4/+4
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of RenderAtoms in RenderBinHarvey Harrison2013-01-272-14/+14
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate lists of OrderedBins in RenderBinHarvey Harrison2013-01-271-10/+9
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate textureBinList in RenderBinHarvey Harrison2013-01-271-7/+6
| | | | Signed-off-by: Harvey Harrison <[email protected]>