Florian Zwoch
1abf464b59
gltf: improve embedded data discovery
...
Some editors seems to use the image resource's mime type (e.g. "image/png") for data embedded uris instead of "application/octet-stream".
2018-02-21 12:18:52 +01:00
Juan Linietsky
a8a3d5c835
Fixes to GLTF2 importer skeleton positioning, though vertex bone indices still look broken somehow..
2018-01-05 09:53:40 -03:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Juan Linietsky
f11a138505
Added more hacks to GLTF2 importer to support crap exporter (MakeHuman in this case), fixes #13393
2017-12-28 16:07:45 -03:00
Webster Sheets
74b68d2e71
Fix importing GLTF meshes as external files.
2017-12-09 17:40:48 -05:00
Juan Linietsky
209cb3830c
Exposed EditorSceneImporter to script. Added APIs to use intermediate converters more easily.
2017-12-07 15:44:20 -03:00
Juan Linietsky
bc2e8d99e5
Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
...
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Webster Sheets
05dce362d5
Fix for #12056 , though GTLF import of that file is still incorrect.
2017-11-12 23:47:51 -05:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Juan Linietsky
ded74dedef
Fixed missing return value in glTF2.0 importer camera, closes #10130
2017-09-01 22:36:49 -03:00
Hein-Pieter van Braam
f9467ec1ea
Fix signed and unsigned comparisons
...
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01 08:13:12 +02:00
Ferenc Arn
609ef89362
Fix the channels gltf importer uses for metallic and AO textures.
...
Khronos blender gltf exporter uses red channel for occlusion and blue channel for metallic, whereas the current behavior is the opposite.
Fixes #10700 .
2017-08-28 15:09:47 -04:00
Juan Linietsky
26ff90eaed
Full GLTF 2.0 Specification support! cheers!
2017-08-03 19:42:32 -03:00
Juan Linietsky
5c361485db
-Added GLTF scene support (still missing animations and .glb extension)
...
-Fixed bugs regarding tangent generation in SurfaceTool
2017-08-02 15:43:49 -03:00