jMonkeyEngine 3.1 alpha 5 released

If you skipped alpha 4 then all of those caveats still apply: jMonkeyEngine 3.1 alpha 4 released

Highlights of this release:

  • Material Parameter Overrides
  • some cloning bug fixes from regressions in alpha4
  • Texture arrays are now allowed as color buffer render targets.
  • Rendering depth to texture arrays.
  • AudioListenerState that automatically updates the Audio Listener with the main camera location
  • Fixes to audio and the addition of AudioNode.setVelocityFromTranslation() that will auto-calc velocity
  • Various bug fixes.
  • Removal of many deprecated classes and methods.

There were actually a lot of little fixes and changes in this release. I encourage you to peruse the full log… which I will post following this in two pieces because it is too big for one post.

If there are no other new features added and no objections from the team, I’d like to make the next release the first beta release in two weeks. Else we will have an alpha 6 at that time.

18 Likes

Change log part 1:

commit + 8d4962d11f8df8d438752cfaa966bde32ea0650e
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 23:46:41 2016 -0400

    fix failing unit test

M    jme3-core/src/test/java/com/jme3/material/MaterialTest.java

commit + f5072cba4a1e4411c9d29c37813ddbb6e7578bae
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 23:26:10 2016 -0400

    add better TestDoppler example

M    jme3-examples/src/main/java/jme3test/audio/TestDoppler.java

commit + 9d094b222af01a896e5ddf716af588fba0e819dd
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 23:25:06 2016 -0400

    AudioNode: add setVelocityFromTranslation

M    jme3-core/src/main/java/com/jme3/audio/AudioNode.java

commit + 2dca1a2732fabf33c12b6d0f8bcaaf70596fc58d
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 23:24:19 2016 -0400

    add AudioListenerState

M    jme3-core/src/main/java/com/jme3/app/SimpleApplication.java
A    jme3-core/src/main/java/com/jme3/audio/AudioListenerState.java
M    jme3-core/src/main/java/com/jme3/audio/Listener.java

commit + 2e328fc6e05d6355d76b3e48767c1341194063b9
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 23:22:39 2016 -0400

    test: add TestAnisotropicFilter

A    jme3-examples/src/main/java/jme3test/texture/TestAnisotropicFilter.java

commit + 97a53e0c99ea2757e692de5a65c67dc9a78ac614
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 23:21:38 2016 -0400

    material: add unit test

A    jme3-core/src/test/java/com/jme3/material/MaterialTest.java

commit + 65b7c205f9976226f378ff2e7602e9da52a457d2
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 23:21:05 2016 -0400

    StaticPass: fix spot light

M    jme3-core/src/main/java/com/jme3/material/logic/StaticPassLightingLogic.java

commit + 3f5cc4963e47e572b14a51e5319613244a5febba
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 23:20:41 2016 -0400

    FBX: use new loader by default

M    jme3-core/src/main/resources/com/jme3/asset/General.cfg
M    jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/obj/FbxObjectFactory.java

commit + 78b635726a9855e532c495a38926e00e3374510b
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 17:58:36 2016 -0400

    AL: fix crash when device is disconnected

M    jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java

commit + 44e568943b08572bb2e344563b2ed52d9a4f05e6
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 13:00:15 2016 -0400

    fix merge issues

M    jme3-core/src/main/java/com/jme3/material/RenderState.java

commit + 62968196971a98e8778ef4b0e892b4c7343b310e
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:39:20 2016 -0400

    native bullet: allow cross compiling linux -> windows

M    jme3-bullet-native/build.gradle

commit + 9332a04b1804e369e3f43e1705673b4ccf5e2a46
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:38:55 2016 -0400

    minor cleanup

M    jme3-core/src/main/java/com/jme3/export/SavableClassUtil.java

commit + f2f748ed7ecb4f158f2eb5a4247db24476b44e32
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:26:15 2016 -0400

    material: rename PostShadow15 -> PostShadow

M    jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java
M    jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java
M    jme3-core/src/main/resources/Common/MatDefs/Light/Lighting.j3md
M    jme3-core/src/main/resources/Common/MatDefs/Misc/Unshaded.j3md

commit + 5584ca9119790b9477c4565c139eee883ef1a7e9
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:23:27 2016 -0400

    test: add missing test data

A    jme3-core/src/test/resources/no-default-technique.j3md
A    jme3-core/src/test/resources/no-shader-specified.j3md

commit + d8cda6d23a3612ddf9e8ad9d754c21f0f10d31aa
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:22:37 2016 -0400

    GL: add missing GL_MAX* constants

M    jme3-core/src/main/java/com/jme3/renderer/opengl/GL.java

commit + 33b67a381cd448dc197ecdb8f4a9b537a9a10721
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:21:35 2016 -0400

    Renderer: add setDefaultAnisotropicFilter

M    jme3-core/src/main/java/com/jme3/renderer/Renderer.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
M    jme3-core/src/main/java/com/jme3/system/NullRenderer.java
M    jme3-core/src/main/java/com/jme3/texture/image/LastTextureState.java

commit + eecca5fa0f81bc44113be41ac3e10cb9fefefee9
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:19:21 2016 -0400

    Renderer: make getLimits() public

M    jme3-core/src/main/java/com/jme3/renderer/Limits.java
M    jme3-core/src/main/java/com/jme3/renderer/Renderer.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
M    jme3-core/src/main/java/com/jme3/system/NullRenderer.java

commit + ad129ff4981f76cd8e6cea4b53e5b1bc8ab4a0f5
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:17:53 2016 -0400

    static pass: fix various issues

M    jme3-core/src/main/java/com/jme3/material/logic/StaticPassLightingLogic.java

commit + 8bd5b59a0e081d4e7327d7dca77f5c8eee3f3d42
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:16:35 2016 -0400

    material: warn / ignore fixed function techniques

M    jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
M    jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java
M    jme3-core/src/test/java/com/jme3/material/plugins/J3MLoaderTest.java

commit + b6729c46d402499a3dfa0cfc904ccb44518a9521
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:15:01 2016 -0400

    code / comment cleanup

M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/Technique.java
M    jme3-core/src/main/java/com/jme3/renderer/Camera.java
M    jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
M    jme3-core/src/main/java/com/jme3/scene/VertexBuffer.java
M    jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java

commit + 876015ab47da18d39d10990fd0d82a59be2be864
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:09:36 2016 -0400

    deprecate alpha test / point sprite

M    jme3-core/src/main/java/com/jme3/effect/ParticleMesh.java
M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/RenderState.java
M    jme3-core/src/main/java/com/jme3/renderer/RenderContext.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
M    jme3-core/src/main/java/com/jme3/scene/Mesh.java
M    jme3-core/src/plugins/java/com/jme3/scene/plugins/MTLLoader.java
M    jme3-core/src/tools/java/jme3tools/optimize/TextureAtlas.java
M    jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/SceneLoader.java

commit + 37f8ee91afa40223650c0ff4c3b5c35a2a08c78f
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 12:04:20 2016 -0400

    more deprecation cleanup

M    jme3-core/src/main/java/com/jme3/asset/TextureKey.java
M    jme3-core/src/main/java/com/jme3/scene/debug/WireBox.java
M    jme3-terrain/src/main/java/com/jme3/terrain/GeoMap.java
M    jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/LODGeomap.java
M    jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainPatch.java
M    jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainQuad.java

commit + 112a77fd5dfcb85c636740740488b374fbb5e714
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 11:59:49 2016 -0400

    test: don't use deprecated box constructor

M    jme3-android/src/main/java/jme3test/android/SimpleTexturedTest.java
M    jme3-core/src/main/java/com/jme3/cinematic/MotionPath.java
M    jme3-examples/src/main/java/jme3test/animation/TestCameraMotionPath.java
M    jme3-examples/src/main/java/jme3test/animation/TestCinematic.java
M    jme3-examples/src/main/java/jme3test/animation/TestMotionPath.java
M    jme3-examples/src/main/java/jme3test/app/TestAppStateLifeCycle.java
M    jme3-examples/src/main/java/jme3test/app/TestBareBonesApp.java
M    jme3-examples/src/main/java/jme3test/app/TestReleaseDirectMemory.java
M    jme3-examples/src/main/java/jme3test/audio/TestAmbient.java
M    jme3-examples/src/main/java/jme3test/awt/TestAwtPanels.java
M    jme3-examples/src/main/java/jme3test/awt/TestSafeCanvas.java
M    jme3-examples/src/main/java/jme3test/batching/TestBatchNode.java
M    jme3-examples/src/main/java/jme3test/batching/TestBatchNodeCluster.java
M    jme3-examples/src/main/java/jme3test/batching/TestBatchNodeTower.java
M    jme3-examples/src/main/java/jme3test/bullet/TestAttachDriver.java
M    jme3-examples/src/main/java/jme3test/bullet/TestBrickTower.java
M    jme3-examples/src/main/java/jme3test/bullet/TestBrickWall.java
M    jme3-examples/src/main/java/jme3test/bullet/TestCcd.java
M    jme3-examples/src/main/java/jme3test/bullet/TestCollisionGroups.java
M    jme3-examples/src/main/java/jme3test/bullet/TestGhostObject.java
M    jme3-examples/src/main/java/jme3test/bullet/TestRagdollCharacter.java
M    jme3-examples/src/main/java/jme3test/bullet/TestWalkingChar.java
M    jme3-examples/src/main/java/jme3test/collision/TestMousePick.java
M    jme3-examples/src/main/java/jme3test/effect/TestSoftParticles.java
M    jme3-examples/src/main/java/jme3test/games/CubeField.java
M    jme3-examples/src/main/java/jme3test/helloworld/HelloAssets.java
M    jme3-examples/src/main/java/jme3test/helloworld/HelloInput.java
M    jme3-examples/src/main/java/jme3test/light/TestDirectionalLightShadow.java
M    jme3-examples/src/main/java/jme3test/light/TestPssmShadow.java
M    jme3-examples/src/main/java/jme3test/light/TestShadow.java
M    jme3-examples/src/main/java/jme3test/light/TestShadowsPerf.java
M    jme3-examples/src/main/java/jme3test/light/TestSpotLight.java
M    jme3-examples/src/main/java/jme3test/light/TestSpotLightShadows.java
M    jme3-examples/src/main/java/jme3test/model/shape/TestBillboard.java
M    jme3-examples/src/main/java/jme3test/model/shape/TestBox.java
M    jme3-examples/src/main/java/jme3test/niftygui/TestNiftyGui.java
M    jme3-examples/src/main/java/jme3test/niftygui/TestNiftyToMesh.java
M    jme3-examples/src/main/java/jme3test/post/TestBloom.java
M    jme3-examples/src/main/java/jme3test/post/TestCrossHatch.java
M    jme3-examples/src/main/java/jme3test/post/TestPosterization.java
M    jme3-examples/src/main/java/jme3test/post/TestRenderToMemory.java
M    jme3-examples/src/main/java/jme3test/post/TestRenderToTexture.java
M    jme3-examples/src/main/java/jme3test/water/TestPostWater.java

commit + f4e948d7bd87ce7b2e294b564a37586d3b6cc51a
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 11:53:06 2016 -0400

    remove deprecated classes

M    jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainGrid.java
M    jme3-terrain/src/main/java/com/jme3/terrain/heightmap/ImageBasedHeightMap.java

commit + a563c6cc7b902ee5f8175a783c8b4059a9529175
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 10 11:46:18 2016 -0400

    remove deprecated classes

D    jme3-android/src/main/java/com/jme3/asset/AndroidImageInfo.java
D    jme3-android/src/main/java/com/jme3/audio/android/AndroidMediaPlayerAudioRenderer.java
D    jme3-android/src/main/java/com/jme3/renderer/android/TextureUtil.java
D    jme3-android/src/main/java/com/jme3/texture/plugins/AndroidImageLoader.java
D    jme3-core/src/main/java/com/jme3/animation/BoneAnimation.java
D    jme3-core/src/main/java/com/jme3/animation/SpatialAnimation.java
D    jme3-core/src/main/java/com/jme3/effect/ParticleComparator.java
D    jme3-desktop/src/main/java/com/jme3/system/Natives.java
D    jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/lodcalc/LodCalculatorFactory.java
D    jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/lodcalc/LodDistanceCalculatorFactory.java
D    jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/lodcalc/LodPerspectiveCalculatorFactory.java
D    jme3-terrain/src/main/java/com/jme3/terrain/heightmap/ImageBasedHeightMapGrid.java
D    jme3-terrain/src/main/java/com/jme3/terrain/heightmap/ImageHeightmap.java

commit + 2f26b34bd0643d1882a7cf6f5ec61c56b356f941
Author: Kirill Vainer <shadowislord>
Date:   Sat Apr 9 12:12:02 2016 -0400

    material: refer to default technique via constant

M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
M    jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
M    jme3-core/src/test/java/com/jme3/renderer/OpaqueComparatorTest.java
M    jme3-core/src/tools/java/jme3tools/shadercheck/ShaderCheck.java
M    jme3-examples/src/main/java/jme3test/material/TestShaderNodes.java

commit + fbcfbc04843d5ce7963d0e6e15e387ce125739af
Author: Kirill Vainer <shadowislord>
Date:   Fri Apr 8 23:38:02 2016 -0400

    test: add required file

A    jme3-core/src/test/resources/same-name-technique.j3md

commit + e4f7916301dd837f58b95a2ffd6899dc100eb561
Author: Kirill Vainer <shadowislord>
Date:   Fri Apr 8 23:31:39 2016 -0400

    Material: allow multiple named techniques

M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/MaterialDef.java
M    jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
M    jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
M    jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java
M    jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java
M    jme3-core/src/test/java/com/jme3/material/plugins/J3MLoaderTest.java
M    jme3-core/src/tools/java/jme3tools/shadercheck/ShaderCheck.java

commit + 83259061d379b6842735034943c8c5ad191fa7e3
Author: Kirill Vainer <shadowislord>
Date:   Fri Apr 8 23:28:02 2016 -0400

    RM: add ability to force mat param

M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/Technique.java
M    jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
M    jme3-core/src/test/java/com/jme3/material/MaterialMatParamOverrideTest.java

commit + d0035b0bc63aa9aebc2196719d5cbd350a995516
Author: Kirill Vainer <shadowislord>
Date:   Fri Apr 8 23:15:49 2016 -0400

    test: fix syntax error

M    jme3-core/src/test/java/com/jme3/material/plugins/J3MLoaderTest.java

commit + fc488be37b8151db5bc557c8633cb0fcc87dc8af
Author: Kirill Vainer <shadowislord>
Date:   Fri Apr 8 23:13:28 2016 -0400

    test: remove duplicate annotation

M    jme3-core/src/test/java/com/jme3/material/MaterialMatParamOverrideTest.java

commit + 2e6f2701c0f7748308c77be7c61d26b1a2f338ac
Author: Kirill Vainer <shadowislord>
Date:   Fri Apr 8 23:09:19 2016 -0400

    Material / MatParamTexture: remove texture unit fields

M    jme3-core/src/main/java/com/jme3/material/MatParamTexture.java
M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/MaterialDef.java

commit + f72df167c0311dc9a4fe14bba86d84669f6cefa7
Author: Kirill Vainer <shadowislord>
Date:   Fri Apr 8 23:05:15 2016 -0400

    MPO: make sure child overrides parent

M    jme3-core/src/main/java/com/jme3/scene/Spatial.java
M    jme3-core/src/test/java/com/jme3/material/MaterialMatParamOverrideTest.java

commit + bffa2191e5753b7013c5224e45ccf8f749a7ef83
Author: Teencrusher <jfrenaud>
Date:   Thu Apr 7 10:06:34 2016 -0400

    Moved glBlendEquationSeparate from GL2 interface to GL interface. Added an example of the feature. Minors issues.

M    jme3-android/src/main/java/com/jme3/renderer/android/AndroidGL.java
M    jme3-core/src/main/java/com/jme3/material/RenderState.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GL.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GL2.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLDebugDesktop.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLDebugES.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
A    jme3-examples/src/main/java/jme3test/renderer/TestBlendEquations.java
M    jme3-ios/src/main/java/com/jme3/renderer/ios/IosGL.java
M    jme3-ios/src/main/java/com/jme3/renderer/ios/JmeIosGLES.java

commit + d1aae8d4791ac4b6a85157c3e6402431b7afb380
Author: Teencrusher <jfrenaud>
Date:   Wed Apr 6 13:56:13 2016 -0400

    Added support to glBlendEquation for renderes implementing GL2, and material loading support

M    jme3-core/src/main/java/com/jme3/material/RenderState.java
M    jme3-core/src/main/java/com/jme3/renderer/RenderContext.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GL2.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLDebugDesktop.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
M    jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java
M    jme3-jogl/src/main/java/com/jme3/renderer/jogl/JoglGL.java
M    jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglGL.java
M    jme3-lwjgl3/src/main/java/com/jme3/renderer/lwjgl/LwjglGL.java

commit + 80f4e0493528d7689ea306d95b72b1de6f0ba576
Author: Paul Speed <pspeed42>
Date:   Tue Apr 5 11:01:27 2016 -0400

    Fixed cloning to not confuse the hardware skinning safety check
    that attempts to protect users from shared materials.

M    jme3-core/src/main/java/com/jme3/animation/SkeletonControl.java

commit + 271f6492dd852830ab5d1ff20694ea1f4583b201
Author: Paul Speed <pspeed42>
Date:   Tue Apr 5 09:12:45 2016 -0400

    Fixed a bug in cloning that prevented a null from being usable
    as a 'precloned' value.  This made Spatial attempt to clone its
    parent.

M    jme3-core/src/main/java/com/jme3/util/clone/Cloner.java

commit + 008768f18c7133c0ae977035e939b5f5a626d46b
Author: jmekaelthas <mroguski>
Date:   Mon Apr 4 18:57:56 2016 +0200

    Feature: appending user defined UV sets to the mesh even if they are not
    directly used by the model.

M    jme3-blender/src/main/java/com/jme3/scene/plugins/blender/materials/MaterialContext.java
M    jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/CombinedTexture.java

commit + a2554874d3e44496ba2a7d96d08f6ea1c69fa513
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 3 17:55:58 2016 -0400

    run: only set log file path if non-null

M    jme3-examples/build.gradle

commit + d1b866735ab7b9d7cb50fbdac9529407cb7117c3
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 3 16:56:03 2016 -0400

    don't use deprecated AudioNode constructor

M    jme3-examples/src/main/java/jme3test/audio/TestOgg.java

commit + a1fd3ff3d93114b467342f85b9e2a8237a3e6656
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 3 16:55:06 2016 -0400

    VB: indicate refresh when usage changes

M    jme3-core/src/main/java/com/jme3/scene/VertexBuffer.java

commit + a82b9a4a3de7c472a5de0ff2fedafff25506826d
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 3 16:46:32 2016 -0400

    TestRenderToMemory: fix fps display

M    jme3-examples/src/main/java/jme3test/post/TestRenderToMemory.java

commit + acda6e371cadad26544bb91a3fc16e9b05b5a543
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 3 16:44:47 2016 -0400

    MPO: refresh MPOs on Spatial.deepClone()

M    jme3-core/src/main/java/com/jme3/scene/Node.java
M    jme3-core/src/main/java/com/jme3/scene/Spatial.java

commit + 52487041b4f833061cdfa9d335f6741e91534f31
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 3 16:42:11 2016 -0400

    fix crashes in several tests

M    jme3-examples/src/main/java/jme3test/effect/TestEverything.java
M    jme3-examples/src/main/java/jme3test/material/TestParallax.java
M    jme3-examples/src/main/java/jme3test/post/TestPostFilters.java
M    jme3-testdata/src/main/resources/Textures/Terrain/BrickWall/BrickWall.j3m
D    jme3-testdata/src/main/resources/Textures/Terrain/BrickWall/BrickWall2.j3m

commit + 47c26ac0e4a7ec25f8a7c0931762a812ea4ebd80
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 3 16:40:45 2016 -0400

    fix issue #441

M    jme3-jogl/src/main/java/com/jme3/system/jogl/JoglAbstractDisplay.java
M    jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java

commit + a8aabac1c999ca1605c7308833db438666c0d350
Author: Kirill Vainer <shadowislord>
Date:   Sun Apr 3 16:25:26 2016 -0400

    fix issue #441

M    jme3-desktop/src/main/java/com/jme3/system/JmeDesktopSystem.java
M    jme3-jogl/src/main/java/com/jme3/system/jogl/JoglNewtAbstractDisplay.java
M    jme3-jogl/src/main/java/com/jme3/system/jogl/JoglOffscreenBuffer.java
M    jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java
M    jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglContext.java
M    jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglWindow.java

commit + a4b65ec921e9aa8abe9967b5039cf5bca5cc1aad
Author: Kirill Vainer <shadowislord>
Date:   Sat Apr 2 17:30:48 2016 -0400

    GLRenderer: fix line width

M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java

commit + 3b5d1eebd8273ee703b424340c45a343ef2a8117
Author: Kirill Vainer <shadowislord>
Date:   Sat Apr 2 16:28:00 2016 -0400

    renderstate: disallow line width < 1f

M    jme3-core/src/main/java/com/jme3/material/RenderState.java
M    jme3-core/src/main/java/com/jme3/scene/Mesh.java

commit + 13755fb75beb859bae29ede16f0ef9cdd9c27a28
Author: Kirill Vainer <shadowislord>
Date:   Sat Apr 2 16:27:14 2016 -0400

    unit test: delete library loader test

D    jme3-desktop/src/test/java/LibraryLoaderTest.java

commit + 49a9a6f99bdf63db66f3dc769ef3fcfa1759255b
Author: Kirill Vainer <shadowislord>
Date:   Sat Apr 2 16:13:46 2016 -0400

    fix renderer crash due to merge

M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java

commit + 2e4148f3c3e580fee8e131030fd1e06b1e5c1a1d
Author: Kirill Vainer <shadowislord>
Date:   Sat Apr 2 15:54:45 2016 -0400

    merge fixes

M    jme3-core/src/main/java/com/jme3/scene/Spatial.java
M    jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java

commit + f3414acc733ae802175ee482dc4e43b0c949fd31
Author: Kirill Vainer <shadowislord>
Date:   Sat Apr 2 14:31:23 2016 -0400

    MPO: fix unit test

M    jme3-core/src/main/resources/Common/MatDefs/Light/Lighting.j3md
M    jme3-core/src/test/java/com/jme3/material/MaterialMatParamOverrideTest.java

commit + 85ffb48efb0b23d93b9d00181b94d205ec63134a
Author: Kirill Vainer <shadowislord>
Date:   Sat Apr 2 14:18:08 2016 -0400

    unit test: more descriptive failure message

M    common.gradle
M    jme3-core/src/test/java/com/jme3/material/MaterialMatParamOverrideTest.java
M    jme3-core/src/test/java/com/jme3/scene/MPOTestUtils.java

commit + c03e831f3c123b1a92a7c2ae2961077ec7ad9aef
Author: Kirill Vainer <shadowislord>
Date:   Sat Apr 2 14:04:36 2016 -0400

    SkeletonControl: fix syntax error
    
    Conflicts:
        jme3-core/src/main/java/com/jme3/animation/SkeletonControl.java

M    jme3-core/src/main/java/com/jme3/animation/SkeletonControl.java

commit + c6c6b48bda01d1327a0b412d67e01d576b714501
Author: Kirill Vainer <shadowislord>
Date:   Tue Mar 8 19:36:40 2016 -0500

    MPO: clone MPOs instead of sharing references
    
    Conflicts:
        jme3-core/src/main/java/com/jme3/scene/Spatial.java

M    jme3-core/src/main/java/com/jme3/scene/Spatial.java
M    jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java
D    jme3-examples/src/main/java/jme3test/app/TestNativeLoader.java

commit + 14438e78e33a3bd61494b88880206e8230eca3c1
Author: Kirill Vainer <shadowislord>
Date:   Tue Mar 8 19:34:43 2016 -0500

    fix null checks

M    jme3-core/src/main/java/com/jme3/scene/Spatial.java
M    jme3-core/src/main/java/com/jme3/shader/Uniform.java

commit + 21e63687cf2cc1b81d8db30114401ad84d661ddf
Author: Kirill Vainer <shadowislord>
Date:   Tue Mar 8 19:33:51 2016 -0500

    MPO: add null override list check

M    jme3-core/src/main/java/com/jme3/material/Technique.java

