5247 Commits

Author SHA1 Message Date
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())
2015-09-23 12:22:11 +03:00
Kirill Vainer
e4f3c06b1d ListMap: create unit test 2015-09-22 22:12:13 -04:00
Kirill Vainer
01227d31b0 Lighting: fix colorramp feature 2015-09-22 22:10:16 -04:00
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.
2015-09-22 22:09:38 -04:00
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.
2015-09-22 22:04:25 -04:00
Kirill Vainer
cba39fa0ff GLRenderer: make the class final 2015-09-22 22:02:55 -04:00
Kirill Vainer
62186362a8 GLDebugOutputHandler: dump stack on debug messages 2015-09-22 22:02:12 -04:00
Kirill Vainer
aa54947ff3 GLRenderer: cleanup to shadow compare mode
Store compare mode in LastTextureState instead of on Texture object
2015-09-22 22:01:17 -04:00
Kirill Vainer
efe600c38d GLRenderer: put max anisotropy into limits map 2015-09-22 21:57:42 -04:00
Kirill Vainer
d269839efb FastMath: faster nearestPowerOfTwo and unit test 2015-09-22 21:53:50 -04:00
Kirill Vainer
4e6b4d885c Merge pull request #345 from Georgeto/patch_negscalebb
Fixed wrong BoundingBox transformation, when using negative scaling values
2015-09-22 18:52:00 -04:00
Julien Gouesse
5f77ff021b Fixes the NullPointerException in the demos when using JoglNewtDisplay 2015-09-22 23:50:28 +02:00
Julien Gouesse
9f56a45d56 Adds some options into AppSettings for JogAmp's JOGL and JOAL 2015-09-22 23:11:16 +02:00
Julien Gouesse
daa18429d1 Removes the old JOGL renderer and uses the new unified renderer as it works correctly now 2015-09-22 23:06:16 +02:00
Julien Gouesse
e3a45755c6 The JOGL backend doesn't need null-terminated strings for the attributes and the uniforms 2015-09-22 22:50:31 +02:00
Georg
495e0cf6d5 Fixed wrong BoundingBox transformation, when using negative scaling values 2015-09-21 14:28:54 +02: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
aee7d1f195 GLSLCompat.glsllib: fix incorrect preprocessor define 2015-09-14 23:02:31 -04:00
Kirill Vainer
6970c8db8a shapes: set static usage on all VBs 2015-09-14 23:01:46 -04:00
Kirill Vainer
1aaf806c65 test: fix crash due to deprecated material 2015-09-14 23:00:55 -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
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
62eede87b3 niftygui build: add niftygui repository reference to pom 2015-09-12 17:54:43 -04:00
Kirill Vainer
86439c2c2b native bullet: fix JNI crash in ray / sweep test
Method return type does not match call function return type
2015-09-11 13:51:48 -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
0bfa7bfacd Merge pull request #336 from Dokthar/sdk_scenecomposer
Sdk TerrainEditor : changed paintTool toolTip
2015-09-10 20:53:51 -04:00
Kirill Vainer
edd183a2be GLRenderer: fix texture update regression introduced in 9f3a145dd7bd083c21b302e0faaf46eddfd82237 2015-09-09 22:43:37 -04:00
Dokthar
c9230d370a Merge remote-tracking branch 'doktharFork/sdk_scenecomposer' into sdk_scenecomposer 2015-09-09 21:42:19 +02:00
Dokthar
71e2a7efef SDK Terrain Editor : changed the paintTool tooltip text to match the tool actions 2015-09-09 20:27:57 +02: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
e552fb1101 travis-ci: don't try to decrypt updates key for PRs 2015-09-06 17:07:53 -04:00
normen
3ad3623084 Merge pull request #333 from Dokthar/sdk_scenecomposer
SDK scenecomposer : fix issue #332 and added line width to the cursor
2015-09-06 14:38:12 +02:00
Jules
a111817457 Merge pull request #7 from jMonkeyEngine/master
Merge branch "jmonkeyengine/master" into "sdk_scenecomposer"
2015-09-06 14:00:33 +02:00
Dokthar
7e0bd4a385 SDK scenecomposer : fix issue #332 cursor doesn't move
the position of the cursor wasn't updated, now it's work fine
2015-09-06 13:07:55 +02:00
Dokthar
4f1477735d SDK scenecomposer :reduce the arrows line width from 3 to 2. 2015-09-06 12:57:35 +02:00
Kirill Vainer
e93fb65bca sdk build: enable nbm signing (if key exists) 2015-09-05 14:04:01 -04:00
Kirill Vainer
148c78a943 GL: make lwjgl implementation classes final 2015-09-05 14:03:32 -04:00