3d model details - Poobslag/turbofat GitHub Wiki

Blender

Exporting a 3D Model from Blender

Before exporting a 3D model:

  1. Apply all transforms. CTRL+A -> Apply All Transforms. If you do not do this step, the model will be oriented incorrectly when imported into Godot.
  2. Condense duplicate materials. Importing multiple similar models into Blender creates redundant materials with names like stone.002, stone.003, stone.004. Replace these redundant materials to instead point to the original material, stone. Otherwise those redundant materials will be exported and the glTFs will depend on them.

Export the 3D model in glTF 2.0 (.gltf) format with the following options:

Option Value
Format glTF Embedded (.gltf)
Include Selected objects
Animation No animation, no shape keys, no skinning
Transform +Y up

Mesh Libraries

Exporting a mesh library from Godot

Overwriting a mesh library causes unpredictable behavior in Godot 3.2.1. Models can disappear, lose their textures, or do other unpredictable things. It's recommended instead to do the following:

  1. Export into a new mesh library file, e.g nature-library2.tres
  2. Manually modify the project references to use the new library
  3. Verify the new library works
  4. Delete the old library
  5. Rename the new library file, e.g nature-library.tres