aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Removed version dependent static values from pipeline codePhilip Jordan2020-02-012-4/+4
| | | | | | | The Pipelines check for a common bug based on the java JRE version number, and use the Jogl Platform convenience class, however this class has renamed the Version19 static value in 2.3.2 to Version9 in 2.4.0, so Java3D was jogl version dependent, this is change to a different test to avoid this lock in.
* fixed an issue with J3DGraphics2DImpl.validate()Egor Tsinko2020-01-281-34/+64
|
* fixed an issue with J3DGraphics2DImpl.clearOffScreen()Egor Tsinko2020-01-281-0/+6
| | | | | In cases when a new transform is set into the graphics there might be some on-screen artifacts caused by improper clearing
* Merge pull request #7 from etsinko/hidpi-pixel-accuracy-improvementsPhilip Jordan2020-01-283-2/+46
|\ | | | | Improved the 2D graphics overlay in Canvas3D.
| * improved the 2D graphics overlay in Canvas3D.Egor Tsinko2020-01-273-2/+46
| | | | | | | | Now actual pixel sizes are used instead of canvas sizes for creating an overlay image.
| * Revert "fixed a NPE that happened during offscreen rendering"Philip Jordan2020-01-261-5/+3
| |
| * fixed a NPE that happened during offscreen renderingEgor Tsinko2020-01-221-3/+5
| |
* | Merge pull request #4 from etsinko/hidpi-fixPhilip Jordan2020-01-261-3/+3
|\ \ | | | | | | fixed getPixelLocationFromImagePlate(). Now it works on HiDPI screens
| * | fixed getPixelLocationFromImagePlate(). Now it works on HiDPI screensEgor Tsinko2020-01-221-3/+3
| |/
* | Merge pull request #5 from etsinko/hidpi-overlay-fixPhilip Jordan2020-01-262-4/+4
|\ \ | | | | | | | | | | | | Updated pipelines so they use linear interpolation when drawing overlays An excellent improvement
| * | Updated pipelines so they use linear interpolation when drawing overlay on ↵Egor Tsinko2020-01-232-4/+4
| |/ | | | | | | screen
* | fixed a NPE that happened during offscreen renderingEgor Tsinko2020-01-261-3/+5
| |
* | j3dcore: add handling for the new j3d.numSamples propertyEmmanuel Puybaret2020-01-252-10/+6
| | | | | | | | | | Override the number of canvas samples using a new Integer property, add a helper to MasterControl similar to the existing Boolean property methods.
* | QuadArray usage warning improved to advise how to convert easily.Philip Jordan2019-10-252-5/+35
|/ | | | QuadArrays now render as triangle arrays in order to show where the issue is.
* checkAppContext only applies to java version 7 and 8 nowphil2019-09-211-8/+26
| | | | and thus the "An illegal reflective access operation has occurred" warning in Java 10 is no longer displayed
* HiDPI fix improved to work when moving a Canvas between screens, alsophil2019-09-213-21/+36
| | | | | mouse interactions are now scaled correctly when using the canvas.getPixelLocationInImagePlate(xpos,ypos,mousePosn); as seen in the java3d-utils PickCanvas class
* Merge branch 'dev1.7.0'phil2019-09-153-2/+60
|\
| * Pure Immediate Context usage fixphil2019-06-092-1/+59
| | | | | | | | | | | | | | | | | | The Renderer now wraps a use/release context call pair around any of the Pure Immediate mode operations in the main doWork loop. The renderer also now lazily creates a context on the first Pure Immediate mode call. GarphicsContext3D calls makeCxtCurrent in doClear in the case where a context had to be created (that creation call should in fact now be redundant but it is left in)
| * deprecated features comment update to note tex coord generation isphil2019-01-201-1/+1
| | | | | | ignored
* | Merge branch '1.6-master'phil2019-09-151-7/+7
|\ \ | |/ |/| | | Fixed an error that happened in multi-screen environments
| * Fixed error that happened in multi-screen environmentsEgor Tsinko2019-08-291-8/+7
| |
| * The Renderer now wraps a use/release context call pair around any of thephil2019-06-092-0/+61
| | | | | | | | | | | | | | | | Pure Immediate mode operations in the main doWork loop. The renderer also now lazily creates a context on the first Pure Immediate mode call. GarphicsContext3D calls makeCxtCurrent in doClear in the case where a context had to be created (that creation call should in fact now be redundant but it is left in)
| * Merge GeometryService implementationHarvey Harrison2019-01-042-23/+62
| |\ | | | | | | | | | Signed-off-by: Harvey Harrison <[email protected]>
| * | j3d-core: Fix HiDPI issues on WindowsIan Brown2018-09-302-4/+17
| | | | | | | | | | | | Signed-off-by: Harvey Harrison <[email protected]>
| * | j3dcore: remove useless updatelocaltoVworld methodHarvey Harrison2018-06-142-14/+0
| | | | | | | | | | | | | | | | | | Only calls itself on all child nodes, no callers anywhere else. Signed-off-by: Harvey Harrison <[email protected]>
| * | j3dcore: JoglPipeline.resetRenderingAttributes does not call ↵Phil Jordan2016-10-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | gl.glDisable(GL.GL_STENCIL_TEST); Fixes Bug 1325: https://jogamp.org/bugzilla/show_bug.cgi?id=1325 Signed-off-by: Phil Jordan <[email protected]> Signed-off-by: Harvey Harrison <[email protected]>
| * | j3dcore: fix leftover texture mapping coords when some attributes unsetEmmanuel Puybaret2016-10-301-1/+5
| | | | | | | | | | | | | | | | | | Fixes Bug 1006: https://jogamp.org/bugzilla/show_bug.cgi?id=1006 Signed-off-by: Harvey Harrison <[email protected]>
| * | j3dcore: add handling for the new j3d.numSamples propertyEmmanuel Puybaret2016-10-302-8/+24
| | | | | | | | | | | | | | | | | | | | | Override the number of canvas samples using a new Integer property, add a helper to MasterControl similar to the existing Boolean property methods. Signed-off-by: Harvey Harrison <[email protected]>
| * | j3dcore: avoid calls to glColor4f in material reset pathsEmmanuel Puybaret2016-10-301-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | This causes crashes in the Parallels driver, possibly due to the calls occuring on a non-current glContext, this appears to not cause other issues as the glColor calls are always issued before rendering anyway and can avoid being reset here. Signed-off-by: Harvey Harrison <[email protected]>
| * | j3dcore: allow Java3D to operate in headless mode when using the noop rendererHarvey Harrison2016-10-282-7/+5
| | | | | | | | | | | | | | | [Suggested by Emmanuel Puybaret] Signed-off-by: Harvey Harrison <[email protected]>
* | | Fix HiDPI issues on windowsIan Brown2018-09-042-5/+17
| | |
* | | checkAppContext added to getBestConfigurationphil2017-05-032-0/+8
| | | | | | | | | | | | see here for more details http://forum.jogamp.org/Java3D-1-6-Web-Start-from-Mac-OS-X-to-Multi-OS-td4037924.html
* | | Gl2ES2Pipeline autoMipMap generation enabledphil2017-02-271-17/+15
| | |
* | | Jogl2es2Pipeline, gl2es2 calls reduced, short indexes loaded fasterphil2017-02-271-67/+155
| | |
* | | Performance improvements intersects and j3dmessagephil2017-02-276-31/+74
| | | | | | | | | | | | | | | | | | | | | The boundingBox intersects maths removes some repeated multiplications SceneGrph objects that were heavy users of J3dMessages now hold onto the previous messages and reuse them if possible to reduce the amount of new statements
* | | Actual support for a true GL2ES2 contextphil2017-01-083-976/+1036
| | | | | | | | | | | | | | | It turns out that a gl2es3 will be returned even if a es2 is asked for. This means that some of the actions that were being performed were bad, like transpose on setMatrix and set max texture lod
* | | Code changes as suggested by gouessej phil2016-12-204-19/+3
| | | | | | | | | | | | | | | | | | One functional code change in the VersionInfo template The SparseArray comments not changed to ensure maximum similarity with original
* | | Jogl2es2Pipeline: determining the presence of data structures in shadersphil2016-12-202-14/+22
| | | | | | | | | | | | | | | simplified And made faster
* | | Jogl2es2Context updated to correctly clear uniform load state each framephil2016-12-201-25/+14
| | | | | | | | | As per the previous commit enhancement
* | | Jogl2es2Pipeline: system for determining uniforms current state improvedphil2016-12-201-88/+179
| | | | | | | | | | | | | | | Less equals and setZero methods used, more simply == statements. Note this can be cleaned up more
* | | Jogl2es2pipeline: ignoreVertexColors load into shader was buggyphil2016-12-201-9/+21
| | |
* | | Jogl2es2pipeline: array data copied to nio buffers as late as possiblephil2016-12-201-161/+219
| | | | | | | | | | | | This allows for less data copy during each render pass if the data is unchanged
* | | ShaderProgramRetained excessive string creation reducedphil2016-12-082-1136/+1199
| | | | | | | | | | | | | | | In simply checking for a warning given the shader program was creating a long string and using a hash get, now a simple boolean on each attribute indicates warning given, faster and less garbage created
* | | Gl2es2Pipeline executed contexts for Geometry not recorded in Indexedphil2016-12-072-1/+7
| | |
* | | Enumeration swapped to typed Iteratorphil2016-12-0747-249/+285
| | | | | | | | | | | | | | | | | | | | | | | | All Enumerations swapped and generic types added See docs/api-changes-1.7.txt THIS WILL BREAK YOUR CODE! But the change is very minor to adjust to.
* | | glTexImage2D glTexSubImage2D glReadPixel handling correctedphil2016-12-051-77/+37
| | | | | | | | | | | | It now supports the INT_ARRAY and INT_BUFFER types and only hands into ES2 the allowed values
* | | GL_OES_texture_npot extensions checkedphil2016-12-051-1/+3
| | | | | | | | | | | | As this is the extension used on ES hardware for non power of two texture support
* | | setFFP more minimize calls added for matrixesphil2016-12-052-311/+331
| | | | | | | | | Also a frame stat of skipped no shader
* | | transparencyAlpha sent through, readOffScreenBuffer supports INT bufferphil2016-12-052-605/+684
| | |
* | | Using Appearance with the Jogl2es2Pipeline will output a warningphil2016-12-041-1/+5
| | | | | | | | | Only ShaderAppearances will display anything