252 Commits

Author SHA1 Message Date
Paul Speed
9e80d8a7aa Beefing up the client server tests a little to add
some listeners and to better report what's going on to the
console.  This is in prep for making a combined test.
2015-11-15 01:20:28 -05: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
Kirill Vainer
500f57a64f AssetManager: set locator path only once per thread 2015-09-14 23:19:43 -04:00
Kirill Vainer
7659a7b986 TestCustomAnim: fix crash when enabling HW skinning 2015-09-14 23:03:08 -04:00
Kirill Vainer
1aaf806c65 test: fix crash due to deprecated material 2015-09-14 23:00:55 -04:00
Julien Gouesse
2677ff31b9 Adds the JogAmp backend into the Gradle dependencies 2015-08-31 23:21:19 +02:00
Nehon
2db5f773e0 Merge branch 'master' into PBRisComing 2015-08-29 12:57:13 +02:00
Kirill Vainer
88663b0bc3 dist build: ensure native bullet is included in dist package 2015-08-21 23:19:45 -04:00
Nehon
a35b499ee7 Big refactoring to how PBR is handled.
- Introduced a new Light type : LightProbes that are lights holding Image based Lighting information that are sent to the shader. For now, only the closest LightProbe from a geometry is sent to the shader. This will be enhanced later as it's obviously not the best way to handle this.
- Added a LightProbeFactory for easy creation and rendering of LightPorbes and associated maps. The maps generation process can also be monitored through a Listener class.
- Added various utility classses for debuging purpose.
- Added a new test case for environment with multiple LightProbes.
- Adapted the previous test case to the new system.
2015-08-09 18:39:22 +02:00
Nehon
6d1ab7af65 Redesign of the frag part of unshadedNodes so it's more modular, and can be properly used as GLSL 1.5 shader.
Added a stress test for unshadedNodes.
Changed the name of the texture parameter to textureMap in TextureFetch shaderNode as it was conflicting with the texture function used to fetch a texel from a a texture in glsl 1.5
2015-07-05 23:43:38 +02:00
Nehon
596954b056 Redesign of the frag part of unshadedNodes so it's more modular, and can be properly used as GLSL 1.5 shader.
Added a stress test for unshadedNodes.
Changed the name of the texture parameter to textureMap in TextureFetch shaderNode as it was conflicting with the texture function used to fetch a texel from a a texture in glsl 1.5
2015-07-05 23:35:34 +02:00
Nehon
be58be75ef Merge branch 'master' into PBRisComing 2015-07-03 23:34:26 +02:00
Nehon
6d3377a2a8 Fixed Parallax without normal map in lighting.j3md 2015-07-03 23:33:19 +02:00
Nehon
719a683c2c Fixed Parallax for PBR lighting 2015-07-03 22:53:29 +02:00
Nehon
c50f0426bf Merge branch 'master' into PBRisComing 2015-05-22 07:44:41 +02:00
Nehon
ec7432c90c Added a graddle.properties to je jme-examples project with an override of buildJavaDoc to false, to not generate the javadoc when building from jme-examples
Also added a parameter to enable assertion as executable classes are only in this project anyway.
Removed the global assertion setting as it's only needed in jme-examples.
2015-05-08 15:07:43 +02:00
Nehon
0594e5dc7e Merge branch 'master' into PBRisComing 2015-05-05 18:05:07 +02:00
Kirill Vainer
0178029782 Example to show character model cloning / export 2015-05-03 16:02:25 -04:00
Kirill Vainer
55d3a5dd15 UnshadedArray: does not require gpu shader extension 2015-05-02 15:27:28 -04:00
iwgeric
a52bc0a82c Bullet (and jBullet): Update Test Classes to use BulletAppState.setDebugEnabled instead of PhysicsSpace.enableDebug. 2015-04-26 19:21:00 -04:00
Nehon
e1d0e06c59 Merge branch 'master' into PBRisComing
Conflicts:
	jme3-core/src/main/java/com/jme3/material/TechniqueDef.java
