godot/modules/gltf
Lyuma 80bf0cff65 gltf: fix three bugs which prevented extracted textures from being refreshed.
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.

(cherry picked from commit fea4165ca8)
2024-01-24 16:38:28 +01:00
..
doc_classes Link to runtime loading/saving tutorial and improve Image documentation 2023-11-14 12:05:54 +01:00
editor Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
extensions Merge pull request #81851 from aaronfranke/gltf-single-root 2023-09-26 17:52:51 +02:00
structures [Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-09-26 16:44:52 +02:00
README.md GLTF: Organize structures into a subfolder 2022-07-24 17:16:51 -05:00
SCsub SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
config.py GLTF: Rename GLTFCollider class to GLTFPhysicsShape 2023-06-16 15:18:24 -05:00
gltf_defines.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gltf_document.cpp gltf: fix three bugs which prevented extracted textures from being refreshed. 2024-01-24 16:38:28 +01:00
gltf_document.h Implement glTF compat version system for files from older Godot versions 2023-11-03 12:07:25 -05:00
gltf_state.cpp Fix "as" capitalization in editor strings 2023-10-23 16:10:05 +08:00
gltf_state.h Vertex and attribute compression to reduce the size of the vertex format. 2023-10-05 12:02:23 -06:00
gltf_template_convert.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
register_types.cpp Merge pull request #76572 from acazuc/ktx_format_support 2023-08-19 13:00:35 +02:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00

README.md

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.