1204 Commits

Author SHA1 Message Date
MeFisto94
a3372284e9 Be more verbose when the Asset Path is outside of the root. 2016-03-01 09:48:23 +01:00
Nehon
6a1383a155 Merge branch 'master' into PBRisComing 2016-02-28 18:39:31 +01:00
Nehon
44601cf5ff Added an experimental MikkTspace generator 2016-02-28 18:38:52 +01:00
Nehon
570c714c25 Merge branch 'master' into PBRisComing 2016-02-28 16:42:01 +01:00
Rémy Bouquet
013fd08bd2 Merge pull request #426 from InShadow/cleanup-batch-node
Batch node improvements
2016-02-28 08:19:50 +01:00
Kirill Vainer
99665055b5 Merge pull request #417 from MeFisto94/342
Simplified the AudioNode constructors (#342)
2016-02-27 22:45:21 -05:00
InShadow
1073eba6be Cleaned up BatchNode a bit and implemented collideWith to work only with non-batched children. 2016-02-25 20:41:33 -08:00
Nehon
a670877df1 Fixed Image disposal in LightProbeFactory (issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/424) 2016-02-25 18:31:26 +01:00
Kirill Vainer
bc8ecc3bc3 Update Particle.vert 2016-02-25 10:24:46 -05:00
MeFisto94
c90048595f Removed AudioNode.Type in favor of AudioData.DataType, which is what we are using now. 2016-02-24 02:46:16 +01:00
Kirill Vainer
57c91c1c29 Merge pull request #381 from TripleSnail/master
Interpolate particle positions
2016-02-23 10:49:37 -05:00
Rémy Bouquet
0b23f195e2 Merge pull request #408 from JavaSaBr/PBRisComing
Added support of overriding
2016-02-21 09:25:32 +01:00
Kirill Vainer
2a959e17ab particle: fix fading not working correctly 2016-02-19 14:20:25 -05:00
MeFisto94
6f6e93e01b Simplified the AudioNode constructors (#342) and allow looping/seeking on every AudioNode now by default. 2016-02-19 00:59:15 +01:00
MeFisto94
f233565031 Changed the copyright notice in the comments just like it was done on 25ca07d. 2016-02-18 00:10:39 +01:00
MeFisto94
6c4e8010f2 Fixes the bug of shallow copies when cloning lights (See http://hub.jmonkeyengine.org/t/what-is-the-expected-meaning-of-light-clone/35100 ) 2016-02-17 23:45:27 +01:00
MeFisto94
04566d8c6a Fixes #360 : Material now serializes name 2016-02-17 12:21:17 +01:00
Teencrusher
b4737b0206 Fixed indirect light extraction in Material 2016-02-16 13:38:37 -05:00
john01dav
f9a9839228 Added enqueue runnable 2016-02-14 15:16:45 -06:00
javasabr
718b66ba62 Added support of overriding 2016-02-09 07:07:54 +03:00
Paul Speed
a0261e78fb Added meaningful messages to the exceptions. 2016-01-30 07:15:04 -05:00
Paul Speed
d4c94bc7c0 Added a vector4f based populate method. 2016-01-30 04:32:19 -05:00
Paul Speed
8cfe537625 Fix clone to account for the update list added for update
optimization.  The updateList was cloned also and needs to
be cleared out and the update flag reset as if freshly
initialized.  Thanks for lightbringer for pointing out the
problem and solution.
2016-01-26 19:28:23 -05:00
Pesegato
1df3c204f2 Added support to Logitech F310 with Xinput for Windows 10 2016-01-08 10:06:49 +01:00
Kirill Vainer
2ca55c8b3a LWJGL3 improvements
* Added key remapping for GLFW key constants
 * Rename AppSettings.getGammaCorrection() to isGammaCorrection()
 * Use LWJGL3 artifacts from maven
 * Minor compatibility changes for LWJGL 3.0.0b
 * Fixed some minor bugs in LwjglWindow
2015-12-29 00:00:39 -05:00
Kirill Vainer
72423b682e Merge pull request #392 from NemesisMate/patch-4
Fixed a possible bug in TextureAtlas.java
2015-12-26 15:36:41 -05:00
Daniel Johansson
69c17d72c8 Reverted statistics code for tracking number of lights in the scene. Not counting correctly. Maybe this can be added back in later on. 2015-12-23 20:49:25 +00:00
Daniel Johansson
25b9691e32 Added support for toggling lights on and off via Light.setEnabled(boolean). This implements #393
This commit also contains some minor changes to TestManyLightsSingle which now has a key trigger (L) for toggling lights on and off.
2015-12-22 11:10:47 +00:00
Daniel Johansson
67eb998ef4 Added numLights to statistics. This tells us how many lights are left to render after filtering has occurred. Also did some tidy up of javadoc in RenderManager. 2015-12-22 10:55:43 +00:00
Daniel Johansson
e0c24cd73a Added a guard to ensure setSinglePassLightBatchSize() is set to a minimum of at least 1. 2015-12-22 10:37:08 +00:00
NemesisMate
19577c3288 Fixed a possible bug in TextureAtlas.java
It seems that the variable was the wrong one when adding the normal texture to the atlas.
2015-12-15 19:13:12 +00:00
Nehon
ab76585ff2 More fine tuning calibration of roughness, and various visual fixes for PBR 2015-12-12 15:26:42 +01:00
Nehon
9e1a1f6131 PBR, fixed the way metallic material base color was handled for indirect lighting.
Also calibrated roughness so that it matches Substance painter renderer.
2015-12-08 23:57:08 +01:00
Paul Speed
b006204c0f Various warning-related cleanups. Added @Overrides
and removed some manual unboxing.
2015-12-05 22:14:36 -05:00
Paul Speed
3189323c2f Converted manual array + list management over to just use SafeArrayList.
It was a class added after this code.
2015-12-05 20:00:52 -05:00
Paul Speed
46794e251d Allow the caller to override the axis' default dead
zone configured at startup.
2015-12-05 06:27:17 -05:00
Paul Speed
2a2c71dadf Modified to pay attention to the joystick axis'
dead zone if it is larger than the globally defined
dead zone.
2015-12-05 06:26:55 -05:00
Paul Speed
84ccd71873 Added additional information to the range check exception. 2015-12-05 04:16:56 -05:00
jmekaelthas
8958459ef9 Bugfix: fixed a bug that caused NURB lines did not use their proper
resolution.
2015-12-01 22:31:54 +01:00
Nehon
1276dc583e Point Of Interest light probe blending start of implementation : basic structure, probes selection and blend factor computation. 2015-11-29 16:09:32 +01:00
Nehon
9fd90ab799 Merge branch 'master' into PBRisComing 2015-11-26 21:00:39 +01:00
Nehon
6b262e56c8 Fixed the javadoc fixes :D 2015-11-26 21:00:27 +01:00
Nehon
e5608d6e38 Merge branch 'master' into PBRisComing 2015-11-26 20:48:01 +01:00
Nehon
2648f67b34 Javadoc in RenderManager : Fixed some typos and added some for light mode methods. 2015-11-26 20:47:44 +01:00
Nehon
52154e1cea Introduced a LightProbeBlendingStrategy, that can be passed to the default light filter upon construction.
It sets how multiple LightProbes will be blended or selected for the final render.
This is meant to be highly customizable as there are already several strategies with pros and cons in the industry and some may arise in the future.
2015-11-26 20:45:07 +01:00
Nehon
cedb4d3c3e Merge branch 'master' into PBRisComing 2015-11-20 09:00:23 +01:00
Nehon
50a9a8636b HDRLoader, reverted the change that loaded the HDR files in sRGB space, since the specs says that data is in linear space for this format. 2015-11-20 08:59:42 +01:00
Nehon
ec8e7d6713 The LightProbe is now treated apart from other lights in the rendering pass as the Ambient light is and is always rendered on the first pass if there are several passes. 2015-11-19 22:33:45 +01:00
Nehon
6c2396f023 Used the proper Lod finction in the reflect debug material 2015-11-19 19:05:53 +01:00
Nehon
f010f1be59 Fixed an outstanding issue with PBR lighting that was screwing reflection with normal maps. 2015-11-19 19:05:20 +01:00