David Bernard
836bf85630
jogl: some fixes about mouse handler
...
* Y hotspot is top in jogl, and bottom in jme
* in jme when mouse is invisible it should be confined into the window (on mac it could go out of the window)
* when window doesn't has the focus the mouse should not behave like when has the focus like
* trying to re-center
* stay invisible
9 years ago
Julien Gouesse
ea28e8a449
First attempt to fix a bug reported by david_bernard_31, the size of the strings in the shader code was wrongly computed for the JOGL backend
9 years ago
Julien Gouesse
ce86a3e555
Allows to choose between the forward compatible profile and the backward compatible profile in the JOGL backend
9 years ago
Julien Gouesse
f38ea1e3e2
Displays the JOGL version instead of the NEWT version
9 years ago
Julien Gouesse
5f77ff021b
Fixes the NullPointerException in the demos when using JoglNewtDisplay
9 years ago
Julien Gouesse
daa18429d1
Removes the old JOGL renderer and uses the new unified renderer as it works correctly now
9 years ago
Julien Gouesse
e3a45755c6
The JOGL backend doesn't need null-terminated strings for the attributes and the uniforms
9 years ago
Julien Gouesse
da01826e43
Temporarily disables the unified renderer in the JogAmp backend
9 years ago
Julien Gouesse
fcae2e64de
Removes some useless code from the JogAmp backend
9 years ago
Julien Gouesse
7bd414665b
Drives the display renderable earlier in order to fix the unified renderer of the JOGL backend
9 years ago
Julien Gouesse
fae50fd36e
Fixes a compile error in the unified renderer of the JOGL backend, doesn't rely on the auto-boxing
9 years ago
Julien Gouesse
814fb2b3ff
First implementation of the unified renderer for the JOGL backend, untested
9 years ago
Julien Gouesse
bbb15062af
Adds the support of DebugGL for OpenGL ES 3 into the JOGL backend
9 years ago
Julien Gouesse
2e977f6535
Fixes a GLException caused by a regression on the management of the gamma correction in the JOGL backend
9 years ago
Julien Gouesse
5b56f1e513
Updates the JogAmp backend, uses JOGL 2.3.1
10 years ago
shadowislord
068047200e
Threads: standardize names. Make sure they all start with "jME3".
10 years ago
iwgeric
4baceb6a08
fixed compilation issues in deprecated OGLESShaderRenderer, IGLESShaderRenderer, and JoglRenderer caused by earlier commit
10 years ago
shadowislord
6ca111b13d
Refactor renderer system
...
* Support OpenGL ES 2 in GLRenderer (various error fixes)
* Get rid of OpenGL 1 remenants
* Other minor cleanups
10 years ago
Nehon
9f459af4e3
One can now call readFrameBuffer with a specific format, implementation has been done for the GLRenderer only.
...
For now only placeholders have been done for the renderers that are still not using URA (all except LWJGL).
10 years ago
shadowislord
ad26e916ee
Update renderer capabilities
...
* Add capabilities not normally supported by GLES2 for unified renderer
* Remove ARBProgram since it isn't used by jME3
10 years ago
shadowislord
5f33bdfa95
JOAL audio renderer to use the unified OpenAL backend as well
10 years ago
shadowislord
91715c4a48
Add support for URA, or Unified Renderer Architecture for audio
...
* Unified all renderers into common class 'ALAudioRenderer'
* LWJGL and Android now implement the AL / ALC / EFX interfaces to provide a common OpenAL backend for jME
* Added support for OpenAL Soft "Pause Device" extension, which allows the engine to pause the context while running in the background (currently requires OpenAL soft 1.16 and thus is Android only feature)
10 years ago
shadowislord
4717e7006f
Goodbye, OpenGL1
10 years ago
shadowislord
1dfa4d4c0d
Remove usage of deprected image formats (JOGL)
10 years ago
David Bernard
37da17e3eb
add support of DepthStencil into *Renderer
...
+ a test app
- only tested on desktop with Lwjgl
10 years ago
saloisio
6dace77a7a
Animator is stopped only if it is currently animating.
10 years ago
unknown
0644c286ef
Updated JOGL canvas classes to fix shutdown bug. Also added frame rate
...
support.
10 years ago
pspeed42
5a482e2b98
Added another Photoshop tyle blend mode: Exclusion
...
Performs a sort of color XOR with source and destination.
Very useful for UI highlighting but is a bizarre (and
potentially useful) effect in 3D.
10 years ago
Julien Gouesse
2bca84a43d
Ports all changes done on the official renderer during several months to the JOGL renderer (I thank a lot the lazy developers)
10 years ago
Julien Gouesse
44f7e8bb84
Updates JOGL (2.2.0)
10 years ago
Hannes Nevalainen
09b4ef6d82
Screen blend mode for JOGL.
11 years ago
shadowislord
54ffe15dda
* Switch to new native library loader
...
* Deprecate old library loader
* Add warning when the requested number of antialiasing samples cannot be satisfied
* Cleaned up LwjglContext.determineMaxSamples()
11 years ago
shadowislord
65094e9ca1
* Put the shader compile log on the next line so its slightly more readable
11 years ago
shadowislord
81498d6f79
* Introduce Image.isNPOT() which is now used to check if the image is non-power-of-2 in renderer implementations.
11 years ago
shadowislord
35cfae5ef0
* Merge revision 11058 from experimental branch
...
- Add instanced geometry support. This is performed by uploading 4 vertex buffers each containing 4 floats. The top 3 rows are the world matrix and the bottom row is a quaternion representing the normal matrix. Hence, both unshaded and lit geometries can be rendered through instancing.
See Instancing.glsllib for more information as well as the comment in LwjglRenderer.
11 years ago
Nehon
09e705dcc4
Introduced RGB10_A2 Image Format. It offers greater precision for RGB channels at the expense of precision for the alpha channel. This format is convenient for post processing, and especially when gamma correction is turned on.
11 years ago
Nehon
8ff6f8df24
Introduced a new Enum ColorSpace.
...
One can now mark a texture param in a material definition as linear by using -Linear at the end of the parameter declaration (case insensitive).
An Image bound to a material texture param in a linear color space will have its ColorSpace set to linear when bound to the material by mat.setTexture("name", texture);
Added the -LINEAR flag to all texture param that needed it in stock materials (lighting.j3md, terrainLighting.j3md, different Filter materials).
11 years ago
Nehon
e4ba4e9e9e
- Image loaders now assume ALL images are in sRGB space and set the flag accordingly
...
- All images constructors now take the isSrgb flag as a parameter, all engine classes has been changed to accommodate the change, old constructors has been deprecated for backward compatibility. One should always ask himself in which color space is an image if dealing with gamma correction
- Gamma correction has been defaulted to false in the appSettings
11 years ago
Nehon
77a4002c3d
Added support for hardware srgb output (gamma correction).
...
It can be toggled at render time.
Works with lwjgl
Couldn't test with Jogl and might be not working
Not supported by mobile renderers
11 years ago
Normen Hansen
a16857c8f4
switch to gradle layout
11 years ago
rem..om
e69d237b51
Committed a patch for ARGB8 and BGRA8 support
...
http://hub.jmonkeyengine.org/forum/topic/support-for-argb8-and-bgra8-textures/#260706
Also made the change for Jogl TextureUtil as it was missing from the patch
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11085 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
54ab14e5ae
Merged commits r11015 to gradle restructure branch.
...
Made similar cleanup in other renderer implementations
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
e65d6ea44b
Merged commits r11009 to r11012 to gradle restructure branch.
...
Moved the workaround for GLSL100 into the renderers instead of having it when selecting a technique
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11019 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
PSp..om
ed77d40c63
First pass at copying the source files with history into the
...
new gradle-based structure.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10964 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago