aboutsummaryrefslogtreecommitdiff
path: root/editor/import/editor_scene_importer_gltf.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #19193 from tagcup/quat_normJuan Linietsky2018-06-251-2/+1
|\ | | | | Fixed Basis -> Quat conversions, added a few safety checks.
| * Fixed Basis -> Quat conversions, added a few safety checks.tagcup2018-05-271-2/+1
| | | | | | | | Fixes #19027.
* | fix default glTF metallic & roughness factor valuesRodolfo Ribeiro Gomes2018-06-211-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | The glTF 2.0 spec says that these pbrMetallicRoughness material properties should be set as 1.0 by default. In fact, KhronosGroup's official Blender Exporter does not even write down those parameters if they are set as 1.0. However, Godot import them as 0.0. https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#pbrmetallicroughness Fixes: #19613 https://github.com/godotengine/godot/issues/19613
* | Import morph target names from glTFPedro J. Estébanez2018-06-141-1/+4
|/ | | | If mesh.extras.targetNames is available. Keep the former naming pattern as fallback.
* Use mimetype according to glTF spec.Yaakuro2018-05-101-1/+1
|
* Fix skeleton import from glTFPedro J. Estébanez2018-04-061-5/+10
| | | | | | For some glTF files, the order of bones in the skeleton array wasn't matching the joints array in the meshes. Fixes #17808.
* Fix animation length from glTF not correctly setPedro J. Estébanez2018-03-191-4/+3
|
* Fix glTF not accepting VEC3 colorsPedro J. Estébanez2018-03-191-3/+11
| | | | Aside from the colors themselves, the rejection was adding somes issues later in the mesh import process.
* gltf: improve embedded data discoveryFlorian Zwoch2018-02-211-1/+2
| | | | Some editors seems to use the image resource's mime type (e.g. "image/png") for data embedded uris instead of "application/octet-stream".
* Fixes to GLTF2 importer skeleton positioning, though vertex bone indices ↵Juan Linietsky2018-01-051-14/+42
| | | | still look broken somehow..
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+30
| | | | | | 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.
* Added more hacks to GLTF2 importer to support crap exporter (MakeHuman in ↵Juan Linietsky2017-12-281-135/+147
| | | | this case), fixes #13393
* Fix importing GLTF meshes as external files.Webster Sheets2017-12-091-1/+4
|
* Exposed EditorSceneImporter to script. Added APIs to use intermediate ↵Juan Linietsky2017-12-071-1/+1
| | | | converters more easily.
* Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-8/+10
| | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* Fix for #12056, though GTLF import of that file is still incorrect.Webster Sheets2017-11-121-2/+4
|
* Fix unused variable warningsHein-Pieter van Braam2017-09-081-3/+3
| | | | The forth in my quest to make Godot 3.x compile with -Werror on GCC7
* Fixed missing return value in glTF2.0 importer camera, closes #10130Juan Linietsky2017-09-011-0/+2
|
* Fix signed and unsigned comparisonsHein-Pieter van Braam2017-09-011-1/+1
| | | | The first in my quest to make Godot 3.x compile with -Werror on GCC7
* Fix the channels gltf importer uses for metallic and AO textures.Ferenc Arn2017-08-281-1/+2
| | | | | | Khronos blender gltf exporter uses red channel for occlusion and blue channel for metallic, whereas the current behavior is the opposite. Fixes #10700.
* Full GLTF 2.0 Specification support! cheers!Juan Linietsky2017-08-031-9/+536
|
* -Added GLTF scene support (still missing animations and .glb extension)Juan Linietsky2017-08-021-0/+1581
-Fixed bugs regarding tangent generation in SurfaceTool