better gltf exporter addon

Better glTF Exporter add-on for Blender

Blender's built-in glTF exporter can export separate .gltf, .bin, and texture files, but the default workflow can leave all exported files sitting together in one directory. Better glTF Exporter is a small wrapper around Blender's normal glTF exporter that defaults to a cleaner layout: the .gltf, .bin, and textures are grouped under an export/gltf directory.

Files

For installation, see Installing Blender add-ons.

What it exports

The add-on calls Blender's built-in bpy.ops.export_scene.gltf operator with export_format set to GLTF_SEPARATE. When supported by the Blender version, it also passes export_texture_dir so copied textures are written under the chosen texture folder.

export/
  gltf/
    my_asset.gltf
    my_asset.bin
    textures/
      base_color.png
      normal.png
      roughness.png

Workflow

  1. Open the Blender file you want to export.
  2. Use File > Export > Better glTF (.gltf).
  3. Choose the destination root and .gltf filename. The add-on creates export/gltf below that location.
  4. Leave Texture Directory as textures, or set another relative folder name.
  5. Export.

Options

If the selected destination already ends in export or export/gltf, the add-on reuses that structure instead of nesting another export/gltf inside it.

Why it checks supported properties

Blender's glTF exporter options change between Blender versions. The add-on asks the active glTF operator which properties it supports, then only passes options that exist. That keeps the wrapper from failing just because one Blender version uses a slightly different option set.

Notes


edit this page