2015-04-11 16:01:01 +02:00
Nehon
81c995edc4 PBR shader and PBR test case with custom model 2015-04-11 15:37:05 +02:00
shadowislord
87b6c117f2 TestSweepTest: ignore collisions against ourselves (needed for native bullet) 2015-03-28 13:23:00 -04:00
shadowislord
38e4580857 TestSweepTest: fix crash on native bullet (natives not loaded when shapes are created) 2015-03-27 23:37:13 -04:00
Nehon
8f129ec727 Added a test case for KTX loading 2015-03-25 23:29:55 +01:00
shadowislord
83ddf9d7c3 TestCartoonEdge: more reliable way to detect lighting material 2015-03-18 23:15:11 -04:00
Nehon
96502e9061 Fixed crash in TestFilterCompositing.
Something is till odd though
2015-03-18 23:51:02 +01:00
Nehon
39515c52c7 Relocated the character in TestWalkingChar so that it doesn't fall under the ground 2015-03-18 22:12:59 +01:00
Rémy Bouquet
46c00c95b3 Merge pull request #226 from jMonkeyEngine/pr/223
Obsolete shadowRecv and sceneReceivers code cleanup
2015-03-03 22:35:25 +01:00
Nehon
a6a2059ef8 Removed deprecated methods calls in TestPointDirectinalAndSpotLightShadows 2015-03-03 22:30:44 +01:00
Nehon
a78d8a7bd0 Test for parallel tangent generation 2015-03-03 21:51:07 +01:00
Nehon
3d720e164e Changed the keys in tessellation test case so that it doesn't step on movement keys 2015-03-03 21:41:50 +01:00
Kirill Vainer
273f3a6e62 Merge pull request #220 from zzuegg/master
Geometry shader and Tessellation shader support
2015-03-02 10:01:08 -05:00
shadowislord
a374e73376 AssetManager: adjust usage according to latest changes 2015-03-01 15:14:30 -05:00
michael
1cce72cd0a Allow modifing of the tess factor with keys a and y 2015-02-28 13:53:36 +01:00
michael
690dd7bf28 Added Geometry and Tessellation Shader Tests 2015-02-28 13:40:10 +01:00
michael
cae4e1996a GL4ShaderSupport 2015-02-24 21:53:08 +01:00
shadowislord
2f86e0c17b Delete TestTriangleStrip
- since triangle stripper was removed, this test was not compiling
2015-02-22 16:04:01 -05:00
shadowislord
14ff6e4f29 SinglePass Lighting: support two sided lighting
- also added test case with both regular per pixel lighting and bump mapping
 - NOTE: two sided lighting is not supported with vertex lighting
2015-02-22 15:47:56 -05:00
Nehon
21179dc132 Changed standard lighting to blinn phong instead of phong only 2015-02-18 20:39:45 +01:00
void
d4ade2473f feature: Update Nifty GUI to version 1.4.1
This commit updates Nifty to version 1.4.1 and makes all
the necessary changes to the JME-Nifty integration to be
compatible with this version of Nifty (manily support of multiple
texture atlases in the batch renderer and some minor changes
like the removal of some *Null classes).

Most User code should still be able to compile with this change.

However, the NiftyJmeDisplay constructor that requires the
width and height of the texture atlas has been deprecated in
favour of the newly added static factory methods:
NiftyJmeDisplay.newNiftyJmeDisplay(). The new methods
add support for the Nifty BatchRenderConfiguration class that
allow further configuration of some rendering details.

The testcase jme3test.niftygui.TestNiftyGui has been modified
to use the new methods and seems to render fine for me.

Most of Nifty 1.4.1 should be compatible with old versions of
Nifty. However some compile-time incompatibilities might
exists to old 1.3.x code. Additionally some internal mechanism
have been modified with 1.4 so there might be additional runtime
incompatibilities as well.
2015-02-15 23:17:18 +01:00
shadowislord
809092c236 Allow application to be a resizable window.
Also allow buffer swapping to be disabled, e.g. for Oculus Rift.
2015-02-10 20:14:36 -05:00
shadowislord
e19be328a7 Add simple test case for the "scene not updated" crash in the SDK 2015-02-08 17:42:07 -05:00
iwgeric
661f4c6d2e Copy jme3-android-native and jme3-bullet-native-android to the dist/opt folder as part of build 2015-02-08 00:11:46 -05:00
shadowislord
10ccc570e1 Copy jme3-android.jar to the dist/opt folder as part of build 2015-02-07 17:48:12 -05:00
shadowislord
7bd07d144e TestRenderToMemory to use the same read-back method as AwtPanels 2015-01-31 12:57:54 -05:00
shadowislord
a676c51a50 * Test the RGB565 format in TestImageRaster (since it is supported on all platforms) 2015-01-23 22:44:38 -05:00
shadowislord
fb6fb73239 * Fix incorrect class name in TestTextureArrayCompressed 2015-01-23 22:31:16 -05:00
AlrikG
799d8d9ef2 - add test case for compressed dds array textures 2015-01-24 00:32:03 +01:00
Normen Hansen
00f12cfec7 - change behavior of "buildNativeProjects" setting to not exclude native subprojects from build but instead copy precompiled binaries
- disable unnecessary build of static bullet libraries
2015-01-14 00:02:11 +01:00