118 Commits

Author SHA1 Message Date
Stephen Gold
98a283beb6 remove unnecessary casts and tests for null, discovered using NetBeans (#1285) 2020-04-18 22:33:15 -07:00
Stephen Gold
5eaf653de9
address issue #1119 (serialization with protected/private constructor) (#1181)
* address issue #1119 (serialization with protected/private constructor)

* remove an unnecessary step in findNoArgConstructor()

* use getDeclaredConstructor() in place of the for-loop

* simplify by throwing the exception in findNoArgContructor()
2019-09-17 17:58:44 -07:00
Trevor Flynn
57db8f618f Add support for gltf morph names. (#1100)
* Add support for gltf morph names.

* Fix formatting stuff

* Add morph name to be saved

* Testing changes to gltf plugin

* Review changes

* Fix comments

* Fixes for review

* Remove getMorphNames from Geometry class
2019-07-11 09:51:25 +04:30
Trevor Flynn
ad2ba95e99 Jdk 11 Build Support 2019-04-15 22:03:18 +02:00
Stephen Gold
7e929aacab FbxLoader: comment out some debug spam to System.out - see issue #1025 2019-03-16 19:15:43 -07:00
Stephen Gold
75112201db more corrections in diagnostic messages 2019-03-09 12:04:43 -08:00
Stephen Gold
2356320d30 more comment-only correction 2019-03-09 11:57:23 -08:00
Stephen Gold
c7c203853c jme3-networking/jme3-plugins JavaDoc corrections (comments only) 2019-02-26 13:14:30 -08:00
Stephen Gold
2c25d77e64 avoid extraneous newlines to stderr during glTF import 2019-02-25 13:26:05 -08:00
Ali-RS
dae85e1598 Removed unused imports. (#1020) 2019-02-11 21:40:32 -08:00
Stephen Gold
34b32bf29b fix for issue #1003 (Loading multiple GLB files with animations fails) 2019-01-11 14:30:29 -08:00
Nehon
daba9b8bc7 Proper serialisation for morph animation 2018-03-24 21:02:52 +01:00
Nehon
4048f8ba26 Adds a cpu fallback for morph animation when all morph targets cannot be handled on the gpu 2018-03-24 21:02:52 +01:00
Rémy Bouquet
42215f4890 Hardware Morph animation implementation and glTF loading 2018-03-24 21:02:52 +01:00
Nehon
2e323eb7cf fixes some isues with the gltfLoader when there are several skins 2018-03-24 21:02:52 +01:00
Rémy Bouquet
05e907acca Added the base of the blending system. Smooth transition between anims 2018-03-24 21:02:52 +01:00
Nehon
d6b05553b5 Ogre loader now loads animations and armature with the new system 2018-03-24 21:02:52 +01:00
Nehon
abe094e74a Gltf loader now supports the new animation system 2018-03-24 21:02:52 +01:00
Alexandr Brui
a8c7a85fc1 Implementing value mappings for shader nodes. (#786)
* implemented value mappings for shader nodes.
2018-02-06 19:36:14 +01:00
Stephen Gold
bc624f1f73 correct more typographical errors in comments 2018-02-01 23:39:31 -08:00
Yan
1f4365a1f4 [taken]Fix issue #783
Fix issue #783
2018-01-21 09:37:49 +01:00
Stephen Gold
b159c847cc comment corrections: mostly spelling and grammar 2018-01-16 18:35:07 -08:00
ThoCed
4f6bfa36b6 Ogre importer ignores receive_shadows issue #647 2018-01-15 20:06:45 +01:00
Nehon
96b95b9a1e Fixes issues in the gltf loader when there are several skins 2018-01-07 15:34:01 +01:00
Nehon
0d8b86b66f Add default config for glb loader 2017-12-24 22:16:18 +01:00
Nehon
8a8d381c0e glTF: Fixes models orientations issues 2017-12-10 22:50:05 +01:00
Nehon
a741dc66f4 glTF: fixed crashes with some models structure 2017-12-10 20:12:50 +01:00
Nehon
a59b9e6a94 glTF: Skip tracks that belong to a different skin 2017-12-10 10:42:24 +01:00
Nehon
5dbbaf0f06 glTF: Fixes additional issues with bones transforms 2017-12-09 16:35:37 +01:00
Nehon
cfaaec5418 glTF: Fixes a crash when attached nodes contains skinned meshes 2017-12-07 19:01:44 +01:00
Nehon
806663990d glTF: fix animation defautl pose when no track is specified 2017-12-07 18:27:18 +01:00
Nehon
c971a4758f Fixes animation time sampling when source data contains duplicate keyframes 2017-12-06 20:35:13 +01:00
Nehon
f47f865d1d glTF: Fixed when a sub graph is ttached to a bone. Fixed a crash with animation resampling 2017-12-03 16:26:05 +01:00
javasabr
9578b0410e extended some things from shader node system. 2017-11-12 19:01:24 +01:00
Nehon
54061124a9 glTF: Fixed animation data interpolation, also renamed AnimData to TrackData to match JME paradigm. 2017-10-08 20:50:59 +02:00
Rémy Bouquet
132b0abc50 glTF Properly ignore morph animation until they are supported 2017-10-07 10:27:03 +02:00
Nehon
db23985f92 glTf: proper animation data padding when transforms are given as sparse arrays 2017-09-30 15:34:53 +02:00
Nehon
3f99c80109 glTF: properly close opened stream and avoid caching them.
Fixed an issue when an animation track didn't have any translation or scale entries
2017-09-27 10:00:49 +02:00
Nehon
c17c3e9605 Remove leftover sys err 2017-09-24 16:02:45 +02:00
Rémy Bouquet
7b2f1094b1 Gltf fix data reading 2017-09-24 15:55:46 +02:00
Nehon
2b014d194c glTF. support for glb files (binary self contained gltf) 2017-09-15 20:14:58 +02:00
Nehon
21fbaf8f11 glTF: prevent direct loading of .bin files. 2017-09-09 18:34:03 +02:00
Nehon
e09a5a5b09 glTF: fixed data reading to properly support interleaved data. 2017-09-09 14:31:54 +02:00
Nehon
32b947a0ac Fixed an issue where loaded glTF models couldn't use software skinning 2017-09-03 16:18:09 +02:00
Nehon
510562a62d Fixed a crash when loading a gltf file where textures has no sampler entry.
Also adapted how the light map is handled
2017-09-02 23:51:52 +02:00
Nehon
bed3cc8a17 Some clean up 2017-08-31 21:39:54 +02:00
Nehon
7166906908 Added support for loading "extras" from gltf files. Added some documentation 2017-08-31 21:39:54 +02:00
Nehon
cac51f542a Added support for packed float data 2017-08-31 21:39:54 +02:00
Nehon
01b48e0357 fixed an issue with transform matrix reading 2017-08-31 21:39:54 +02:00
Nehon
ad03eab01d Fix an issue with material adpater 2017-08-31 21:39:54 +02:00