7090 Commits

Author SHA1 Message Date
Jérôme
1433f98ad3 Migrate TestBlenderAnim to the new anim system
Migrate to the new animation system, migration of old Spatial object containing animation and adding method to list all animation name in AnimComposer.
2020-04-06 11:29:00 -07:00
Jérôme
11d3bc67f8 Migrate TestCutomAnim to the new Animation system 2020-04-06 11:28:11 -07:00
Jérôme
bd4691e06b Migrate TestSpatialAnim to the new Anim class
Remove all deprecated class and migrate to the new animation system.
2020-04-06 11:27:07 -07:00
Grabli66
fafe8a74fe Fixes error of loading assets 2020-04-06 11:25:39 -07:00
MeFisto94
efc1962092
Merge pull request #1320 from MeFisto94/fix-lwjgl3-double-stop
Fixes #1319 - LWJGL2: start(true) should not freeze when context could not be initialized
2020-04-04 20:15:52 +02:00
MeFisto94
989b2a66cf
Merge pull request #1322 from MeFisto94/fix-mesa-invalid-enum-ssbo
Fixes SSBO causing GL_INVALID_ENUM in Debug Mode
2020-04-04 20:05:23 +02:00
MeFisto94
0115616652 UBO: Re-order the caps detection for a more clean code. 2020-04-04 17:19:10 +02:00
MeFisto94
64797f9bff UBO: GL_INVALID_ENUM on Mesa 2020-04-04 16:19:56 +02:00
MeFisto94
21b7a71cf8 Fixes SSBO causing GL_INVALID_ENUM in Debug Mode 2020-04-04 15:41:36 +02:00
MeFisto94
8f8fc19043
Merge pull request #1321 from MeFisto94/fix-pbr-opengl2-part2
Fixing PBR on <= GLSL 130:
2020-04-04 14:15:57 +02:00
MeFisto94
646e6741b9 GLSLCompat: The Matrix3 Sub-Constructor is called mat3_sub and defers to the builtin mat3 if available. 2020-04-04 14:07:58 +02:00
MeFisto94
2276197a2b Fixing PBR on <= GLSL 130:
- GLSLCompat now implements mat3(mat4) and determinant() and inverse() for mat2 and mat3
 - PBR.glslib uses this functions again instead of one-off workarounds
