/glTF-Blender-Exporter

Blender glTF 2.0 exporter

Primary LanguagePythonApache License 2.0Apache-2.0

Blender glTF

Blender glTF 2.0 Exporter

Version

1.0

Introduction

This is the offical Khronos Blender glTF 2.0 exporter. This repository mainly contains Python scripts to export the internal Blender data structure to glTF 2.0. Node groups are also provided, to simulate glTF Physically-Based Rendering (PBR) materials using the Cycles renderer. Finally, several Blender scenes are provided demonstrating each feature individually.

Installation

The Khronos glTF 2.0 exporter is not available in the Add-ons tab by default, and must be installed manually by copying the scripts/addons/io_scene_gltf2 folder into the scripts/addons/ directory of the Blender installation, then enabling it under the Add-ons tab. Read detailed installation instructions here.

Using the exporter

Refer to user documentation. For best results with PBR materials, use the node groups provided with the exporter.

Features

This exporter supports meshes, materials, animation (keyframes, skinning, and shape keys), and more. For a complete list of features available in glTF 2.0, see the official specification and list of extensions. This exporter allows the following extensions:

Folders

docs
Documentation about the Blender glTF 2.0 exporter and its usage.
environments
Location of environment maps used in the scenes.
misc
Miscellaneous files like logos and so on.
pbr_node
Blender node groups for simulating the glTF 2.0 material model.
polly
Project 'Polly' Blender and glTF 2.0 scenes.
scenes
Basic and enhanced scenes for testing the exporter.
scripts
Blender Python scripts for exporting scenes to the glTF 2.0 format.
tests
Python scripts for testing the exporter itself.