commit + 5588e859cbe21a990bde4770eb78596628a905c9
Author: Kirill Vainer <shadowislord>
Date:   Tue Mar 8 19:32:19 2016 -0500

    MPO: clear param for null textures

M    jme3-core/src/main/java/com/jme3/material/Material.java

commit + 06b817e116aac8f4c9b3777f24c05a91f5e96090
Author: Kirill Vainer <shadowislord>
Date:   Tue Mar 8 15:16:55 2016 -0500

    MPO: add javadoc

M    jme3-core/src/main/java/com/jme3/material/MatParam.java
M    jme3-core/src/main/java/com/jme3/material/MatParamOverride.java
M    jme3-core/src/main/java/com/jme3/scene/Spatial.java
M    jme3-core/src/test/java/com/jme3/material/MaterialMatParamOverrideTest.java
M    jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java

commit + 8344994328d490967754f3027610aa4e19b0c087
Author: Kirill Vainer <shadowislord>
Date:   Tue Mar 8 15:15:53 2016 -0500

    MPO: use List instead of ArrayList
    
    Also rename get*Overrides to get*MatParamOverrides to be more specific.

M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/Technique.java
M    jme3-core/src/main/java/com/jme3/scene/Spatial.java
M    jme3-core/src/test/java/com/jme3/scene/MPOTestUtils.java
M    jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java
M    jme3-examples/src/main/java/jme3test/material/TestMatParamOverride.java

commit + 50658b8e539e93bbc3ac0eaa979b712738947ef3
Author: Kirill Vainer <shadowislord>
Date:   Tue Mar 8 15:14:00 2016 -0500

    MPO: add ability to disable an override

M    jme3-core/src/main/java/com/jme3/material/MatParamOverride.java
M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/Technique.java
A    jme3-core/src/test/java/com/jme3/material/MaterialMatParamOverrideTest.java
D    jme3-core/src/test/java/com/jme3/material/TechniqueDefMatParamOverrideTest.java

commit + db691dab998690f99d2b85b1d85c05af27747013
Author: Kirill Vainer <shadowislord>
Date:   Sat Mar 5 19:32:21 2016 -0500

    MPO: add example

A    jme3-examples/src/main/java/jme3test/material/TestMatParamOverride.java

commit + 5d2f2b19e6110c8c8429d16beb4f68f305d9db8b
Author: Kirill Vainer <shadowislord>
Date:   Sat Mar 5 19:31:26 2016 -0500

    spatial: fix bug in remove/clear MPO
    
    add unit test for those methods

M    jme3-core/src/main/java/com/jme3/scene/Spatial.java
M    jme3-core/src/test/java/com/jme3/material/TechniqueDefMatParamOverrideTest.java
M    jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java

commit + 5be03af56413569307bf52f788a3035b09faabfa
Author: Kirill Vainer <shadowislord>
Date:   Sat Mar 5 19:30:28 2016 -0500

    material: fix sort id unit test failure

M    jme3-core/src/main/java/com/jme3/material/Technique.java

commit + 59614e177c139ae0030843a06a6975bfea1ce6a1
Author: Kirill Vainer <shadowislord>
Date:   Sat Mar 5 19:05:36 2016 -0500

    MPO: implement overrides on uniforms and add test

M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/Technique.java
M    jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
M    jme3-core/src/main/java/com/jme3/shader/Uniform.java
A    jme3-core/src/test/java/com/jme3/material/TechniqueDefMatParamOverrideTest.java

Change log part 2:

commit + 2b35f288c273ab42ca01d49f9c3e98603d951822
Author: Kirill Vainer <shadowislord>
Date:   Sat Mar 5 19:02:16 2016 -0500

    MPO: implement propagation and add test
    
    Conflicts:
        jme3-core/src/main/java/com/jme3/scene/Node.java
        jme3-core/src/main/java/com/jme3/scene/Spatial.java

M    jme3-core/src/main/java/com/jme3/material/MatParamOverride.java
M    jme3-core/src/main/java/com/jme3/scene/Node.java
M    jme3-core/src/main/java/com/jme3/scene/Spatial.java
A    jme3-core/src/test/java/com/jme3/scene/MPOTestUtils.java
A    jme3-core/src/test/java/com/jme3/scene/SceneMatParamOverrideTest.java

commit + 280733c1ce218dafcbf88962b59724c350a9549d
Author: Kirill Vainer <shadowislord>
Date:   Sat Mar 5 18:59:04 2016 -0500

    material: move technique logic into its own package

D    jme3-core/src/main/java/com/jme3/material/DefaultTechniqueDefLogic.java
D    jme3-core/src/main/java/com/jme3/material/MultiPassLightingLogic.java
D    jme3-core/src/main/java/com/jme3/material/SinglePassLightingLogic.java
D    jme3-core/src/main/java/com/jme3/material/StaticPassLightingLogic.java
M    jme3-core/src/main/java/com/jme3/material/Technique.java
M    jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
D    jme3-core/src/main/java/com/jme3/material/TechniqueDefLogic.java
A    jme3-core/src/main/java/com/jme3/material/logic/DefaultTechniqueDefLogic.java
A    jme3-core/src/main/java/com/jme3/material/logic/MultiPassLightingLogic.java
A    jme3-core/src/main/java/com/jme3/material/logic/SinglePassLightingLogic.java
A    jme3-core/src/main/java/com/jme3/material/logic/StaticPassLightingLogic.java
A    jme3-core/src/main/java/com/jme3/material/logic/TechniqueDefLogic.java
M    jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java

commit + 10a87ce24eababa56db0c0471c72cfb3d447400f
Author: Kirill Vainer <shadowislord>
Date:   Sat Mar 5 17:33:16 2016 -0500

    add StaticPassLightingLogic

A    jme3-core/src/main/java/com/jme3/material/StaticPassLightingLogic.java

commit + cb5c1395b3b21190878fdec7f41ee9d92329f3f0
Author: Kirill Vainer <shadowislord>
Date:   Fri Mar 4 16:59:15 2016 -0500

    initial implementation of MPO (untested!)

A    jme3-core/src/main/java/com/jme3/material/MatParamOverride.java
M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/Technique.java
M    jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
M    jme3-core/src/main/java/com/jme3/scene/Spatial.java
M    jme3-core/src/main/java/com/jme3/shader/DefineList.java

