virtualx-engine/modules/gltf
demolke c409e6d722 Import/export GLTF extras to node->meta
This is useful for custom tagging of objects with properties (for example in Blender) and having this available in the editor for scripting.

- Adds import logic to propagate the parsed GLTF extras all the way to the resulting Node->meta
- Adds export logic to save Godot Object meta into GLTF extras
- Supports `nodes`, `meshes` and `materials` (in GLTF sense of the words)
2024-08-29 19:17:04 +02:00
..
doc_classes Add get_supported_gltf_extensions to GLTFDocument 2024-08-28 17:54:45 -07:00
editor ResourceImporterScene: Replace animation bool with an import type string enum 2024-08-27 14:58:18 -07:00
extensions GLTF: Only create MeshInstance3D when needed 2024-08-27 04:23:20 -07:00
structures Change capitalization of glTF in errors and comments. 2024-08-15 18:07:30 -07:00
tests Import/export GLTF extras to node->meta 2024-08-29 19:17:04 +02:00
config.py Add ufbx for FBX importing 2024-02-23 22:33:04 +01:00
gltf_defines.h Rename accessor GLTFType to GLTFAccessorType, fix verbose prints, doc 2024-05-24 03:21:13 -07:00
gltf_document.cpp Import/export GLTF extras to node->meta 2024-08-29 19:17:04 +02:00
gltf_document.h Add get_supported_gltf_extensions to GLTFDocument 2024-08-28 17:54:45 -07:00
gltf_state.cpp Add bake_fps for FBXDocument, GLTFDocument and both import-export. 2024-05-23 09:09:36 -07:00
gltf_state.h Add bake_fps for FBXDocument, GLTFDocument and both import-export. 2024-05-23 09:09:36 -07:00
gltf_template_convert.h Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00
README.md Fix glTF capitalization in class reference 2024-08-15 10:41:47 -07:00
register_types.cpp Add ufbx for FBX importing 2024-02-23 22:33:04 +01:00
register_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Add ufbx for FBX importing 2024-02-23 22:33:04 +01:00
skin_tool.cpp Replace find with contains/has where applicable 2024-05-08 12:37:42 +02:00
skin_tool.h Add new scene import option to import as Skeleton 2024-02-26 03:06:07 -08:00

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.