mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
fea4165ca8
1. Extracted texture paths in `GLTFDocument::_parse_image_save_image` at the project root started with res:/// which broke cache invalidation 2. md5 hashes were not being written to generator_parameters for new imports, which led Godot to think the file was manually created. 3. `EditorFileSystem::reimport_append` must emit the `resources_reimported` signal in order for the resource cache to be updated. |
||
---|---|---|
.. | ||
doc_classes | ||
editor | ||
extensions | ||
structures | ||
config.py | ||
gltf_defines.h | ||
gltf_document.cpp | ||
gltf_document.h | ||
gltf_state.cpp | ||
gltf_state.h | ||
gltf_template_convert.h | ||
README.md | ||
register_types.cpp | ||
register_types.h | ||
SCsub |
Godot GLTF import and export module
In a nutshell, the GLTF module works like this:
- The
structures/
folder contains GLTF structures, the small pieces that make up a GLTF file, represented as C++ classes. - The
extensions/
folder contains GLTF extensions, which are optional features that build on top of the base GLTF spec. GLTFState
holds collections of structures and extensions.GLTFDocument
operates on GLTFState and its elements.- The
editor/
folder uses GLTFDocument to import and export 3D models.