671 Commits

Author SHA1 Message Date
MeFisto94
23fe0658a6 Fixed a NPE when Serializing a Spline without points. Also fixed a Typo. 2016-03-20 12:45:19 +01:00
MeFisto94
15c9c083cd Allow MotionEvents to be cloned 2016-03-20 10:11:04 +01:00
Paul Speed
8b1ddbe60f First round of getting JmeCloneable implemented... added
support for Cloner to the controls that implemented cloneForSpatial().
Unused until spatial cloning is implemented.
2016-03-20 02:47:16 -04:00
Nehon
dff4befafb Added an option to not render backfaces shadows with the shadow renderer and the shadow filter. It's the default for the renderer but not for the filter as it may have some edges artifacts. 2016-03-17 17:58:41 +01:00
Nehon
32be69f3e6 Remove a lot of duplicate code for shadows 2016-03-17 14:34:18 +01:00
Rémy Bouquet
c3d12f0e4a Merge pull request #444 from InShadow/master
Added public method getGeometry on Batch class.
2016-03-16 09:20:29 +01:00
Paul Speed
0b487ee9f3 Moved the file writing in screen shot app state to its own
method... 1) because it's a little cleaner, 2) because it means
subclasses can hook it if desired.
2016-03-13 04:44:54 -04:00
Nehon
f391b9c3aa Made AbstractControl Implement Cloneable 2016-03-12 19:07:41 +01:00
Nehon
cb56fd88eb For some reason the J3MLoader never loads the material name. Not that it's really important, but since we have the name field... let's read it... 2016-03-11 17:45:29 +01:00
Paul Speed
f83c7006f0 Removed some cloneForSpatial() methods that weren't doing anything
that the super class would do.
Adding @Override to cloneForSpatial() methods in jme3-core controls
and CloneableTracks.
2016-03-11 05:46:31 -05:00
Paul Speed
10947e8b50 Modified the JmeCloneable's clone() method to be jmeClone() so that
implementing objects will still be able to keep a regular public
clone() method that may do their own selective deep cloning.  This
allows explicit demarcation between the normal 'user' facing clone()
and the two step cloning process used by Cloner.

Specifically, this will let Spatial continue to have a clone() method
that operates as it does today... with its new guts essentially calling
a properly configured Cloner.
2016-03-10 04:25:43 -05:00
Paul Speed
68425480cb Removed a bit of commented out dead code. 2016-03-10 03:45:11 -05:00
InShadow
947904b71d Added public method getGeometry on Batch class. 2016-03-09 07:49:07 -08:00
Paul Speed
70154f1b1d Added a simple deep cloning that can replace all of our odd post-fixup
piece-meal stuff with proper full-object-graph shared reference cloning.
2016-03-09 00:54:01 -05:00
Nehon
838978ed15 Null check for the renderFrameBuffer of the fpp when cleaning up the fpp. It may be null if multisampling is enabled. 2016-03-08 21:00:24 +01:00
Rémy Bouquet
3bce0f4f1a Merge pull request #443 from MeFisto94/Issue442
Fixes #442 - Add 64bit detection for the armv7 platform
2016-03-08 00:17:14 +01:00
MeFisto94
870f84c6c6 Fixes #442 - Add 64bit detection for the armv7 platform 2016-03-07 23:28:25 +01:00
Daniel Johansson
9f9cb824cd Fixed an issue with J3MLoader thinking certain texture path patterns with new texture options still looked like old style and hence ignoring new options and getting the texture path wrong. 2016-03-07 16:38:43 +00:00
Nehon
f14e609287 Updated MatParam.getAsString to reflect recent change on j3m texture parameter format 2016-03-07 00:30:20 +01:00
Kirill Vainer
18dc729d6a Merge branch 'BorealFeast-master' 2016-03-04 19:52:52 -05:00
Kirill Vainer
b431d16981 Cylinder: fix incorrect axis samples for closed 2016-03-04 19:51:18 -05:00
InShadow
6c9cd46e11 Corrected spelling mistake. 2016-03-03 21:57:19 -08:00
Teencrusher
5468a48050 Removed the modification of the input parameter that lead to a wrong axisSamples member then the cylinder was closed 2016-03-03 13:23:04 -05:00
Kirill Vainer
2f218f0cdb Merge pull request #435 from AlrikG/BoneAnimationBindTransformBug
Bone animation bind transform bug
2016-03-02 17:11:05 -05:00
Alrik
f925e3eb81 - revert mistake 2016-03-02 21:44:51 +01:00
Alrik
546850130d - make the comment more precise because user control and world inverse /
local bind pose transforms are also copied
2016-03-02 21:43:45 +01:00
Alrik
54d563dde2 - remove unnecessary comment 2016-03-02 21:32:04 +01:00
TehLeo
449bc443b3 Update BufferUtils.java
Fixes #395
2016-03-02 16:05:14 +01:00
Alrik
03b351f26c - fix Bone constructor doesn't clone the given Bone object parameter 2016-03-01 22:58:43 +01:00
MeFisto94
a3372284e9 Be more verbose when the Asset Path is outside of the root. 2016-03-01 09:48:23 +01:00
Nehon
44601cf5ff Added an experimental MikkTspace generator 2016-02-28 18:38:52 +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
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
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
john01dav
f9a9839228 Added enqueue runnable 2016-02-14 15:16:45 -06: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