36 Commits

Author SHA1 Message Date
Nehon
7bd2feb416 Made a test for shaderNode based j3md loading 2016-04-11 21:02:16 +02:00
Kirill Vainer
8d4962d11f fix failing unit test 2016-04-10 23:46:41 -04:00
Kirill Vainer
97a53e0c99 material: add unit test 2016-04-10 23:21:38 -04:00
Kirill Vainer
5584ca9119 test: add missing test data 2016-04-10 12:23:27 -04:00
Kirill Vainer
8bd5b59a0e material: warn / ignore fixed function techniques 2016-04-10 12:16:35 -04:00
Kirill Vainer
2f26b34bd0 material: refer to default technique via constant 2016-04-09 12:12:02 -04:00
Kirill Vainer
fbcfbc0484 test: add required file 2016-04-08 23:38:02 -04:00
Kirill Vainer
e4f7916301 Material: allow multiple named techniques 2016-04-08 23:31:39 -04:00
Kirill Vainer
83259061d3 RM: add ability to force mat param 2016-04-08 23:28:02 -04:00
Kirill Vainer
d0035b0bc6 test: fix syntax error 2016-04-08 23:15:49 -04:00
Kirill Vainer
fc488be37b test: remove duplicate annotation 2016-04-08 23:13:28 -04:00
Kirill Vainer
f72df167c0 MPO: make sure child overrides parent 2016-04-08 23:05:15 -04:00
Kirill Vainer
f3414acc73 MPO: fix unit test 2016-04-02 15:17:26 -04:00
Kirill Vainer
85ffb48efb unit test: more descriptive failure message 2016-04-02 15:17:21 -04:00
Kirill Vainer
c6c6b48bda MPO: clone MPOs instead of sharing references
Conflicts:
	jme3-core/src/main/java/com/jme3/scene/Spatial.java
2016-04-02 15:15:40 -04:00
Kirill Vainer
06b817e116 MPO: add javadoc 2016-04-02 15:08:49 -04:00
Kirill Vainer
8344994328 MPO: use List instead of ArrayList
Also rename get*Overrides to get*MatParamOverrides to be more specific.
2016-04-02 15:08:45 -04:00
Kirill Vainer
50658b8e53 MPO: add ability to disable an override 2016-04-02 15:08:40 -04:00
Kirill Vainer
5d2f2b19e6 spatial: fix bug in remove/clear MPO
add unit test for those methods
2016-04-02 15:08:31 -04:00
Kirill Vainer
59614e177c MPO: implement overrides on uniforms and add test 2016-04-02 15:08:21 -04:00
Kirill Vainer
2b35f288c2 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
2016-04-02 15:08:17 -04:00
Kirill Vainer
e8df94de1c FastMathTest: ignore failing test (for now) 2016-04-02 14:57:33 -04:00
Kirill Vainer
6a47319dbb DefineList: fix build error
Also add additional unit tests for DefineList.
2016-04-02 14:57:21 -04:00
Kirill Vainer
9d035f747a 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
2016-04-02 14:57:10 -04:00
Daniel Johansson
9f9cb824cd Fixed an issue with J3MLoader thinking certain texture path patterns with new texture options still looked like old style and hence ignoring new options and getting the texture path wrong. 2016-03-07 16:38:43 +00:00
Dokthar
071ad5c618 light : fixed pointLight v. bounding sphere unit test 2015-10-16 20:17:57 +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
Kirill Vainer
e4f3c06b1d ListMap: create unit test 2015-09-22 22:12:13 -04:00
Kirill Vainer
d269839efb FastMath: faster nearestPowerOfTwo and unit test 2015-09-22 21:53:50 -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
Daniel Johansson
b84bd0d120 Merge remote-tracking branch 'upstream/master' into issue295
Conflicts:
	common.gradle
2015-09-08 09:25:29 +01:00
Daniel Johansson
d319a7c5d3 Added unit test for J3MLoader to cover the new texture parameters available in #295. Also fixed a couple of issues in the code to reduce logging that was not needed and removed redundant code. This update also updates junit to 4.12 and adds Mockito and Fest Assertions as test dependencies. 2015-07-20 11:22:16 +01:00
Rémy Bouquet
292a891d1f Merge pull request #228 from davidB/fix_cinematic_clear
fix a NPE and a ClassCastExcpetion on Cinematic.clear()
2015-07-16 21:41:24 +02:00
David Bernard
a19246973c build: enable assertion for test and run (previously only test as assertionEnabled = true) 2015-03-06 10:47:04 +01:00
David Bernard
f8a7117e0f fix a NPE and a ClassCastExcpetion on Cinematic.clear() 2015-03-05 10:56:14 +01:00