96 Commits

Author SHA1 Message Date
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
Nehon
1bdebd5505 Added support for attachment nodes.
JME now supports byte buffers for index buffer
2017-08-31 21:39:54 +02:00
Nehon
d6c74dbf37 Added camera support 2017-08-31 21:39:54 +02:00
Nehon
f14acf305b Added support for extensions, implemented PBR spec gloss extension 2017-08-31 21:39:54 +02:00
Nehon
e9869e5298 Added support for base64 embed data and Images 2017-08-31 21:39:54 +02:00
Nehon
285d6bb86c Pad data when animation doesn't start at 0. 2017-08-31 21:39:54 +02:00
Nehon
94277ac286 Model can now be loaded keeping the specific pose of the skeleton in the file. 2017-08-31 21:39:54 +02:00
Nehon
de78c8deb6 Properly Read and use inverseBindMatrices for skeleton bind pose. 2017-08-31 21:39:54 +02:00
Nehon
225afd0f92 Compute the 4 more weighted bone index for skin animation when there are several Joint buffers for a mesh. 2017-08-31 21:39:54 +02:00
Nehon
911d8d77ef Actually commit the right file... 2017-08-31 21:39:54 +02:00
Nehon
4d78a5aef8 Gltf: all demo case of bone animation are now covered.
Though, this put in light a bug in our animation system that needs more work to get fixed.
2017-08-31 21:39:54 +02:00
Nehon
ea6c406979 Implemented bone animation. This is still in WIP state, currently working for the most simple cases. 2017-08-31 21:39:54 +02:00
Nehon
d7b2e08d95 Spatial tracks now can keep a reference to the spatial they apply to. This allows to group multiples spatial tracks in a single animation. 2017-08-31 21:39:54 +02:00
Rémy Bouquet
6b3093aa3e GLTF: armature loading. 2017-08-31 21:39:54 +02:00
Nehon
42aec10020 Gltf Spatial animation loading 2017-08-31 21:39:54 +02:00
Nehon
4daa0b5d9b Generates mikkt space tangents when a geometry has no tangent bufer but uses a material with a normal map 2017-08-31 21:39:54 +02:00
Nehon
40c4f7936d Implemented texture loading and PBR metalness/roughness pipeline support
Fixed  some mesh loading issues.
2017-08-31 21:39:54 +02:00
Nehon
3bbfabed5e Gltf: added support for PBR colored material 2017-08-31 21:39:54 +02:00
Nehon
7951f5a987 Gltf loader can load mesh data and scene structure. 2017-08-31 21:39:54 +02:00
empirephoenix
4663258904 Merge pull request #535 from papaspace/custom-blend-func
Added RenderState.BlendMode.Custom
2016-12-07 13:00:21 +01:00
MeFisto94
10a80b4352 Fixes #566 - XML Serialization handles empty buffers properly now. 2016-10-31 10:24:25 +01:00
Michael Braunstingl
d39b780fa5 Added RenderState.BlendMode.Custom
BlendMode.Custom allows glBlendFuncSeparate() calls.
2016-07-24 12:40:45 +02:00
empirephoenix
2c1fd47a67 Merge pull request #477 from riccardobl/fix_topic35663_issue
Ogre importer: Fix for material sharing
2016-05-18 11:41:52 +02:00