7053 Commits

Author SHA1 Message Date
rvandoosselaer
26f393d09c Clean up the test case and add some more context. #1340 2020-04-13 16:02:06 -07:00
rvandoosselaer
2e1a8dcb52 Add a check to see if the NB_PROBES identifier is defined. Fixes #1340 2020-04-13 16:02:06 -07:00
rvandoosselaer
76210fe415 Add a check to see if the NB_PROBES identifier is defined. Fixes #1340 2020-04-13 16:02:06 -07:00
Jérôme
b48391399b Using Tweens methods instead of the inner class
Simplification using Tweens methods instead of NoLoopAction inner class
2020-04-13 16:01:27 -07:00
Jérôme
4c8e400a83
Migrate TestOgreAnim to new anim system (#1333)
* Migrate TestOgreAnim to new anim system

* Removing tabs

* Update TestOgreAnim.java
2020-04-10 18:09:36 -07:00
Riccardo Balbo
d109e4739e Fix last query not closed in profiler 2020-04-10 22:52:19 +02:00
Ali-RS
16a3e7630c
Fixed an issue with AndroidNativeImageLoader which was opening stream twice. (#1338) 2020-04-08 13:14:04 +04:30
Stephen Gold
b8287a2d0d correct some typographic errors in Billboard100.frag comments 2020-04-07 16:23:22 -07:00
Stephen Gold
fef5c101d8 elimiate incidental hard tabs from jme3-examples 2020-04-07 11:06:31 -07:00
Stephen Gold
51022fd521 elimiate incidental hard tabs from jme3-core 2020-04-07 10:51:33 -07:00
Jérôme
b613be35fa Removes tabs 2020-04-07 10:15:42 -07:00
Jérôme
2a0fa2554a Migrate TestOgreComplexAnim to new anim system
Lots of code that did nothing in old test (on feet, hand). Only eft hand anim with the bone anim in simpleUpdate works. So I rework the test to do how actionSquence work and manipulate Armature and Joint with ArmatureMask apply.
So I think there is a bug in ArmatureDebugger when apply PointSize in material. In the render view all points on armature debug have same size.
2020-04-07 10:15:42 -07:00
Jérôme
3385cdaa3f Migrate TestBlenderObjectAnim to new anim system 2020-04-06 23:32:33 -07:00
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