commit + 239524c85bfe8a5a66dd5b81d03c150ed9eeb900
Author: Kirill Vainer <shadowislord>
Date:   Wed Mar 2 13:44:12 2016 -0500

    desktop: don't show dialogs when headless

M    jme3-desktop/src/main/java/com/jme3/system/JmeDesktopSystem.java

commit + 80af02e1f34ca42a5caee6d3be8e273648ca2f4e
Author: Kirill Vainer <shadowislord>
Date:   Sun Feb 21 21:53:48 2016 -0500

    syntax error fixes

M    jme3-core/src/main/java/com/jme3/material/DefaultTechniqueDefLogic.java
M    jme3-core/src/main/java/com/jme3/material/Material.java
M    jme3-core/src/main/java/com/jme3/material/SinglePassLightingLogic.java
M    jme3-core/src/main/java/com/jme3/material/Technique.java
M    jme3-core/src/main/java/com/jme3/material/TechniqueDefLogic.java
M    jme3-core/src/main/java/com/jme3/renderer/RenderManager.java

commit + 0f1c35c5f06c84431854a9b5a505c5401665e527
Author: Kirill Vainer <shadowislord>
Date:   Mon Dec 7 21:34:51 2015 -0500

    minor formatting changes
    
    Conflicts:
        jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java

M    jme3-core/src/main/java/com/jme3/material/DefaultTechniqueDefLogic.java
M    jme3-core/src/main/java/com/jme3/material/SinglePassLightingLogic.java
M    jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglContext.java

commit + 01a67b6c66e4801717bbc9a293b19fbfad8950e0
Author: Kirill Vainer <shadowislord>
Date:   Thu Nov 26 14:16:10 2015 -0500

    gitignore: more cleanup
    
    Conflicts:
        .gitignore

M    .gitignore

commit + 4b8acb96a70bc034b3201f003063ee83228fde96
Author: Kirill Vainer <shadowislord>
Date:   Thu Nov 26 14:09:28 2015 -0500

    gitignore: cleanup
    
    Conflicts:
        .gitignore

M    .gitignore

commit + e8df94de1c5829d0a2fed67042b9ec0f58039f78
Author: Kirill Vainer <shadowislord>
Date:   Thu Nov 26 13:27:31 2015 -0500

    FastMathTest: ignore failing test (for now)

M    jme3-core/src/test/java/com/jme3/math/FastMathTest.java

commit + 47bae5af595ddd75c1a0d42e9022aa4c2a6afb06
Author: Kirill Vainer <shadowislord>
Date:   Tue Nov 24 21:54:01 2015 -0500

    TestShaderNodes: fix build error

M    jme3-examples/src/main/java/jme3test/material/TestShaderNodes.java

commit + 6a47319dbbc9c75825250e7466a5abba741cba50
Author: Kirill Vainer <shadowislord>
Date:   Tue Nov 24 21:33:26 2015 -0500

    DefineList: fix build error
    
    Also add additional unit tests for DefineList.

M    jme3-core/src/main/java/com/jme3/shader/DefineList.java
M    jme3-core/src/test/java/com/jme3/shader/DefineListTest.java

commit + 9d035f747a76f8333a1005e9671f15192bebab75
Author: Kirill Vainer <shadowislord>
Date:   Sun Nov 22 13:13:00 2015 -0500

    Add the new material system
    
    Also includes some unrelated tests
    
    Conflicts:
        jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
        jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java

M    jme3-core/src/main/java/com/jme3/asset/AssetManager.java
M    jme3-core/src/main/java/com/jme3/asset/DesktopAssetManager.java
A    jme3-core/src/main/java/com/jme3/material/DefaultTechniqueDefLogic.java
M    jme3-core/src/main/java/com/jme3/material/MatParam.java
M    jme3-core/src/main/java/com/jme3/material/MatParamTexture.java
M    jme3-core/src/main/java/com/jme3/material/Material.java
A    jme3-core/src/main/java/com/jme3/material/MultiPassLightingLogic.java
A    jme3-core/src/main/java/com/jme3/material/SinglePassLightingLogic.java
M    jme3-core/src/main/java/com/jme3/material/Technique.java
M    jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
A    jme3-core/src/main/java/com/jme3/material/TechniqueDefLogic.java
M    jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
M    jme3-core/src/main/java/com/jme3/renderer/queue/GeometryList.java
M    jme3-core/src/main/java/com/jme3/renderer/queue/OpaqueComparator.java
M    jme3-core/src/main/java/com/jme3/shader/DefineList.java
M    jme3-core/src/main/java/com/jme3/shader/Shader.java
M    jme3-core/src/main/java/com/jme3/shader/ShaderGenerator.java
D    jme3-core/src/main/java/com/jme3/shader/ShaderKey.java
M    jme3-core/src/main/java/com/jme3/shader/UniformBindingManager.java
M    jme3-core/src/main/java/com/jme3/system/NullContext.java
M    jme3-core/src/main/java/com/jme3/system/NullRenderer.java
M    jme3-core/src/main/resources/Common/MatDefs/Light/Lighting.j3md
M    jme3-core/src/plugins/java/com/jme3/material/plugins/J3MLoader.java
M    jme3-core/src/plugins/java/com/jme3/material/plugins/ShaderNodeLoaderDelegate.java
A    jme3-core/src/test/java/com/jme3/asset/LoadShaderSourceTest.java
M    jme3-core/src/test/java/com/jme3/math/FastMathTest.java
A    jme3-core/src/test/java/com/jme3/renderer/OpaqueComparatorTest.java
A    jme3-core/src/test/java/com/jme3/shader/DefineListTest.java
A    jme3-core/src/test/java/com/jme3/system/MockJmeSystemDelegate.java
A    jme3-core/src/test/java/com/jme3/system/TestUtil.java
M    jme3-core/src/tools/java/jme3tools/shadercheck/ShaderCheck.java
A    jme3-desktop/src/test/java/LibraryLoaderTest.java

commit + 49339497fa3ab6fd3ba51cf81dc1f40d72a45e62
Author: Kirill Vainer <shadowislord>
Date:   Sat Sep 5 17:31:59 2015 -0400

    Uniform: fix crash when using vector4array

M    jme3-core/src/main/java/com/jme3/shader/Uniform.java