2020-04-04 13:44:10 +02:00
MeFisto94
2379cfba77
Merge pull request #1276 from MeFisto94/fix-gldebug
Fixes #1272 - Improve GLDebugDesktop by reducing manual overrides
2020-04-04 03:09:19 +02:00
MeFisto94
df39677381 GLDebug: Throw an IllegalArgumentException instead of an IllegalStateException 2020-04-04 02:50:31 +02:00
MeFisto94
c198b1d546
Merge pull request #1318 from MeFisto94/fix-pbr-opengl2
Fixes #1304 - Don't use mat3() constructor to keep compatibility with…
2020-04-03 22:54:24 +02:00
MeFisto94
d19ae582a1 Fixes #1319 - LWJGL2: start(true) should not freeze when context could not be initialized 2020-04-03 12:09:15 +02:00
MeFisto94
461227bdef Fixes #1304 - Don't use mat3() constructor to keep compatibility with GLSL110 2020-04-02 23:07:33 +02:00
Riccardo Balbo
728a05c4f3 lambda 🎉 2020-04-02 14:56:49 +02:00
Ali-RS
0c6f240222
Check culling on the instanced geometries. (#1315) 2020-04-02 10:47:11 +04:30
MeFisto94
4d81d00f45 GLDebug: Throw an unchecked exception instead of returning null to enforce a crash when glGetError is not present. 2020-04-01 19:45:37 +02:00
MeFisto94
312fb5bb57 GLDebug: Use a method handle instead of a string comparison to increase the performance 2020-04-01 14:23:01 +02:00
Riccardo Balbo
7c01019f0c
Don't fail if there is no javadoc to commit. 2020-03-30 11:02:44 +02:00
Riccardo Balbo
f505bdeb21
Update checkout action to v2 2020-03-29 23:05:49 +02:00
Daniel Perano
ff58abca3d
Merge pull request #1306 from jMonkeyEngine/envcam-viewports
Expose ViewPorts
2020-03-22 18:47:49 -07:00
Toni Helenius
59793d4c06
Fix for resizing the window (issue 1191) (#1308)
* Listen for framebuffer size callbacks and set the resolution from that

* Also check the window size on the framebuffer size callback
2020-03-22 15:31:46 -07:00
Daniel Perano
0aa50a0f15 Expose ViewPorts
This commit allows EnvironmentCamera users to access the ViewPorts used
for rendering the snapshots. This allows incorporating screenspace and other
SceneProcessor-based effects into the snapshots as well as the scene geometry.
2020-03-16 00:28:44 -07:00
Stephen Gold
0252c1b623
README.md: add "Jumping Jack Flag" to game list 2020-03-06 09:24:07 -08:00
Stephen Gold
a407fc3224 main.yml: add Gradle-wrapper validation to several jobs 2020-03-04 15:21:15 -08:00
Toni Helenius
b93ea18fa2
Lwjgl3 restart input handle (#1268)
* Reinit inputs on context restart

* Added test issue from issue #1013

* Verify that the inputs are already initialized
2020-02-25 17:20:09 -08:00
Lou Hamersly
c1d359ca59
Fix #1289 Matrix3f/Matrix4f equals() should require an exact class match (#1302) 2020-02-25 15:14:03 -08:00
Stephen Gold
8e334aa756
BufferUtils: resolve issue #1288 (rewrite isDirect()) (#1299) 2020-02-24 08:40:02 -08:00
Github Actions
426969daeb [skip ci] update natives snapshot 2020-02-13 18:40:22 +00:00
Stephen Gold
f652591281
remove unnecessary casts and tests for null, discovered using NetBeans (#1285)
* remove unnecessary tests for null, discovered using NetBeans

* jme3-core: remove unnecessary casts

* jme3-examples: remove unnecessary casts

* jme3-vr: remove unnecessary casts

* jme-plugins: remove unnecessary casts

* jme3-terrain: remove unnecessary casts

* jme3-desktop: remove unnecessary casts

* jme3-android: remove unnecessary casts

* remove unnecessary casts, discovered using NetBeans

* TerrainQuad: back out one casting delta that's not a removal

* TerrainPatch: simplify generateLodEntropies() after removal of the cast

* TerrainPatch: simplify reIndexGeometry() after removal of the cast
2020-02-13 10:21:51 -08:00
MeFisto94
12481c08f6 Use a reflection-based approach to call checkError() after every call to the openGL API to reduce Code Duplication and increase Maintainability, while also fixing the regression caused by GLDebugDesktop extending from GLDebugES and thus making the Renderer think it is on mobile. 2020-02-12 23:56:06 +01:00
MeFisto94
ab96460853
Fix small things (#1287)
* JmeVersion: Don't throw a NullPointerException when version.properties can't be found.

* ImplHandler: Reduce Code-Duplication by using a multi-catch statement
2020-02-12 10:48:46 -08:00
Stephen Gold
f268d00222 Fixes issue #1286 2020-02-10 05:35:59 -08:00
Paul Speed
5584c93d4a
Merge pull request #1282 from stephengold/master
re-assign Simsilica LLC copyrights with Paul's permission (issue #1001)
2020-02-07 17:09:12 -05:00
MeFisto94
8219d7fc02
Add two convenience flags to AppSettings: GraphicsTrace and GraphicsTiming. (#1279) 2020-02-03 17:56:36 -08:00
Stephen Gold
dde0906963 re-assign Simsilica LLC copyrights with Paul's permission (issue #1001) 2020-02-02 23:27:43 -08:00
Github Actions
e3b44db4aa [skip ci] update natives snapshot 2020-02-03 07:22:28 +00:00
Riccardo Balbo
31476679be Fix openal-soft dead link 2020-02-03 08:04:02 +01:00
Riccardo Balbo
0244ab230b
Update link for stb_image.h 2020-02-03 07:54:38 +01:00
Stephen Gold
1a0b6ecac3
jme3-blender: remove TextureGeneratorWood and its dependencies (#1274) 2020-02-02 19:45:23 -08:00
MeFisto94
acbddc2763
Merge pull request #1252 from MeFisto94/add-opengl31-lwjgl
Fixes #1251 - Support OpenGL3.1 on LWJGL2 and LWJGL3
2020-02-01 14:29:51 +01:00
Github Actions
3c5dd5c168 [skip ci] update natives snapshot 2020-01-30 17:35:48 +00:00
Stephen Gold
0fd70b81c9
Add missing @Override annotations (#1270)
* jme3-core: add the missing @Override annotations

* jme3-desktop: add the missing @Override annotations

* jme3-bullet and jme3-jbullet: add the missing @Override annotations

* jme3-effects: add the missing @Override annotations

* jme3-terrain: add the missing @Override annotations

* jme3-examples: add the missing @Override annotations

* jme3-android: add the missing @Override annotations

* jme3-blender: add the missing @Override annotations

* jme3-ios: add the missing @Override annotations

* jme3-jogg and jme3-jogl: add the missing @Override annotations

* jme3-plugind: add the missing @Override annotations

* jme3-lwjgl and jme3-lwjgl3: add the missing @Override annotations

* jme3-networking: add the missing @Override annotations

* jme3-vr: add the missing @Override annotations
2020-01-30 09:16:47 -08:00
Toni Helenius
427ae0a28b
Added Override annotations, finals, some cleanup and better null checks (#1271)
* Added Override annotations, finals, some cleanup and better null checks

* More general null check

* Follow naming conventions
2020-01-29 11:05:12 -08:00
Ali-RS
2023440acf
Removed extra PostShadow Technique from PBRLighting.j3md (#1273) 2020-01-29 01:31:22 -08:00
Toni Helenius
867e46190e Issue 801 (#1269)
* Test case for issue #801

* Reset the context with the initial values
2020-01-28 10:35:17 -08:00
MeFisto94
eee37022f2 Fixes #1241 - Add a convenient Graphics Debug Option for the AppSettings (#1256) 2020-01-27 10:52:36 -08:00