aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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]>
* j3dcore: annotate list of Views in Physical body, call remove directlyHarvey Harrison2013-01-271-17/+12
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: always call Canvas3D freeDisplayList and freeTexture staticallyHarvey Harrison2013-01-274-7/+7
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove an unused member variable from TextureBinHarvey Harrison2013-01-271-7/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove unused local variable from TextureBinHarvey Harrison2013-01-271-8/+2
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use correct types in the TextureBin render method to avoid instanceofHarvey Harrison2013-01-271-30/+14
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate addMaps in TextureBinHarvey Harrison2013-01-272-30/+27
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate Maps in TextureBinHarvey Harrison2013-01-272-14/+14
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: push list annotation through some of RenderBin's internal functionsHarvey Harrison2013-01-271-12/+11
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate lists of change lightretained,fogretained and ↵Harvey Harrison2013-01-271-29/+28
| | | | | | modelclipretained Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: use code formatter to cleanup insertNodes/RemoveNodes functionsHarvey Harrison2013-01-261-140/+156
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: trivial annotation for list of GeometryAtomsHarvey Harrison2013-01-241-3/+2
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate scopes list for AlternateAppearanceHarvey Harrison2013-01-242-24/+23
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of ViewHarvey Harrison2012-11-242-28/+25
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate view specific listsHarvey Harrison2012-11-232-15/+13
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate AlternateAppearanceRetained listHarvey Harrison2012-11-231-37/+34
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate list of ClipRetainedHarvey Harrison2012-11-231-21/+16
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: annotate some BackGroundRetained listsHarvey Harrison2012-11-231-31/+26
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove some trailing whitespace that snuck inHarvey Harrison2012-11-233-8/+8
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: cosmetic cleanup to setting the depthbuffer objectHarvey Harrison2012-11-231-5/+7
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: avoid null pointer when reading raster depth-only from Canvas3dJulian Ibarz2012-11-231-5/+18
| | | | | | | | | | | | | | | | | Taken from java3d issue 593: When I'm reading the z-buffer with a Raster, a NullPointerException occurs (in fact, two). This is because the image raster is accessed whereas is not initialized, and also because we send the depthComp to the native readRaster function instead of the real buffer (i named it depthBuffer). Also the destination offset is send to the native readRaster function instead of source offset. I made a very light patch that corrects this bugs. Signed-off-by: Julian Ibarz <[email protected]> Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: grab the maxFixedFunction profile once in the JOGLPipeline ↵Harvey Harrison2012-11-231-9/+7
| | | | | | | | | initialization Doing it here will improve the chances it comes from a non-AWT thread which can lead to deadlock. Signed-off-by: Harvey Harrison <[email protected]>
* j3dcore: remove the fullscreen mode toggle used by D3DHarvey Harrison2012-11-181-117/+5
| | | | Signed-off-by: Harvey Harrison <[email protected]>