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
2015-11-14 16:19:54 +02:00
Daniel Johansson
dc0bcb5d13
Resolves #378 , adding support for detecting ARMv8 on Android.
2015-11-12 15:11:41 +00:00
Nehon
4726da1e41
Merge branch 'master' into PBRisComing
2015-11-11 18:57:15 +01:00
Kirill Vainer
79638b7434
Merge pull request #377 from davidB/fix_opengl3
...
opengl3: add GLSLCompat into Gui.j3md
2015-11-09 20:44:50 -05:00
David Bernard
2938acec51
opengl3: add GLSLCompat into Gui.j3md
2015-11-09 21:19:59 +01:00
Pesegato
539e49e109
Added support to Logitech F310
...
For both DirectInput and XInput mode. Also tentatively added support of alternate version of xbox360 controller.
2015-11-09 14:31:52 +01:00
Rémy Bouquet
45321fc7d5
Fixed an issue in material when having classic lights along with a LightProbe
2015-11-06 09:20:03 +01:00
Nehon
7d07a63ebf
Changes the way the fresnel term is computed in the PBR.glsllib for direct lighting, fixing some artifact when having a point light
2015-11-05 23:01:25 +01:00
Rémy Bouquet
e159c3918a
Implemented intersectBoundingBox for LightProbe
2015-11-02 11:50:38 +01:00
Rémy Bouquet
c47da8e9a1
Merge branch 'master' into PBRisComing
...
* master: (94 commits)
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
Allows to choose between the forward compatible profile and the backward compatible profile in the JOGL backend
Displays the JOGL version instead of the NEWT version
Updates JOGL (2.3.2)
Bugfix: fix to importing blend files with linked content.
native loader: set lwjgl library path for lwjgl3
Updated lwjgl3 module to use LWJGL 3.0.0b #35 which is the current stable build.
Change duplicated docstring in FlyByCamera.unregisterInput
light : fixed pointLight v. bounding sphere unit test
light : replaced duplicated code by methods from Intersection
Removed native library jemalloc.dll for LWJGL3 as this will not be needed until 3.0.0b and after.
light : added unit tests for the new support of bounding spheres intersections (for lightFilter)
Fixed Issue #46 : The MaterialViewer will now simply ignore not available textures instead of crashing
Lights (see #362 ) : added light v. sphere intersection, and implementations of intersectsSphere(), second attempt
GImpactCollisionShape : fix for #188 , added a call to updateBound() in native jni binding, just after creating the shape, (native createShape() method)
Bugfix: fixed a bug that caused importer to crash when the author of the blend file assigned non existing UV coordinates group name to a mesh.
Bugfix: fixed a bug that caused subdivision surface modifier to crash if at least one not connected vertex was in the mesh.
The LWJGL 3 renderer was missing a call to GLContext.createFromCurrent(), sorted now.
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.
Fixed #316 where some post processing effects were not working when using OPENGL_3 renderer due to an error in the fragment shader.
...
2015-11-02 11:28:07 +01:00
Julien Gouesse
ce86a3e555
Allows to choose between the forward compatible profile and the backward compatible profile in the JOGL backend
2015-10-30 21:47:52 +01:00
Kirill Vainer
edaf49c00c
Merge pull request #364 from Dokthar/light
...
Lights : added light v. sphere intersection
2015-10-23 22:28:06 -04:00
Brandon DeRosier
1bb3ee089a
Change duplicated docstring in FlyByCamera.unregisterInput
2015-10-17 22:34:22 -04:00
Dokthar
071ad5c618
light : fixed pointLight v. bounding sphere unit test
2015-10-16 20:17:57 +02:00
Dokthar
4be09e3505
light : replaced duplicated code by methods from Intersection
2015-10-15 19:27:50 +02:00
Dokthar
505aa23048
light : added unit tests for the new support of bounding spheres intersections (for lightFilter)
2015-10-14 20:30:20 +02:00
Dokthar
cfdb9a8759
Lights (see #362 ) : added light v. sphere intersection, and implementations of intersectsSphere(), second attempt
2015-10-07 22:25:36 +02:00
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.
2015-09-24 13:51:46 +01:00
Kirill Vainer
ed2c998f39
Merge pull request #340 from Kendanware/issue314
...
Added LWJGL 3.x module and implementation in regards to issue #314
2015-09-23 10:07:34 -04:00
Kirill Vainer
e4f3c06b1d
ListMap: create unit test
2015-09-22 22:12:13 -04:00
Kirill Vainer
01227d31b0
Lighting: fix colorramp feature
2015-09-22 22:10:16 -04:00
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.
2015-09-22 22:09:38 -04:00
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.
2015-09-22 22:04:25 -04:00
Kirill Vainer
cba39fa0ff
GLRenderer: make the class final
2015-09-22 22:02:55 -04:00
Kirill Vainer
aa54947ff3
GLRenderer: cleanup to shadow compare mode
...
Store compare mode in LastTextureState instead of on Texture object
2015-09-22 22:01:17 -04:00
Kirill Vainer
efe600c38d
GLRenderer: put max anisotropy into limits map
2015-09-22 21:57:42 -04:00
Kirill Vainer
d269839efb
FastMath: faster nearestPowerOfTwo and unit test
2015-09-22 21:53:50 -04:00
Kirill Vainer
4e6b4d885c
Merge pull request #345 from Georgeto/patch_negscalebb
...
Fixed wrong BoundingBox transformation, when using negative scaling values
2015-09-22 18:52:00 -04:00
Julien Gouesse
9f56a45d56
Adds some options into AppSettings for JogAmp's JOGL and JOAL
2015-09-22 23:11:16 +02:00
Georg
495e0cf6d5
Fixed wrong BoundingBox transformation, when using negative scaling values
2015-09-21 14:28:54 +02:00
Kirill Vainer
500f57a64f
AssetManager: set locator path only once per thread
2015-09-14 23:19:43 -04:00
Kirill Vainer
aee7d1f195
GLSLCompat.glsllib: fix incorrect preprocessor define
2015-09-14 23:02:31 -04:00
Kirill Vainer
6970c8db8a
shapes: set static usage on all VBs
2015-09-14 23:01:46 -04:00
Kirill Vainer
78d2d6e944
GLRenderer: fix invalid enum error when using framebuffers
2015-09-14 22:51:57 -04:00
Kirill Vainer
f32d92ef30
bounding: add bound vs. spatial, also improve unit test
2015-09-13 23:02:49 -04:00
Kirill Vainer
81b5c48fb0
unit test: add unit tests for bounds and light filter / sort
2015-09-13 22:11:11 -04:00
Kirill Vainer
c41058a5a0
spot light: fix broken filter for infinite range
2015-09-13 22:09:20 -04:00
Kirill Vainer
22dde7f718
point light: more accurate sphere vs box filter
2015-09-13 22:08:17 -04:00
Kirill Vainer
6238088688
light: minor non-functional changes
2015-09-13 22:07:34 -04:00
Kirill Vainer
31383778d9
light: ensure directional lights are sorted to be always first
2015-09-13 22:06:32 -04:00
Kirill Vainer
1fa6c4ac11
bounding: move intersection algorithms to shared class
...
These algorithms are to be shared with the light filter.
2015-09-13 22:05:18 -04:00
Kirill Vainer
45f8893f13
bounding: properly implement collideWith against other bounds
2015-09-13 18:40:08 -04:00
Daniel Johansson
dd6356eff1
Reverted some more light code which should not be in this branch.
2015-09-13 20:30:36 +01:00
Daniel Johansson
88bf9d4580
Reverted some changes to light classes which was not meant to be committed as part of #314 .
2015-09-13 20:23:07 +01:00
Daniel Johansson
9ba90251d6
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
jme3-bullet-native-android/build.gradle
2015-09-13 20:15:22 +01:00
Rémy Bouquet
9f9daa13dc
Merge pull request #301 from Kendanware/issue295
...
Support for setting minification and magnification filters on a texture in the j3m material file
2015-09-13 17:53:35 +02:00
Kirill Vainer
e9245a753b
GLTracer: generate syntax highlighting and easier to read output
2015-09-10 23:10:13 -04:00
Kirill Vainer
9da4b78830
GLRenderer: disable unused vertex attributes before rendering instead of after
2015-09-10 23:09:15 -04:00
Kirill Vainer
8fdc0f9c90
GLRenderer: avoid useless glActiveTexture calls
2015-09-10 23:08:50 -04:00
Kirill Vainer
f80364a8c2
GLRenderer: don't set depth function twice
2015-09-10 22:34:12 -04:00