commit + e6d829fac4d0744e59deb22b634b1910edad6f5b
Author: Kirill Vainer <shadowislord>
Date:   Fri Aug 21 20:34:34 2015 -0400

    GLRenderer: added fast uniforms - still need to fix Uniform.clear()

M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
M    jme3-core/src/main/java/com/jme3/shader/Uniform.java

commit + b39c46a82a975256b54c3e7e6128075d3e62d391
Author: Georgeto <Georgeto>
Date:   Fri Apr 1 09:19:50 2016 +0200

    Let lwjgl respect the AlphaBits setting.

M    jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglCanvas.java
M    jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglDisplay.java
M    jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglOffscreenBuffer.java

commit + f61b1439cc1ea63e456ea1ac6fca9c722dea2745
Author: Fadorico <fadorico>
Date:   Thu Mar 31 22:42:53 2016 -0400

    Combine result of both listeners to determine if the collision should occur (jbullet)

M    jme3-jbullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

commit + 83b26be45afdf7699fc48d2783b88b55bdcf4514
Author: Fadorico <fadorico>
Date:   Thu Mar 31 01:39:54 2016 -0400

    Combine result of both listeners to determine if the collision should occur

M    jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

commit + 75791883ec5ac9818a435256e8d90bbeddac8cf4
Author: Jan Ivenz <jan.ivenz>
Date:   Wed Mar 16 18:53:03 2016 +0100

    For LightFilter to be implementable frustumCheckNeeded and intersectsFrustum need to be accesible.

M    jme3-core/src/main/java/com/jme3/light/Light.java

commit + 98a9f5c628ba3644289b2e23ada3924492a10424
Author: Jan Ivenz <jan.ivenz>
Date:   Wed Mar 16 11:25:43 2016 +0100

    Fixed shader generation bug for array variables.

M    jme3-core/src/main/java/com/jme3/shader/Glsl100ShaderGenerator.java
M    jme3-core/src/plugins/java/com/jme3/material/plugins/ShaderNodeLoaderDelegate.java

commit + c6143ae6409b59b863eb23170c40b0e57515532c
Author: Jan Ivenz <jan.ivenz>
Date:   Fri Jan 29 13:04:31 2016 +0100

    Rendering depth to texture arrays.

M    jme3-core/src/main/java/com/jme3/renderer/opengl/GL3.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLDebugDesktop.java
M    jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
M    jme3-core/src/main/java/com/jme3/shader/VarType.java
M    jme3-core/src/main/java/com/jme3/texture/FrameBuffer.java
M    jme3-jogl/src/main/java/com/jme3/renderer/jogl/JoglGL.java
M    jme3-lwjgl/src/main/java/com/jme3/renderer/lwjgl/LwjglGL.java
M    jme3-lwjgl3/src/main/java/com/jme3/renderer/lwjgl/LwjglGL.java

commit + 4162fb9447f642ef64149431aeb673e60737d566
Author: Jan Ivenz <jan.ivenz>
Date:   Thu Jan 21 14:13:18 2016 +0100

    Texture arrays are now allowed as color buffer render targets.

M    jme3-core/src/main/java/com/jme3/texture/FrameBuffer.java

commit + 85e284a7b00afef820e962445dffd54f37c6edc8
Author: javasabr <javasabr>
Date:   Tue Mar 29 19:13:00 2016 +0300

    moved the magic number to constant

M    jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwMouseInput.java

commit + 98f1bfc0c15fef8e8653d420fbc7a60d75e15bad
Author: javasabr <javasabr>
Date:   Tue Mar 29 06:48:47 2016 +0300

    fixed NPE

M    jme3-core/src/main/java/com/jme3/app/LegacyApplication.java

commit + 7a3a0627c2b0c46e929ec98255457ca5ff5fc812
Author: javasabr <javasabr>
Date:   Tue Mar 29 06:48:40 2016 +0300

    fixed the scroll of mouse and the buffer overflow.

M    jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwMouseInput.java

commit + b5b6ebd97cfb72f13a18db92ae0282a5f4a8910d
Author: javasabr <javasabr>
Date:   Tue Mar 29 06:47:36 2016 +0300

    fixed the input of chars for UI.

M    jme3-lwjgl3/src/main/java/com/jme3/input/lwjgl/GlfwKeyInput.java

commit + 68ace33dbd9e0e9630d5aa54cc11296fa82270a2
Author: Paul Speed <pspeed42>
Date:   Mon Mar 28 11:06:29 2016 -0400

    Fixed an NPE when jmeClone() was asked to clone a null.

M    jme3-core/src/main/java/com/jme3/util/clone/Cloner.java

commit + 78a5a25fc1c2177db9440d8f40ebd8c6f172e2ac
Author: Paul Speed <pspeed42>
Date:   Mon Mar 28 11:03:58 2016 -0400

    Added the app state varargs constructor to LegacyApplication and
    modified SimpleApplication to use it.

M    jme3-core/src/main/java/com/jme3/app/LegacyApplication.java
M    jme3-core/src/main/java/com/jme3/app/SimpleApplication.java

commit + 47b37a088f4ea423a9c08e33b42e1c3e63d21630
Author: Kirill Vainer <shadowislord>
Date:   Mon Mar 28 10:38:23 2016 -0400

    gitignore: ignore .DS_Store files

M    .gitignore

commit + ef626b095958f1ca4dc536d0eda3f7c4a06270c1
Author: Fadorico <fadorico>
Date:   Wed Mar 23 02:37:03 2016 -0400

    Fixed group collision check in native broadphase

M    jme3-bullet-native/src/native/cpp/jmeClasses.cpp
M    jme3-bullet-native/src/native/cpp/jmeClasses.h
M    jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp
M    jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

commit + 48b3f1a4d3e843e72de46495b10de7eb699fd3db
Author: jmekaelthas <mroguski>
Date:   Tue Mar 15 17:18:16 2016 +0100

    Bugfix: fixes to face triangulation and some edges computations.

M    jme3-blender/src/main/java/com/jme3/scene/plugins/blender/meshes/Edge.java
M    jme3-blender/src/main/java/com/jme3/scene/plugins/blender/meshes/Face.java

commit + 7628b0f9e34447d81ab9f21f2467762b3675350f
Author: Fadorico <>
Date:   Wed Mar 9 15:08:56 2016 -0500

    Fixed collision group listeners not being notified

