695 Commits

Author SHA1 Message Date
Kirill Vainer
6970c8db8a shapes: set static usage on all VBs 2015-09-14 23:01:46 -04:00
Kirill Vainer
78d2d6e944 GLRenderer: fix invalid enum error when using framebuffers 2015-09-14 22:51:57 -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
Kirill Vainer
c41058a5a0 spot light: fix broken filter for infinite range 2015-09-13 22:09:20 -04:00
Kirill Vainer
22dde7f718 point light: more accurate sphere vs box filter 2015-09-13 22:08:17 -04:00
Kirill Vainer
6238088688 light: minor non-functional changes 2015-09-13 22:07:34 -04:00
Kirill Vainer
31383778d9 light: ensure directional lights are sorted to be always first 2015-09-13 22:06:32 -04:00
Kirill Vainer
1fa6c4ac11 bounding: move intersection algorithms to shared class
These algorithms are to be shared with the light filter.
2015-09-13 22:05:18 -04:00
Kirill Vainer
45f8893f13 bounding: properly implement collideWith against other bounds 2015-09-13 18:40:08 -04:00
Daniel Johansson
dd6356eff1 Reverted some more light code which should not be in this branch. 2015-09-13 20:30:36 +01:00
Daniel Johansson
88bf9d4580 Reverted some changes to light classes which was not meant to be committed as part of #314. 2015-09-13 20:23:07 +01:00
Daniel Johansson
9ba90251d6 Merge remote-tracking branch 'upstream/master'
Conflicts:
	jme3-bullet-native-android/build.gradle
2015-09-13 20:15:22 +01:00
Rémy Bouquet
9f9daa13dc Merge pull request #301 from Kendanware/issue295
Support for setting minification and magnification filters on a texture in the j3m material file
2015-09-13 17:53:35 +02:00
Kirill Vainer
0d3ebf75bd GLRenderer: fix NPE when using mesh without index buffer 2015-09-12 17:53:18 -04:00
Kirill Vainer
4e572605a8 GLRenderer: merge changes from master 2015-09-12 17:52:56 -04:00
Kirill Vainer
28e2b5650c GLRenderer: disable global VAO, since VAO is now supported 2015-09-12 17:51:42 -04:00
Kirill Vainer
3a00aff886 GLRenderer: clear VBO bind state after bounding VAO 2015-09-10 23:19:14 -04:00
Kirill Vainer
fc680ea121 GLRenderer: use luminance instead of intensity in compare R to texture 2015-09-10 23:19:14 -04:00
Kirill Vainer
12c001addc Uniform: fix crash when using vector4array 2015-09-10 23:19:14 -04:00
Kirill Vainer
c72b036c9f VirtualIndexBuffer: fix compile error 2015-09-10 23:19:14 -04:00
Kirill Vainer
81a76fdf69 Mesh: preliminary work to use ubyte weights for hardware skinning 2015-09-10 23:19:14 -04:00
Kirill Vainer
7b64e91681 GLRenderer: remaining portion of VAO support 2015-09-10 23:19:13 -04:00
Kirill Vainer
d2f38f8adb GLRenderer: added fast uniforms - still need to fix Uniform.clear() 2015-09-10 23:19:13 -04:00
Kirill Vainer
937d97b8d7 GLRenderer: initial VAO support (still buggy) 2015-09-10 23:19:13 -04:00
Kirill Vainer
e9245a753b GLTracer: generate syntax highlighting and easier to read output 2015-09-10 23:10:13 -04:00
Kirill Vainer
9da4b78830 GLRenderer: disable unused vertex attributes before rendering instead of after 2015-09-10 23:09:15 -04:00
Kirill Vainer
8fdc0f9c90 GLRenderer: avoid useless glActiveTexture calls 2015-09-10 23:08:50 -04:00
Kirill Vainer
f80364a8c2 GLRenderer: don't set depth function twice 2015-09-10 22:34:12 -04:00
Kirill Vainer
5845671409 GLRenderer: enable seamless cubemap globally 2015-09-10 22:33:08 -04:00
Kirill Vainer
edd183a2be GLRenderer: fix texture update regression introduced in 9f3a145dd7bd083c21b302e0faaf46eddfd82237 2015-09-09 22:43:37 -04:00
Daniel Johansson
b84bd0d120 Merge remote-tracking branch 'upstream/master' into issue295
Conflicts:
	common.gradle
2015-09-08 09:25:29 +01:00
Kirill Vainer
148c78a943 GL: make lwjgl implementation classes final 2015-09-05 14:03:32 -04:00
Kirill Vainer
cb7d139488 GLSLCompat: support GLES compatibility 2015-09-05 13:56:28 -04:00
Kirill Vainer
616dadc498 Deprecate ColoredTextured.j3md 2015-09-03 09:46:34 -04:00
Daniel Johansson
c32ac172fb Merge remote-tracking branch 'upstream/master'
Conflicts:
	jme3-core/src/main/java/com/jme3/light/AmbientLight.java
	jme3-core/src/main/java/com/jme3/light/DirectionalLight.java
	jme3-core/src/main/java/com/jme3/light/PointLight.java
	jme3-core/src/main/java/com/jme3/light/SpotLight.java
2015-09-03 13:48:23 +01:00
Daniel Johansson
e9e4b4a122 Improved audio renderer information log message to include more information and to print out in a format consistent with the GL renderer information. 2015-09-03 13:32:06 +01:00
Nehon
168e1755ff Added some more constructors to SpotLight and PointLight, also added javadoc to all lights constructors. 2015-08-29 12:56:26 +02:00
Rémy Bouquet
609d9a1832 Merge pull request #306 from mbenson/light-ctors
More convenient light constructors
2015-08-29 11:00:12 +02:00
Daniel Johansson
8f77dca931 Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW. 2015-08-26 22:34:05 +01:00
Daniel Johansson
bf7643f06a Merge remote-tracking branch 'upstream/master' 2015-08-26 22:29:56 +01:00
Kirill Vainer
5a863c6075 Matrix4f: simpler fromFrame() without matrix multiplication 2015-08-21 22:29:26 -04:00
Kirill Vainer
57d560244e Transform: implement equals and hashCode 2015-08-21 22:26:26 -04:00
Kirill Vainer
1575e2a1d3 minor changes according to static analyzer 2015-08-21 22:24:51 -04:00
Kirill Vainer
2ced7653a7 FBX: more work on importing skeletal animation 2015-08-21 21:41:47 -04:00
Kirill Vainer
f0b63e7910 GLRenderer: the actual async FB read changes 2015-08-21 21:34:43 -04:00
Kirill Vainer
860de88298 GLRenderer: initial commit of async FB read (including jme panels) 2015-08-21 21:27:54 -04:00
Kirill Vainer
e8f344a0db GLRenderer: remaining portion of VAO support 2015-08-21 21:21:31 -04:00
Kirill Vainer
a855915358 Bone: remove useless loadIdentity() 2015-08-21 20:38:35 -04:00
Kirill Vainer
bee759bddc GLRenderer: initial VAO support (still buggy) 2015-08-21 20:32:27 -04:00