Kirill Vainer
81b5c48fb0
unit test: add unit tests for bounds and light filter / sort
9 years ago
Kirill Vainer
c41058a5a0
spot light: fix broken filter for infinite range
9 years ago
Kirill Vainer
22dde7f718
point light: more accurate sphere vs box filter
9 years ago
Kirill Vainer
6238088688
light: minor non-functional changes
9 years ago
Kirill Vainer
31383778d9
light: ensure directional lights are sorted to be always first
9 years ago
Kirill Vainer
1fa6c4ac11
bounding: move intersection algorithms to shared class
...
These algorithms are to be shared with the light filter.
9 years ago
Kirill Vainer
45f8893f13
bounding: properly implement collideWith against other bounds
9 years ago
Daniel Johansson
dd6356eff1
Reverted some more light code which should not be in this branch.
9 years ago
Daniel Johansson
88bf9d4580
Reverted some changes to light classes which was not meant to be committed as part of #314 .
9 years ago
Kirill Vainer
e9245a753b
GLTracer: generate syntax highlighting and easier to read output
9 years ago
Kirill Vainer
9da4b78830
GLRenderer: disable unused vertex attributes before rendering instead of after
9 years ago
Kirill Vainer
8fdc0f9c90
GLRenderer: avoid useless glActiveTexture calls
9 years ago
Kirill Vainer
f80364a8c2
GLRenderer: don't set depth function twice
9 years ago
Kirill Vainer
5845671409
GLRenderer: enable seamless cubemap globally
9 years ago
Kirill Vainer
edd183a2be
GLRenderer: fix texture update regression introduced in 9f3a145dd7
9 years ago
Kirill Vainer
148c78a943
GL: make lwjgl implementation classes final
9 years ago
Kirill Vainer
cb7d139488
GLSLCompat: support GLES compatibility
9 years ago
Kirill Vainer
616dadc498
Deprecate ColoredTextured.j3md
9 years ago
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.
9 years ago
Nehon
168e1755ff
Added some more constructors to SpotLight and PointLight, also added javadoc to all lights constructors.
9 years ago
Daniel Johansson
8f77dca931
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
9 years ago
Daniel Johansson
89f10eca58
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
9 years ago
Kirill Vainer
5a863c6075
Matrix4f: simpler fromFrame() without matrix multiplication
9 years ago
Kirill Vainer
57d560244e
Transform: implement equals and hashCode
9 years ago
Kirill Vainer
1575e2a1d3
minor changes according to static analyzer
9 years ago
Kirill Vainer
a855915358
Bone: remove useless loadIdentity()
9 years ago
Kirill Vainer
d32226db10
GLRenderer: use #version 100 for GLSL ES shaders
9 years ago
Nehon
b5c946ef02
Fixed LightProbe selection according to distance and bounds
9 years ago
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.
9 years ago
Nehon
7b7c6951ad
Fixed worldLightList sorting when a light is added to a node.
9 years ago
Kirill Vainer
b7ab6d003e
build: separate full version from full name
9 years ago
Kirill Vainer
17887b1fb0
build: new build version info system
...
* JmeVersion is no longer autogenerated, instead it pulls info from version.properties
* Added version.gradle script to generate version info and expose it to other gradle scripts
* Embed version info inside JAR manifest
* Refactor NDK finding to use the same way as the version generation
9 years ago
Nehon
d7b0292590
FilterPostProcessor now checks for ogl 3.2 capability to use multitsampled textures
9 years ago
Nehon
a730da35b4
FilterPostProcessor now checks for ogl 3.2 capability to use multitsampled textures
9 years ago
Nehon
fc0975c0cc
removed old implementation
9 years ago
Nehon
69f1677649
Moved PBR implementation
9 years ago
Nehon
a655acb8f0
BatchNode now preserves the lineWidth for Line meshes when batching.
9 years ago
Matt Benson
25ca07d3d2
light constructors
9 years ago
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.
9 years ago
Kirill Vainer
0ade3a69d4
GLRenderer: FBO always available in OpenGL ES 2
10 years ago
Daniel Johansson
e33d2539ed
Added additional convenience constructors to Light, AmbientLight, DirectionalLight, PointLight and SpotLight as mentioned in #297
10 years ago
Daniel Johansson
9059eb30e4
Added support for setting minification and magnification filters on a texture in the j3m material file. This also adds support for double and single quoted paths as well as being able to set WrapMode for a specific WrapAxis. This resolves #295
10 years ago
Nehon
129faf00d7
Fixed warning when trying to find a srgb format for a Depth format.
10 years ago
Nehon
b0db53b5d6
Fixed warning when trying to find a srgb format for a Depth format.
10 years ago
Nehon
c7606ccff2
Fixed issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/291
10 years ago
Nehon
95d5fdf9c5
Fixed issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/252
...
This was due to a bug in the code where triangle data were stored after calculation.
10 years ago
Nehon
57dd2748e2
Tested if a joystick axis is not the nullAxis before assigning action to it.
10 years ago
Nehon
34220640aa
Fixed how model bound were refreshed in BathNode : issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/275
10 years ago
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
10 years ago
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
10 years ago