glTF-Blender-IO
Blender glTF 2.0 importer and exporter
File Explorer
- bug_report.md
- config.yml
- feature_request.md
- ci.yml
- extensions.json
- launch.json
- settings.json
- blender_default.py
- conversion.py
- data_path.py
- extras.py
- gltf2_blender_math.py
- gltf2_blender_ui.py
- gltf2_blender_utils.py
- json_util.py
- material_helpers.py
- README.md
- animation.py
- channel_target.py
- channels.py
- keyframes.py
- sampler.py
- action_sampled.py
- channel_target.py
- channels.py
- keyframes.py
- sampler.py
- action_sampled.py
- channel_target.py
- channels.py
- keyframes.py
- sampler.py
- action_sampled.py
- channel_target.py
- channels.py
- keyframes.py
- sampler.py
- action_sampled.py
- channel_target.py
- channels.py
- keyframes.py
- sampler.py
- sampling_cache.py
- action.py
- anim_extra_utils.py
- anim_utils.py
- animations.py
- drivers.py
- keyframes.py
- scene_animation.py
- tracks.py
- anisotropy.py
- clearcoat.py
- dispersion.py
- emission.py
- ior.py
- iridescence.py
- sheen.py
- specular.py
- transmission.py
- variants.py
- volume.py
- encode_image.py
- image.py
- material_utils.py
- material_viewport.py
- materials.py
- pbr_metallic_roughness.py
- search_node_tree.py
- texture.py
- texture_info.py
- unlit.py
- accessors.py
- attribute_utils.py
- cache.py
- cameras.py
- export.py
- exporter.py
- gather.py
- joints.py
- light_spots.py
- lights.py
- nodes.py
- obj_data.py
- pointcloud.py
- primitive_attributes.py
- primitive_extract.py
- primitives.py
- README.md
- sampler.py
- skins.py
- tree.py
- animation.py
- animation_node.py
- animation_pointer.py
- animation_utils.py
- animation_weight.py
- blender_gltf.py
- camera.py
- draco_compression_extension.py
- image.py
- KHR_materials_anisotropy.py
- KHR_materials_iridescence.py
- KHR_materials_pbrSpecularGlossiness.py
- KHR_materials_unlit.py
- light.py
- material.py
- material_utils.py
- mesh.py
- node.py
- pbrMetallicRoughness.py
- README.md
- scene.py
- texture.py
- vnode.py
- __init__.py
- constants.py
- debug.py
- gltf2_io.py
- gltf2_io_extensions.py
- library.py
- lights_punctual.py
- path.py
- README.md
- variants.py
- binary_data.py
- buffer.py
- draco.py
- export.py
- image_data.py
- meshopt.py
- README.md
- user_extensions.py
- __init__.py
- gltf2_io_binary.py
- gltf2_io_binary_meshopt.py
- gltf2_io_gltf.py
- README.md
- user_extensions.py
- __init__.py
- __init__.py
- scene_gltf2.rst
- io_process.png
- io_process.pptx
- packages.png
- packages.uxf
- README.md
- __init__.py
- blender_manifest.toml
- readme.md
- __init__.py
- blender_manifest.toml
- readme.md
- addons_import-export_scene-gltf2_addon-preferences-animation.png
- addons_import-export_scene-gltf2_addon-preferences-shader.png
- addons_import-export_scene-gltf2_addon-preferences-variant.png
- addons_import-export_scene-gltf2_material-backface-culling.png
- addons_import-export_scene-gltf2_material-base-color-image-hookup.png
- addons_import-export_scene-gltf2_material-base-color-solid-green.png
- addons_import-export_scene-gltf2_material-base-color.png
- addons_import-export_scene-gltf2_material-channels.jpg
- addons_import-export_scene-gltf2_material-clearcoat.png
- addons_import-export_scene-gltf2_material-emissive.png
- addons_import-export_scene-gltf2_material-factors.png
- addons_import-export_scene-gltf2_material-iridescence.png
- addons_import-export_scene-gltf2_material-mapping.png
- addons_import-export_scene-gltf2_material-metal-rough.png
- addons_import-export_scene-gltf2_material-normal.png
- addons_import-export_scene-gltf2_material-occlusion-only.png
- addons_import-export_scene-gltf2_material-opaque.png
- addons_import-export_scene-gltf2_material-orm-hookup.png
- addons_import-export_scene-gltf2_material-principled.png
- addons_import-export_scene-gltf2_material-rgb.png
- addons_import-export_scene-gltf2_material-round-alpha.png
- addons_import-export_scene-gltf2_material-sheen.png
- addons_import-export_scene-gltf2_material-unlit.png
- addons_import-export_scene-gltf2_material-volume.png
- addons_import-export_scene-gltf2_material_anisotropy-grayscale-texture.png
- addons_import-export_scene-gltf2_material_anisotropy.png
- addons_import-export_scene-gltf2_material_variants-detail.png
- addons_import-export_scene-gltf2_material_variants-switch.png
- Blender_logo.png
- Debug_settings.png
- glTF_logo.png
- Box.glb
- Box.gltf
- Box0.bin
- .gitignore
- glTF2.blend
- glTF2_Principled.blend
- README.md
- 00_empty_scene.gltf
- 00_no_nodes.gltf
- 00_no_scene.bin
- 00_no_scene.gltf
- 00_no_scenes.bin
- 00_no_scenes.gltf
- 01_alpha_blend.bin
- 01_alpha_blend.gltf
- 01_alpha_blend.png
- 01_alpha_mask.bin
- 01_alpha_mask.gltf
- 01_alpha_mask.png
- 01_color_attribute.bin
- 01_color_attribute.gltf
- 01_cs_morph.bin
- 01_cs_morph.gltf
- 01_cs_rotate.bin
- 01_cs_rotate.gltf
- 01_cs_scale.bin
- 01_cs_scale.gltf
- 01_cs_translate.bin
- 01_cs_translate.gltf
- 01_cube.bin
- 01_cube.gltf
- 01_cube_no_material.bin
- 01_cube_no_material.gltf
- 01_metallic_sphere.bin
- 01_metallic_sphere.gltf
- 01_morphed_cube.bin
- 01_morphed_cube.export.json
- 01_morphed_cube.gltf
- 01_morphed_cube_options.txt
- 01_morphed_cube_no_uv.bin
- 01_morphed_cube_no_uv.gltf
- 01_morphed_triangle.bin
- 01_morphed_triangle.gltf
- 01_plane.bin
- 01_plane.gltf
- 01_principled_baseColor.png
- 01_principled_emissive.png
- 01_principled_material.bin
- 01_principled_material.gltf
- 01_principled_normal.png
- 01_principled_occlusionRoughnessMetallic.png
- 01_single_vs_double_sided.bin
- 01_single_vs_double_sided.gltf
- 01_sphere.bin
- 01_sphere.gltf
- 01_textured_sphere.bin
- 01_textured_sphere.gltf
- 01_Textured_Sphere_BaseColor.png
- 01_Textured_Sphere_Normal.png
- 01_Textured_Sphere_OcclusionRoughnessMetallic.png
- 01_Textured_Sphere_BaseColor.png
- 01_Textured_Sphere_Normal.png
- 01_Textured_Sphere_OcclusionRoughnessMetallic.png
- 01_textured_sphere_principled_bsdf.bin
- 01_textured_sphere_principled_bsdf.gltf
- 01_triangle.bin
- 01_triangle.gltf
- 01_unlit.bin
- 01_unlit.gltf
- 01_vertex_count_16bit.bin
- 01_vertex_count_16bit.gltf
- 01_vertex_count_32bit.bin
- 01_vertex_count_32bit.gltf
- 02_node_hierarchy.bin
- 02_node_hierarchy.gltf
- 02_shared_mesh.bin
- 02_shared_mesh.gltf
- 02_suzanne.bin
- 02_suzanne.gltf
- 02_Suzanne_BaseColor.png
- 02_suzanne_Normal.png
- 02_Suzanne_OcclusionRoughnessMetallic.png
- 03_all_animations.bin
- 03_all_animations.gltf
- 03_animated_cube.bin
- 03_animated_cube.gltf
- 03_skinned_cylinder.bin
- 03_skinned_cylinder.gltf
- 04_common_materials.bin
- 04_common_materials.gltf
- 04_crate.png
- 04_crate.png
- 04_lenna.bin
- 04_lenna.gltf
- 04_lights.bin
- 04_lights.gltf
- 04_sphere_specular_glossiness.bin
- 04_sphere_specular_glossiness.gltf
- 05_metallic_sphere_light.bin
- 05_metallic_sphere_light.gltf
- 05_node_material.bin
- 05_node_material.gltf
- 06_parent-inverse-anim.bin
- 06_parent-inverse-anim.gltf
- 07_nla-anim.bin
- 07_nla-anim.gltf
- 08_combine_orm.bin
- 08_combine_orm.gltf
- 08_tiny-box-rgb.png
- 09_texture_transform.bin
- 09_texture_transform.gltf
- 09_tiny_grid.png
- 10_custom_normals.bin
- 10_custom_normals.gltf
- 11_factors_and_textures.bin
- 11_factors_and_textures.gltf
- Blank.png
- 12_orm_two_uvmaps.bin
- 12_orm_two_uvmaps.gltf
- ORM.png
- 13_occlusion_strength.bin
- 13_occlusion_strength.gltf
- White.png
- 13_texture_wrapping.bin
- 13_texture_wrapping.gltf
- Black.png
- 14_emission_strength.bin
- 14_emission_strength.gltf
- 14_emission_strength.png
- 15_transmission.bin
- 15_transmission.gltf
- 15_transmission.png
- 16_volume.gltf
- AttenuationLabels.png
- AttenuationTest.bin
- PlainGrid.png
- ThicknessTexture.png
- 17_ior.bin
- 17_ior.gltf
- 18_variants.bin
- 18_variants.gltf
- 18_variants_options.txt
- 19_sheen.bin
- 19_sheen.gltf
- Untitled.png
- 20_specular.bin
- 20_specular.gltf
- 20_specular_noval.txt
- source.blend
- Untitled.png
- 20_specular_original.bin
- 20_specular_original.gltf
- source.blend
- Untitled.png
- 22_factors.bin
- 22_factors.gltf
- Untitled.png
- 22_material_slot_merge.bin
- 22_material_slot_merge.gltf
- 22_material_slot_not_merge.bin
- 22_material_slot_not_merge.gltf
- 22_material_slot_not_merge.json
- 22_material_slot_not_merge_options.txt
- 22_vertex_color.bin
- 22_vertex_color.gltf
- 23_multi_prim_vertex_attribute.bin
- 23_multi_prim_vertex_attribute.export.json
- 23_multi_prim_vertex_attribute.gltf
- 23_multi_prim_vertex_attribute_options.txt
- 24_animation_pointer.gltf
- 6.png
- AnimateAllTheThings.bin
- cat_03_repeat.jpg
- Default-Checker.jpg
- EmissionPattern.jpg
- meshes_weights_pointer.bin
- NoisePattern.png
- Normal_map_example.jpg
- Occlusion_map_example.jpg
- 24_gpu_instancing.bin
- 24_gpu_instancing.export.json
- 24_gpu_instancing.gltf
- 24_gpu_instancing_options.txt
- 25_anisotropy.export.json
- 25_anisotropy.gltf
- 25_anisotropy_options.txt
- AnisoDonutLabels.png
- AnisoRotation10_Linear.png
- AnisoRotation30_Linear.png
- AnisotropyDiscs.png
- AnisotropyNodeTest.bin
- GridWithMarkers.png
- GridWithMarkers_30deg.png
- Heights_1d_Normals_v2.png
- Box.gltf
- Box0.bin
- README.md
- .gitignore
- 00_all_negative_crop.blend
- 00_bake_sk.blend
- 00_drivers_multiple_actions.blend
- 00_extras.blend
- 00_extras_action.blend
- 00_extras_action_fcurve.blend
- 00_extras_scene.blend
- 00_extras_track_action.blend
- 00_extras_track_track.blend
- 00_looping_animation.blend
- 00_parented_to_bone_and_animated.blend
- 00_scene_export.blend
- 00_slide_negative_frames.blend
- 00_slide_negative_frames_active_actions.blend
- 00_slide_with_driver.blend
- 01_alpha_animation.blend
- 01_alpha_blend.blend
- 01_alpha_blend.png
- 01_alpha_mask.blend
- 01_alpha_mask.png
- 01_base_color.blend
- 01_color_attribute.blend
- 01_cs_morph.blend
- 01_cs_rotate.blend
- 01_cs_scale.blend
- 01_cs_translate.blend
- 01_cube.blend
- 01_cube_no_material.blend
- 01_dispersion.blend
- 01_factors.blend
- 01_linked_collection.blend
- 01_metallic_sphere.blend
- 01_missing_textures.blend
- 01_morphed_cube.blend
- 01_morphed_cube_no_uv.blend
- 01_morphed_triangle.blend
- 01_multiple_collection_instances.blend
- 01_plane.blend
- 01_principled_baseColor.png
- 01_principled_emissive.png
- 01_principled_material.blend
- 01_principled_material_280.blend
- 01_principled_normal.png
- 01_principled_occlusionRoughnessMetallic.png
- 01_sphere.blend
- 01_textured_sphere.blend
- 01_Textured_Sphere_BaseColor.png
- 01_Textured_Sphere_Normal.png
- 01_Textured_Sphere_OcclusionRoughnessMetallic.png
- 01_triangle.blend
- 01_two_sided_plane.blend
- 01_vertex_count_16bit.blend
- 01_vertex_count_32bit.blend
- 02_material_instancing.blend
- 02_node_hierarchy.blend
- 02_shared_mesh.blend
- 02_suzanne.blend
- 02_Suzanne_BaseColor.png
- 02_suzanne_Normal.png
- 02_Suzanne_OcclusionRoughnessMetallic.png
- 03_all_animations.blend
- 03_animated_cube.blend
- 03_skinned_cylinder.blend
- 04_common_materials.blend
- 04_crate.png
- 04_lenna.blend
- 04_lights.blend
- 04_sphere_specular_glossiness.blend
- 05_metallic_sphere_light.blend
- 05_node_material.blend
- 06_parent-inverse-anim.blend
- 07_nla-anim.blend
- 08_clearcoat.blend
- 08_combine_clearcoat.blend
- 08_combine_occlusionMetal.blend
- 08_combine_occlusionRough.blend
- 08_combine_orm.blend
- 08_combine_roughMetal.blend
- 08_img_metal.png
- 08_img_occlusion.png
- 08_img_rough.png
- 08_normal_ribs.png
- 08_only_metal.blend
- 08_only_occlusion.blend
- 08_only_rough.blend
- 08_tiny-box-__b.png
- 08_tiny-box-_g_.png
- 08_tiny-box-_gb.png
- 08_tiny-box-r_b.png
- 08_tiny-box-rg_.png
- 08_tiny-box-rgb.png
- 09_tex_transform_from_point.blend
- 09_tex_transform_from_texture.blend
- 09_tex_transform_from_vector.blend
- 09_tex_wrapping_mirror.blend
- 09_tiny_grid.png
- 10_custom_normals.blend
- 10_custom_normals_with_modifier.blend
- 11_loose_geometry.blend
- 12_anim_range_driver.blend
- 12_anim_range_not_sampled.blend
- 12_anim_range_sampled.blend
- 14_transmission.blend
- 16_volume.blend
- 17_ior.blend
- 18_variants.blend
- 19_sheen.blend
- 20_specular.blend
- 21_scene.blend
- 22_node_groups.blend
- 22_simple_GN.blend
- 22_vertex_colors_and_attributes.blend
- 23_use_active_collection_all.blend
- 23_use_active_collection_nested.blend
- 23_use_active_collection_without_nested.blend
- 24_material_partial_VC.blend
- 24_vertex_color_and_factor.blend
- 24_vertex_color_and_factor_active_all_no_nomat.blend
- 24_vertex_color_and_factor_active_all_with_nomat.blend
- 24_vertex_color_and_factor_active_not_all.blend
- 24_vertex_color_and_factor_active_not_all_no_nomat.blend
- 24_vertex_color_and_factor_name.blend
- 24_vertex_color_and_factor_nodetree_all_with_nomat.blend
- 24_vertex_color_and_factor_nodetree_all_without_nomat.blend
- 24_vertex_color_and_factor_nodetree_not_all_with_nomat.blend
- 24_vertex_color_and_factor_nodetree_not_all_without_nomat.blend
- 24_vertex_color_and_factor_none.blend
- 24_vertex_color_corner_vertex.blend
- 24_vertex_colors.blend
- 25_drivers.blend
- 25_drivers_disable_viewport.blend
- 25_drivers_no_shapekeys.blend
- 25_mesh_instances.blend
- 25_mesh_instances_apply_modifier.blend
- 26_material_override_by_modifiers.blend
- 26_nla_export_mode.blend
- 27_apply_modifier_with_shapekeys.blend
- 28_shapekeys_anim.blend
- 28_shapekeys_no_sk_anim_export.blend
- 28_shapekeys_no_sk_export.blend
- 28_sk_no_reset.blend
- 28_sk_reset.blend
- 28_sparse_sk.blend
- 28_sparse_sk_no_sparse.blend
- 28_sparse_sk_no_sparse_size.blend
- 28_sparse_sk_omit.blend
- 28_various_sk.blend
- 29_armature_use_current_pose.blend
- 29_armature_use_rest_pose.blend
- 30_baking_animation.blend
- 31_interpolation_sampled.blend
- 31_interpolation_sampled_no_keep.blend
- 31_interpolation_sampled_no_optimize.blend
- 31_interpolation_sampled_no_optimize_but_keep.blend
- 32_custom_uvmap_attribute.blend
- 32_gpu_instancing_with_instancing.blend
- 32_gpu_instancing_without_instancing.blend
- 32_uvmap_indices.blend
- 32_webp_mode_auto_with_create_webp.blend
- 32_webp_mode_auto_with_fallback.blend
- 32_webp_mode_auto_with_fallback_and_create_webp.blend
- 32_webp_mode_webp.blend
- 32_weights_influence_4.blend
- 32_weights_influence_6.blend
- 32_weights_influence_9.blend
- 32_weights_influence_all.blend
- 33_anisotropy_from_grayscale.blend
- 33_no_unused_texture_and_image.blend
- 33_udim.blend
- 33_udim_merged.blend
- 33_unused_image.blend
- 33_unused_texture.blend
- 33_unused_texture_and_image.blend
- 34_additional_anim.blend
- 34_animation_pointer.blend
- 34_animation_pointer_action.blend
- 34_animation_pointer_extras.blend
- 34_animation_pointer_extras_1.blend
- 35_broadcast_slots.blend
- 36_viewport_material_export.blend
- 37_lamp_Cycles.blend
- 37_lamp_EEVEE.blend
- 37_lamp_Workbench.blend
- 38_pointcloud_GN.blend
- 38_pointcloud_object.blend
- 39_iridescence.blend
- 39_parenting_full_hierarchy.blend
- 39_parenting_no_full_hierarchy.blend
- A.blend
- B.blend
- C.blend
- collection_to_link.blend
- GlTF_logo.svg.png
- gn_nested_instances.blend
- grayscale_anisotropy.png
- grayscale_anisotropy_rotation.png
- Lenna.png
- material_partial_VC.png
- parent_is_skined.blend
- README.md
- RobotExpressive.blend
- test.1001.png
- test.1002.png
- test.1011.png
- test.1012.png
- test2.1001.png
- test2.1002.png
- test2.1011.png
- test2.1012.png
- test3.1001.png
- test3.1002.png
- test3.1011.png
- test3.1012.png
- test4.1001.png
- test4.1002.png
- test4.1011.png
- test4.1012.png
- test_merged.1001.png
- test_merged.1002.png
- test_merged_2.1001.png
- test_merged_2.1002.png
- Untitled-1.png
- Untitled-2.png
- Untitled.png
- Untitled.webp
- White.png
- XX_blender_global_test.blend
- test.js
- .eslintrc.json
- .npmrc
- export_gltf.py
- package.json
- roundtrip_gltf.py
- yarn.lock
- autopep8.md
- copy_doc.py
- copy_repo.py
- roundrip_dir.py
- tests_on_blender.py
- .gitattributes
- .gitignore
- .project
- .pydevproject
- AUTHORS.txt
- CODE_OF_CONDUCT.md
- DEBUGGING.md
- LICENSE.txt
- pyproject.toml
- README.md
- Technical.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
blender
View Details ▼
blender
Command-line interface to the Blender 3D computer graphics application.
Arguments are executed in the order they are given.
blender {{[-b|--background]}} {{path/to/file.blend}} {{[-a|--render-anim]}}
Render all frames of an animation in the background, without loading the UI (output is saved to `/tmp`):
blender {{[-b|--background]}} {{path/to/file.blend}} {{[-o|--render-output]}} //{{render/frame_###.png}} {{[-a|--render-anim]}}
Render an animation using a specific image naming pattern, in a path relative (`//`) to the `.blend` file:
blender {{[-b|--background]}} {{path/to/file.blend}} {{[-o|--render-output]}} /{{path/to/output_directory}} {{[-f|--render-frame]}} {{10}}
Render the 10th frame of an animation as a single image, saved to an existing directory (absolute path):
yarn
View Details ▼
yarn
JavaScript and Node.js package manager alternative.
yarn global add {{module_name}}
Install a module globally:
yarn install
Install all dependencies referenced in the `package.json` file (the `install` is optional):
yarn add {{module_name}}@{{version}}
Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):
