Skip to content

Commit b733c85

Browse files
authored
Merge pull request godotengine#8173 from aaronfranke/import-diagrams-3d-scenes
Add diagrams that explain the import process for some 3D scene formats
2 parents 796df85 + 4f98c5d commit b733c85

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed

tutorials/assets_pipeline/importing_3d_scenes/available_formats.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,26 @@ changes in a text-based format. The second is you need the texture files
5151
separate from the material file. If you don't need either of those, glTF binary
5252
files are fine.
5353

54+
The glTF import process first loads the glTF file's data into an in-memory
55+
GLTFState class. This data is then used to generate a Godot scene.
56+
When importing files at runtime, this scene can be directly added to the tree.
57+
The export process is the reverse of this, a Godot scene is converted to a
58+
GLTFState class, then the glTF file is generated from that.
59+
60+
.. figure:: img/importing_3d_scenes_available_formats_gltf_runtime.webp
61+
:align: center
62+
:alt: Diagram explaining the runtime import and export process for glTF files in Godot
63+
64+
When importing glTF files in the editor, there are two more steps.
65+
After generating the Godot scene, the ResourceImporterScene class is used to
66+
apply additional import settings, including settings you set through the
67+
Import dock and the Advanced Import Settings dialog. This is then saved as
68+
a Godot scene file, which is what gets used when you run/export your game.
69+
70+
.. figure:: img/importing_3d_scenes_available_formats_gltf_editor.webp
71+
:align: center
72+
:alt: Diagram explaining the editor import process for glTF files in Godot
73+
5474
.. warning::
5575

5676
If your model contains blend shapes (also known as "shape keys" and "morph
@@ -106,6 +126,14 @@ If you keep ``.blend`` files within your project folder but don't want them to
106126
be imported by Godot, disable **Filesystem > Import > Blender > Enabled** in the
107127
advanced Project Settings.
108128

129+
The ``.blend`` import process converts to glTF first, so it still uses
130+
Godot's glTF import code. Therefore, the ``.blend`` import process is the same
131+
as the glTF import process, but with an extra step at the beginning.
132+
133+
.. figure:: img/importing_3d_scenes_available_formats_blend.webp
134+
:align: center
135+
:alt: Diagram explaining the import process for Blender files in Godot
136+
109137
.. note::
110138

111139
When working in a team, keep in mind using ``.blend`` files in your project
@@ -166,6 +194,14 @@ If you keep ``.fbx`` files within your project folder but don't want them to
166194
be imported by Godot, disable **Filesystem > Import > FBX > Enabled** in the
167195
advanced Project Settings.
168196

197+
The FBX import process converts to glTF first, so it still uses
198+
Godot's glTF import code. Therefore, the FBX import process is the same
199+
as the glTF import process, but with an extra step at the beginning.
200+
201+
.. figure:: img/importing_3d_scenes_available_formats_fbx.webp
202+
:align: center
203+
:alt: Diagram explaining the import process for FBX files in Godot
204+
169205
.. seealso::
170206

171207
The full installation process for using FBX in Godot is described on the
46.8 KB
Loading
48 KB
Loading
41.5 KB
Loading
39.1 KB
Loading

0 commit comments

Comments
 (0)