Paul Speed
8cfe537625
Fix clone to account for the update list added for update
...
optimization. The updateList was cloned also and needs to
be cleared out and the update flag reset as if freshly
initialized. Thanks for lightbringer for pointing out the
problem and solution.
9 years ago
Pesegato
1df3c204f2
Added support to Logitech F310 with Xinput for Windows 10
9 years ago
Kirill Vainer
2ca55c8b3a
LWJGL3 improvements
...
* Added key remapping for GLFW key constants
* Rename AppSettings.getGammaCorrection() to isGammaCorrection()
* Use LWJGL3 artifacts from maven
* Minor compatibility changes for LWJGL 3.0.0b
* Fixed some minor bugs in LwjglWindow
9 years ago
Daniel Johansson
69c17d72c8
Reverted statistics code for tracking number of lights in the scene. Not counting correctly. Maybe this can be added back in later on.
9 years ago
Daniel Johansson
25b9691e32
Added support for toggling lights on and off via Light.setEnabled(boolean). This implements #393
...
This commit also contains some minor changes to TestManyLightsSingle which now has a key trigger (L) for toggling lights on and off.
9 years ago
Daniel Johansson
67eb998ef4
Added numLights to statistics. This tells us how many lights are left to render after filtering has occurred. Also did some tidy up of javadoc in RenderManager.
9 years ago
Daniel Johansson
e0c24cd73a
Added a guard to ensure setSinglePassLightBatchSize() is set to a minimum of at least 1.
9 years ago
NemesisMate
19577c3288
Fixed a possible bug in TextureAtlas.java
...
It seems that the variable was the wrong one when adding the normal texture to the atlas.
9 years ago
Paul Speed
b006204c0f
Various warning-related cleanups. Added @Overrides
...
and removed some manual unboxing.
9 years ago
Paul Speed
3189323c2f
Converted manual array + list management over to just use SafeArrayList.
...
It was a class added after this code.
9 years ago
Paul Speed
46794e251d
Allow the caller to override the axis' default dead
...
zone configured at startup.
9 years ago
Paul Speed
2a2c71dadf
Modified to pay attention to the joystick axis'
...
dead zone if it is larger than the globally defined
dead zone.
9 years ago
Paul Speed
84ccd71873
Added additional information to the range check exception.
9 years ago
jmekaelthas
8958459ef9
Bugfix: fixed a bug that caused NURB lines did not use their proper
...
resolution.
9 years ago
Nehon
6b262e56c8
Fixed the javadoc fixes :D
9 years ago
Nehon
2648f67b34
Javadoc in RenderManager : Fixed some typos and added some for light mode methods.
9 years ago
Nehon
50a9a8636b
HDRLoader, reverted the change that loaded the HDR files in sRGB space, since the specs says that data is in linear space for this format.
9 years ago
Nehon
822d327236
Image now properly save it's colorSpace when saved
9 years ago
Nehon
ad4634ce04
.hdr files are now loaded in sRGB color space as there is no reason it should be loaded in linear space.
9 years ago
Paul Speed
d57147e392
A small optimization. The BitmapTextPage does not
...
require custom updates so it now signifies that.
9 years ago
Paul Speed
cde35a005a
Just fixing an indent.
9 years ago
Paul Speed
31cab674b3
Removing the dodgy 'optimization' that broke some people and caused other 'makeup' changes to better support the dodginess.
...
(And I do realize I have the benefit of analyzing the aftermath, hindsight is 20/20, etc.) Included a big long comment about the right way to implement this optimization.
9 years ago
William Linna
c8a16c940f
Only interpolate if particles are in world space
9 years ago
William Linna
6075e4639d
Interpolate particle positions
...
NOTE: This change is not invented by me. All credit goes to methusalah.
See this thread:
http://hub.jmonkeyengine.org/t/interpolation-of-particle-spawning-point/30385/7
9 years ago
Daniel Johansson
dc0bcb5d13
Resolves #378 , adding support for detecting ARMv8 on Android.
9 years ago
David Bernard
2938acec51
opengl3: add GLSLCompat into Gui.j3md
9 years ago
Pesegato
539e49e109
Added support to Logitech F310
...
For both DirectInput and XInput mode. Also tentatively added support of alternate version of xbox360 controller.
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
Brandon DeRosier
1bb3ee089a
Change duplicated docstring in FlyByCamera.unregisterInput
9 years ago
Dokthar
071ad5c618
light : fixed pointLight v. bounding sphere unit test
9 years ago
Dokthar
4be09e3505
light : replaced duplicated code by methods from Intersection
9 years ago
Dokthar
505aa23048
light : added unit tests for the new support of bounding spheres intersections (for lightFilter)
9 years ago
Dokthar
cfdb9a8759
Lights (see #362 ) : added light v. sphere intersection, and implementations of intersectsSphere(), second attempt
9 years ago
Daniel Johansson
5da9fa6bc2
Changed the default app title in AppSettings to use the full name string from JmeVersion. This way no more manual changing of this will be needed for future versions. This also closes #320 which highlighted this issue. Thanks @8Keep .
9 years ago
Kirill Vainer
e4f3c06b1d
ListMap: create unit test
9 years ago
Kirill Vainer
01227d31b0
Lighting: fix colorramp feature
9 years ago
Kirill Vainer
4a37a8f851
FXAA: quality regression fix
...
FXAA wants input texture to use bilinear filtering
so it can be smoothed further, so allow filters to
request bilinear filtering.
9 years ago
Kirill Vainer
4fef16ee9f
GLRenderer: fix incorrect gl3 check
...
Should check against caps; since gl3 is always
set on desktop regardless if GL3 is available or not.
Also add FBO blit support if we have GL3.
9 years ago
Kirill Vainer
cba39fa0ff
GLRenderer: make the class final
9 years ago
Kirill Vainer
aa54947ff3
GLRenderer: cleanup to shadow compare mode
...
Store compare mode in LastTextureState instead of on Texture object
9 years ago
Kirill Vainer
efe600c38d
GLRenderer: put max anisotropy into limits map
9 years ago
Kirill Vainer
d269839efb
FastMath: faster nearestPowerOfTwo and unit test
9 years ago
Julien Gouesse
9f56a45d56
Adds some options into AppSettings for JogAmp's JOGL and JOAL
9 years ago
Georg
495e0cf6d5
Fixed wrong BoundingBox transformation, when using negative scaling values
9 years ago
Kirill Vainer
500f57a64f
AssetManager: set locator path only once per thread
9 years ago
Kirill Vainer
aee7d1f195
GLSLCompat.glsllib: fix incorrect preprocessor define
9 years ago
Kirill Vainer
6970c8db8a
shapes: set static usage on all VBs
9 years ago
Kirill Vainer
78d2d6e944
GLRenderer: fix invalid enum error when using framebuffers
9 years ago
Kirill Vainer
f32d92ef30
bounding: add bound vs. spatial, also improve unit test
9 years ago
Kirill Vainer
81b5c48fb0
unit test: add unit tests for bounds and light filter / sort
9 years ago