M    jme3-bullet/src/main/java/com/jme3/bullet/PhysicsSpace.java

Hi,

I tested the alpha5 in my game and there may be a problem with particle emitter.

This is a screenshot from with alpha4:

Same code with alpha5:

I am using a basic code to generate the emitter:

        ParticleEmitter fire =
                new ParticleEmitter("Fire", ParticleMesh.Type.Triangle, 30);
        Material mat_red = new Material(MainClasses.basicGameState.getAssetManager(),
                "Common/MatDefs/Misc/Particle.j3md");
        mat_red.setTexture("Texture", MainClasses.basicGameState.getAssetManager().loadTexture(
                "Effects/flame.png"));
        fire.setMaterial(mat_red);
        fire.setImagesX(2);
        fire.setImagesY(2); // 2x2 texture animation
        fire.setEndColor(new ColorRGBA(1f, 0f, 0f, 1f)); // red
        fire.setStartColor(new ColorRGBA(1f, 1f, 0f, 0.5f)); // yellow
        fire.getParticleInfluencer().setInitialVelocity(new Vector3f(0, 2, 0));
        fire.setStartSize(1.5f);
        fire.setEndSize(0.1f);
        fire.setGravity(0, 0, 0);
        fire.setLowLife(1f);
        fire.setHighLife(3f);
        fire.getParticleInfluencer().setVelocityVariation(0.3f);

I am not sure if it is material related?

Does the TestSoftParticle exhibit the same problem for you?

https://hub.jmonkeyengine.org/uploads/default/original/2X/0/0c674d892453f768fb7de0b26fafb1b587cbaf0f.jpg

5 Likes

So the TestSoftParticle works fine…

I checked the logfile. In alpha 5 I see the following (in my game):

Apr 17, 2016 9:32:50 AM com.jme3.material.plugins.J3MLoader readTechnique
WARNUNG: Fixed function technique was ignored
Apr 17, 2016 9:32:50 AM com.jme3.material.plugins.J3MLoader readTechnique
WARNUNG: Fixed function technique 'Default' was ignored for material Common/MatDefs/Misc/Particle.j3md

I also get some Warnings with a pre-existing material definition after upgrading to alpha 5:

Apr 17, 2016 9:33:28 AM com.jme3.material.plugins.J3MLoader readDefine
WARNING: In technique 'GBuf':
Define 'VERTEX_COLOR' mapped to non-existent material parameter 'UseVertexColor', ignoring.
Apr 17, 2016 9:33:28 AM com.jme3.material.plugins.J3MLoader readDefine
WARNING: In technique 'GBuf':
Define 'MATERIAL_COLORS' mapped to non-existent material parameter 'UseMaterialColors', ignoring.
Apr 17, 2016 9:33:28 AM com.jme3.material.plugins.J3MLoader readDefine
WARNING: In technique 'GBuf':
Define 'V_TANGENT' mapped to non-existent material parameter 'VTangent', ignoring.
Apr 17, 2016 9:33:28 AM com.jme3.material.plugins.J3MLoader readDefine
WARNING: In technique 'GBuf':
Define 'MINNAERT' mapped to non-existent material parameter 'Minnaert', ignoring.
Apr 17, 2016 9:33:28 AM com.jme3.material.plugins.J3MLoader readDefine
WARNING: In technique 'GBuf':
Define 'PARALLAXMAP' mapped to non-existent material parameter 'ParallaxMap', ignoring.

So far I didn’t see any visual problems related to it, but I thought it might be helpful for you.

So the log entry comes from this part in the particle.j3md:

Technique {

        RenderState {

            Blend AlphaAdditive

            // DepthWrite Off

            // AlphaTestFalloff 0.01

        }

    }

There is no .vert or .frag defined.
Anyway that is not the reason…because in TestSoftParticle the same warning appear.

1 Like

I found it! It was a bit tricky…the error comes from the AudioNode!

In AudioNode (this is new in alpha5):
protected Vector3f previousWorldTranslation = Vector3f.NAN;

And later changing the value in the update function.

@Override
    public void updateGeometricState() {
        super.updateGeometricState();

        if (channel < 0) {
            return;
        }

        Vector3f currentWorldTranslation = worldTransform.getTranslation();

        if (Float.isNaN(previousWorldTranslation.x)
                || !previousWorldTranslation.equals(currentWorldTranslation)) {

            getRenderer().updateSourceParam(this, AudioParam.Position);

            if (velocityFromTranslation) {
                velocity.set(currentWorldTranslation).subtractLocal(previousWorldTranslation);
                velocity.multLocal(1f / lastTpf);

                getRenderer().updateSourceParam(this, AudioParam.Velocity);
            }

            previousWorldTranslation.set(currentWorldTranslation);
        }
    }

That means you are changing the NAN value which is also used by the particle emitter (faceNormal). The error did not appear in the TestSoftParticle because there is no audio :chimpanzee_laugh:
To fix this is just to copy Vector3f.NAN in AudioNode.

Should I open an issue in github?

5 Likes

Yes please or even better submit a PR, it should take the same time :stuck_out_tongue:

Nice work tracking back to this!
Don’t bother I’m gonna fix it

1 Like

where is the jme3.1-beta1 thread?

I tried to use the native bullet but it was causing exception:

com.jme3.bullet.BulletAppState startPhysicsOnExecutor
SEVERE: null
java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: com.jme3.bullet.PhysicsSpace.createPhysicsSpace(FFFFFFIZ)J
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at com.jme3.bullet.BulletAppState.startPhysicsOnExecutor(BulletAppState.java:121)
at com.jme3.bullet.BulletAppState.startPhysics(BulletAppState.java:162)
at com.jme3.bullet.BulletAppState.stateAttached(BulletAppState.java:211)
at com.jme3.app.state.AppStateManager.attach(AppStateManager.java:133)

so, to use jme3-jbullet.jar we need jbullet.jar, that is missing at jme3.1-beta1 zip file and also at alpha5 zip, so I grabbed it from jmonkeyengine/lib at master · jMonkeyEngine/jmonkeyengine · GitHub, just to point it out :slight_smile:

And if you forget it for later… here is how you can find it:
http://i.imgur.com/vvrIQpJ.png

1 Like