Dokthar
4be09e3505
light : replaced duplicated code by methods from Intersection
9 years ago
Daniel Johansson
d48a1bb998
Removed native library jemalloc.dll for LWJGL3 as this will not be needed until 3.0.0b and after.
9 years ago
Dokthar
505aa23048
light : added unit tests for the new support of bounding spheres intersections (for lightFilter)
9 years ago
Kirill Vainer
9f130a9cb3
Merge pull request #366 from MeFisto94/Issue46
...
Fixed Issue #46 : The MaterialViewer will now simply ignore not available textures instead of crashing
9 years ago
MeFisto94
7d07cedc4c
Fixed Issue #46 : The MaterialViewer will now simply ignore not available textures instead of crashing
9 years ago
Dokthar
cfdb9a8759
Lights (see #362 ) : added light v. sphere intersection, and implementations of intersectsSphere(), second attempt
9 years ago
Kirill Vainer
3412c0cf2b
Merge pull request #361 from Dokthar/bullet_RigidBody
...
GImpactCollisionShape : fix for #188 , added updateBound()
9 years ago
Dokthar
06d6f08616
GImpactCollisionShape : fix for #188 , added a call to updateBound() in native jni binding, just after creating the shape, (native createShape() method)
9 years ago
kaelthas
953a301d5e
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.
9 years ago
kaelthas
f1a0125dc2
Bugfix: fixed a bug that caused subdivision surface modifier to crash if
...
at least one not connected vertex was in the mesh.
9 years ago
Daniel Johansson
14349695a9
The LWJGL 3 renderer was missing a call to GLContext.createFromCurrent(), sorted now.
9 years ago
Daniel Johansson
5da9fa6bc2
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 .
9 years ago
Daniel Johansson
109c5e80cf
Fixed #316 where some post processing effects were not working when using OPENGL_3 renderer due to an error in the fragment shader.
9 years ago
Daniel Johansson
f470637361
Fixed a build issue regarding lwjgl 3.x by now using 3.0.0a for longer stability as 3.0.0b-SNAPSHOT is a moving target and APIs are changing constantly.
9 years ago
Kirill Vainer
ed2c998f39
Merge pull request #340 from Kendanware/issue314
...
Added LWJGL 3.x module and implementation in regards to issue #314
9 years ago
alexVengrovsk
2eb2cdac60
Delete close() of ByteArrayOutputStream type objecs
...
According to the Oracle's docummentation: "Closing a ByteArrayOutputStream has no effect. The methods in this class can be called after the stream has been closed without generating an IOException." (http://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayOutputStream.html#close() )
9 years ago
Kirill Vainer
e4f3c06b1d
ListMap: create unit test
9 years ago
Kirill Vainer
01227d31b0
Lighting: fix colorramp feature
9 years ago
Kirill Vainer
4a37a8f851
FXAA: quality regression fix
...
FXAA wants input texture to use bilinear filtering
so it can be smoothed further, so allow filters to
request bilinear filtering.
9 years ago
Kirill Vainer
4fef16ee9f
GLRenderer: fix incorrect gl3 check
...
Should check against caps; since gl3 is always
set on desktop regardless if GL3 is available or not.
Also add FBO blit support if we have GL3.
9 years ago
Kirill Vainer
cba39fa0ff
GLRenderer: make the class final
9 years ago
Kirill Vainer
62186362a8
GLDebugOutputHandler: dump stack on debug messages
9 years ago
Kirill Vainer
aa54947ff3
GLRenderer: cleanup to shadow compare mode
...
Store compare mode in LastTextureState instead of on Texture object
9 years ago
Kirill Vainer
efe600c38d
GLRenderer: put max anisotropy into limits map
9 years ago
Kirill Vainer
d269839efb
FastMath: faster nearestPowerOfTwo and unit test
9 years ago
Kirill Vainer
4e6b4d885c
Merge pull request #345 from Georgeto/patch_negscalebb
...
Fixed wrong BoundingBox transformation, when using negative scaling values
9 years ago
Julien Gouesse
5f77ff021b
Fixes the NullPointerException in the demos when using JoglNewtDisplay
9 years ago
Julien Gouesse
9f56a45d56
Adds some options into AppSettings for JogAmp's JOGL and JOAL
9 years ago
Julien Gouesse
daa18429d1
Removes the old JOGL renderer and uses the new unified renderer as it works correctly now
9 years ago
Julien Gouesse
e3a45755c6
The JOGL backend doesn't need null-terminated strings for the attributes and the uniforms
9 years ago
Georg
495e0cf6d5
Fixed wrong BoundingBox transformation, when using negative scaling values
9 years ago
Daniel Johansson
c375974a9a
Fixed a compiler error where glfw input classes wanted to use the old LwjglTimer class.
9 years ago
Daniel Johansson
30cdca7ad7
Native library loading is back to the way it used to be with the addition of LWJGL 3.x libraries added with a different key.
...
Moved LWJGL 3.x repository definition to build.grade in that module.
Fixed an issue where frame rate limit would cause GLFW frequency window hint to be set rather than use a software limiter.
Removed LWJGLTimer for lwjgl3 module, no need for it any more, we'll just use the NanoTimer.
Removed LWJGLCanvas for lwjgl3 module, can't implement this so we'll leave it for now.
9 years ago
Kirill Vainer
500f57a64f
AssetManager: set locator path only once per thread
9 years ago
Kirill Vainer
7659a7b986
TestCustomAnim: fix crash when enabling HW skinning
9 years ago
Kirill Vainer
aee7d1f195
GLSLCompat.glsllib: fix incorrect preprocessor define
9 years ago
Kirill Vainer
6970c8db8a
shapes: set static usage on all VBs
9 years ago
Kirill Vainer
1aaf806c65
test: fix crash due to deprecated material
9 years ago
Kirill Vainer
78d2d6e944
GLRenderer: fix invalid enum error when using framebuffers
9 years ago
Kirill Vainer
f32d92ef30
bounding: add bound vs. spatial, also improve unit test
9 years ago
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
d8e964b2f0
Added copyright headers to some files.
9 years ago
Daniel Johansson
dd6356eff1
Reverted some more light code which should not be in this branch.
9 years ago
Daniel Johansson
b68035570d
Removed a TODO note and added key count implementation (rough for now).
9 years ago