glTF 2.0

Ссылка

Категория:

Импорт-Экспорт

Меню:

Файл ‣ Импортировать/Экспортировать ‣ glTF 2.0 (.glb, .gltf)

Использование

glTF™ (GL Transmission Format) используется для передачи и загрузки 3D-моделей в собственных и веб-приложениях. glTF уменьшает размер 3D-моделей и время выполнения, необходимое для распаковки и рендеринга этих моделей. Этот формат широко используется в Интернете и поддерживается в различных 3D-движках, таких как Unity3D, Unreal Engine 4 и Godot.

Этот импортер/экспортер поддерживает следующие функции glTF 2.0:

  • Меши (meshes)

  • Материалы (Principled BSDF) и материалы без затенения (Unlit)

  • Текстуры (textures)

  • Камеры (cameras)

  • Точечные источники света (точечный, прожекторный и направленный)

  • Extensions (перечислены ниже)

  • Extras (пользовательские свойства)

  • Анимация (ключевой кадр, ключ формы и скиннинг)

Меши (meshes)

Внутренняя структура glTF имитирует буферы памяти, обычно используемые графическими чипами при рендеринге в реальном времени, что позволяет передавать ассеты на рабочий стол, веб-страницы или мобильные клиенты и оперативно отображать их с минимальной обработкой. В результате четырехугольники и n-угольники автоматически преобразуются в треугольники при экспорте в glTF. Прерывистые UV и плоские затененные края могут привести к умеренно большему количеству вершин в glTF по сравнению с Blender, поскольку такие вершины разделяются при экспорте. Аналогично, кривые и другие не-меш данные не сохраняются и должны быть преобразованы в меши перед экспортом.

Материалы (materials)

Ядро системы материалов в glTF поддерживает metal/rough :abbr:`PBR (Physically Based Rendering)`поддерживает следующие каналы информации:

  • Основной цвет (base color)

  • Металлик (metallic)

  • Шероховатость (roughness)

  • Baked Ambient Occlusion

  • Normal Map (tangent space, +Y up)

  • Emissive

Некоторые дополнительные свойства материалов или их типы могут быть выражены с помощью расширений glTF. Полный список можно найти в разделе «расширений» данной документации.

../../_images/addons_import-export_scene-gltf2_material-channels.jpg

Пример различных карт изображений, доступных в основном формате glTF 2.0. Это модель образца бутылки с водой, показанная вместе с фрагментами различных карт изображений.

Imported Materials

The glTF material system is different from Blender’s own materials. When a glTF file is imported, the add-on will construct a set of Blender nodes to replicate each glTF material as closely as possible.

The importer supports Metal/Rough PBR (core glTF), Spec/Gloss PBR (KHR_materials_pbrSpecularGlossiness) and some extension materials. The complete list can be found in Extensions part of this documentation.

Совет

Examining the result of the material import process is a good way to see examples of the types of material nodes and settings that can be exported to glTF.

Exported Materials

The exporter supports Metal/Rough PBR (core glTF) and Shadeless (KHR_materials_unlit) materials. It will construct a glTF material based on the nodes it recognizes in the Blender material. The material export process handles the settings described below.

Примечание

When image textures are used by materials, glTF requires that images be in PNG or JPEG format. The add-on will automatically convert images from other formats, increasing export time.

Основной цвет (base color)

The glTF base color is determined by looking for a Base Color input on a Principled BSDF node. If the input is unconnected, the input’s default color (the color field next to the unconnected socket) is used as the Base Color for the glTF material.

../../_images/addons_import-export_scene-gltf2_material-base-color-solid-green.png

A solid base color can be specified directly on the node.

If an Image Texture node is found to be connected to the Base Color input, that image will be used as the glTF base color.

../../_images/addons_import-export_scene-gltf2_material-base-color-image-hookup.png

An image is used as the glTF base color.

Metallic and Roughness

These values are read from the Principled BSDF node. If both of these inputs are unconnected, the node will display sliders to control their respective values between 0.0 and 1.0, and these values will be copied into the glTF.

When using an image, glTF expects the metallic values to be encoded in the blue (B) channel, and roughness to be encoded in the green (G) channel of the same image. If images are connected to the Blender node in a manner that does not follow this convention, the add-on may attempt to adapt the image to the correct form during exporting (with an increased export time).

In the Blender node tree, it is recommended to use a Separate RGB node to separate the channels from an Image Texture node, and connect the green (G) channel to Roughness, and blue (B) to Metallic. The glTF exporter will recognize this arrangement as matching the glTF standard, and that will allow it to simply copy the image texture into the glTF file during export.

The Image Texture node for this should have its Color Space set to Non-Color.

../../_images/addons_import-export_scene-gltf2_material-metal-rough.png

A metallic/roughness image connected in a manner consistent with the glTF standard, allowing it to be used verbatim inside an exported glTF file.

Baked Ambient Occlusion

glTF is capable of storing a baked ambient occlusion map. Currently there is no arrangement of nodes that causes Blender to use such a map in exactly the same way as intended in glTF. However, if the exporter finds a custom node group by the name of glTF Material Output, and finds an input named Occlusion on that node group, it will look for an Image Texture attached there to use as the occlusion map in glTF. The effect need not be shown in Blender, as Blender has other ways of showing ambient occlusion, but this method will allow the exporter to write an occlusion image to the glTF. This can be useful to real-time glTF viewers, particularly on platforms where there may not be spare power for computing such things at render time.

../../_images/addons_import-export_scene-gltf2_material-occlusion-only.png

A pre-baked ambient occlusion map, connected to a node that doesn’t render but will export to glTF.

Совет

The easiest way to create the custom node group is to import an existing glTF model that contains an occlusion map, such as the water bottle or another existing model. A manually created custom node group can also be used.

glTF stores occlusion in the red (R) channel, allowing it to optionally share the same image with the roughness and metallic channels.

../../_images/addons_import-export_scene-gltf2_material-orm-hookup.png

This combination of nodes mimics the way glTF packs occlusion, roughness, and metallic values into a single image.

Совет

The Cycles render engine has a Bake panel that can be used to bake ambient occlusion maps. The resulting image can be saved and connected directly to the glTF Material Output node.

Normal Map (Карта нормалей)

To use a normal map in glTF, connect an Image Texture node’s color output to a Normal Map node’s color input, and then connect the Normal Map normal output to the Principled BSDF node’s normal input. The Image Texture node for this should have its Color Space property set to Non-Color.

The Normal Map node must remain on its default property of Tangent Space as this is the only type of normal map currently supported by glTF. The strength of the normal map can be adjusted on this node. The exporter is not exporting these nodes directly, but will use them to locate the correct image and will copy the strength setting into the glTF.

../../_images/addons_import-export_scene-gltf2_material-normal.png

A normal map image connected such that the exporter will find it and copy it to the glTF file.

Совет

The Cycles render engine has a Bake panel that can be used to bake tangent-space normal maps from almost any other arrangement of normal vector nodes. Switch the Bake type to Normal. Keep the default space settings (space: Tangent, R: +X, G: +Y, B: +Z) when using this bake panel for glTF. The resulting baked image can be saved and plugged into to a new material using the Normal Map node as described above, allowing it to export correctly.

See: Cycles Render Baking

Emissive

An Image Texture node can be connected to the Emission input on the Principled BSDF node to include an emissive map with the glTF material. Alternatively, the Image Texture node can be connected to an Emission shader node, and optionally combined with properties from a Principled BSDF node by way of an Add Shader node.

If the emissive map is alone in the material, it is best to set the Base Color default to black, and the Roughness default to 1.0. This minimizes the influence of the other channels if they are not needed.

../../_images/addons_import-export_scene-gltf2_material-emissive.png

This arrangement is supported for backwards compatibility. It is simpler to use the Principled BSDF node directly.

If any component of emissiveFactor is > 1.0, KHR_materials_emissive_strength extension will be used.

Clearcoat

When the Clearcoat input on the Principled BSDF node has a nonzero default value or Image Texture node connected, the KHR_materials_clearcoat glTF extension will be included in the export. This extension will also include a value or Image Texture from the Clearcoat Roughness input if available.

If Image Textures are used, glTF requires that the clearcoat values be written to the red (R) channel, and Clearcoat Roughness to the green (G) channel. If monochrome images are connected, the exporter will remap them to these color channels.

The Clearcoat Normal input accepts the same kinds of inputs as the base Normal input, specifically a tangent-space normal map with +Y up, and a user-defined strength. This input can reuse the same normal map that the base material is using, or can be assigned its own normal map, or can be left disconnected for a smooth coating.

All Image Texture nodes used for clearcoat shading should have their Color Space set to Non-Color.

../../_images/addons_import-export_scene-gltf2_material-clearcoat.png

An example of a complex clearcoat application that will export correctly to glTF. A much simpler, smooth coating can be applied from just the Principled BSDF node alone.

Лоск (sheen)

When the Velvet BSDF node is used in addition to Principled BSDF node, the KHR_materials_sheen glTF extension will be included in the export. The Sheen Color will be exported from Color socket of Velvet node. Sheen Roughness will be exported from Sigma socket.

If a Sheen Roughness Texture is used, glTF requires the values be written to the alpha (A) channel.

../../_images/addons_import-export_scene-gltf2_material-sheen.png

Совет

Velvet BSDF node is only available on Cycles render engine. You may have to temporary switch to Cycles to add this node, and get back to Eevee.

Примечание

Because the node tree is adding 2 Shaders (Principled and Sheen), the resulting shader is not fully energy conservative. You may find some difference between Blender render, and glTF render. Sheen models are not fully compatible between Blender and glTF. This trick about adding Velvet Shader is the most accurate approximation (better that using Sheen Principled sockets).

Блик (specular)

When the Specular or Specular Tint input of Principled BSDF node have a non default value or Image Texture node connected, the KHR_materials_specular glTF extension will be included in the export.

Примечание

Specular models are not fully compatible between Blender and glTF. By default, Blender data are converted to glTF at export, with a possible loss of information. Some conversion are also performed at import, will a possible loss of information too.

At import, a custom node group is created, to store original Specular data, not converted.

../../_images/addons_import-export_scene-gltf2_material_specular-custom-node.png

At export, by default, Specular data are converted from Principled BSDF node.

You can export original Specular data, enabling the option at export. If enabled, Principled Specular data are ignored, only data from custom node are used.

../../_images/addons_import-export_scene-gltf2_material_specular-export-option.png

Совет

If you enable Shader Editor Add-ons in preferences, you will be able to add this custom node group from Menu: Add > Output > glTF Material Output

../../_images/addons_import-export_scene-gltf2_addon-preferences-shader.png

Светопропускаемость (transmission)

When the Transmission input on the Principled BSDF node has a nonzero default value or Image Texture node connected, the KHR_materials_transmission glTF extension will be included in the export. When a texture is used, glTF stores the values in the red (R) channel. The Color Space should be set to Non-Color.

Transmission is different from alpha blending, because transmission allows full-strength specular reflections. In glTF, alpha blending is intended to represent physical materials that are partially missing from the specified geometry, such as medical gauze wrap. Transmission is intended to represent physical materials that are solid but allow non-specularly-reflected light to transmit through the material, like glass.

glTF does not offer a separate «Transmission Roughness», but the material’s base roughness can be used to blur the transmission, like frosted glass.

Совет

Typically the alpha blend mode of a transmissive material should remain «Opaque», the default setting, unless the material only partially covers the specified geometry.

Примечание

In real-time engines where transmission is supported, various technical limitations in the engine may determine which parts of the scene are visible through the transmissive surface. In particular, transmissive materials may not be visible behind other transmissive materials. These limitations affect physically-based transmission, but not alpha-blended non-transmissive materials.

Примечание

If you want to enable refraction on your model, KHR_materials_transmission must also be used in addition with KHR_materials_volume. See the dedicated Volume part of the documentation.

Предупреждение

Transmission is complex for real-time rendering engines to implement, and support for the KHR_materials_transmission glTF extension is not yet widespread.

Коэффициент преломления (IOR)

At import, there are two different situation:

  • if KHR_materials_ior is not set, IOR value of Principled BSDF node is set to 1.5, that is the glTF default value of IOR.

  • If set, the KHR_materials_ior is used to set the IOR value of Principled BSDF.

At export, IOR is included in the export only if one of these extensions are also used:

  • KHR_materials_transmission

  • KHR_materials_volume

  • KHR_materials_specular

IOR of 1.5 are not included in the export, because this is the default glTF IOR value.

Объём (volume)

Volume can be exported using a Volume Absorption node, linked to Volume socket of Output node. Data will be exported using the KHR_materials_volume extension.

  • For volume to be exported, some transmission must be set on Principled BSDF node.

  • Color of Volume Absorption node is used as glTF attenuation color. No texture is allowed for this property.

  • Density of Volume Absorption node is used as inverse of glTF attenuation distance.

  • Thickness can be plugged into the Thickness socket of custom group node glTF Material Output.

  • If a texture is used for thickness, it must be plugged on (G) Green channel of the image.

../../_images/addons_import-export_scene-gltf2_material-volume.png

glTF Variants

Примечание

For a full Variants experience, you have to enable UI in Add-on preferences

../../_images/addons_import-export_scene-gltf2_addon-preferences-variant.png

There are two location to manage glTF Variants in Blender

  • In 3D View, on glTF Variants tab

  • For advanced settings, in Mesh Material Properties (see Advanced glTF Variant checks)

The main concept to understand for using Variants, is that each material slot will be used as equivalent of a glTF primitive.

glTF Variants switching

After importing a glTF file including KHR_materials_variants extension, all variants can be displayed.

../../_images/addons_import-export_scene-gltf2_material_variants-switch.png

You can switch Variant, by selecting the variant you want to display, then clicking on Display Variant.

You can switch to default materials (when no Variant are used), by clicking on Reset to default.

Создание вариантов glTF

You can add a new Variant by clicking the + at right of the Variant list. Then you can change the name by double-clicking.

After changing Materials in Material Slots, you can assign current materials to the active Variant using Assign to Variant.

You can also set default materials using Assign as Original. These materials will be exported as default material in glTF. This are materials that will be displayed by any viewer that don’t manage KHR_materials_variants extension.

Advanced glTF Variant checks

If you want to check primitive by primitive, what are Variants used, you can go to Mesh Material Properties.

../../_images/addons_import-export_scene-gltf2_material_variants-detail.png

The glTF Material Variants tab refers to the active material Slot and Material used by this slot. You can see every Variants that are using this material for the given Slot/Primitive.

You can also assign material to Variants from this tab, but recommendation is to perform it from 3D View tab.

Double-Sided / Backface Culling

For materials where only the front faces will be visible, turn on Backface Culling in the Settings panel of an Eevee material. When using other engines (Cycles, Workbench) you can temporarily switch to Eevee to configure this setting, then switch back.

Leave this box unchecked for double-sided materials.

../../_images/addons_import-export_scene-gltf2_material-backface-culling.png

The inverse of this setting controls glTF’s DoubleSided flag.

Blend Modes (Режимы смешивания)

The Base Color input can optionally supply alpha values. How these values are treated by glTF depends on the selected blend mode.

With the Eevee render engine selected, each material has a Blend Mode on the material settings panel. Use this setting to define how alpha values from the Base Color channel are treated in glTF. Three settings are supported by glTF:

Непрозрачность

Alpha values are ignored.

Alpha Blend

Lower alpha values cause blending with background objects.

Alpha Clip

Alpha values below the Clip Threshold setting will cause portions of the material to not be rendered at all. Everything else is rendered as opaque.

../../_images/addons_import-export_scene-gltf2_material-alpha-blend.png

With the Eevee engine selected, a material’s blend modes are configurable.

Примечание

Be aware that transparency (or Alpha Blend mode) is complex for real-time engines to render, and may behave in unexpected ways after export. Where possible, use Alpha Clip mode instead, or place Opaque polygons behind only a single layer of Alpha Blend polygons.

UV Mapping

Control over UV map selection and transformations is available by connecting a UV Map node and a Mapping node to any Image Texture node.

Settings from the Mapping node are exported using a glTF extension named KHR_texture_transform. There is a mapping type selector across the top. Point is the recommended type for export. Texture and Vector are also supported. The supported offsets are:

  • Location - X and Y

  • Rotation - Z only

  • Scale - X and Y

For the Texture type, Scale X and Y must be equal (uniform scaling).

../../_images/addons_import-export_scene-gltf2_material-mapping.png

A deliberate choice of UV mapping.

Совет

These nodes are optional. Not all glTF readers support multiple UV maps or texture transforms.

Factors

Any Image Texture nodes may optionally be multiplied with a constant color or scalar. These will be written as factors in the glTF file, which are numbers that are multiplied with the specified image textures. These are not common.

  • Use Math node (multiply) for scalar factors. Use second value as factor

  • Use Mix node (color / multiply) for color factors. Set Factor to 1, and use Color2 (B) as factors

../../_images/addons_import-export_scene-gltf2_material-factors.png

Пример

A single material may use all of the above at the same time, if desired. This figure shows a typical node structure when several of the above options are applied at once:

../../_images/addons_import-export_scene-gltf2_material-principled.png

A Principled BSDF material with an emissive texture.

Exporting a Shadeless (Unlit) Material

To export an unlit material, mix in a camera ray, and avoid using the Principled BSDF node.

../../_images/addons_import-export_scene-gltf2_material-unlit.png

One of several similar node arrangements that will export KHR_materials_unlit and render shadeless in Blender.

Расширения (extensions)

The core glTF 2.0 format can be extended with extra information, using glTF extensions. This allows the file format to hold details that were not considered universal at the time of first publication. Not all glTF readers support all extensions, but some are fairly common.

Certain Blender features can only be exported to glTF via these extensions. The following glTF 2.0 extensions are supported directly by this add-on:

Импортировать (Import)

  • KHR_materials_pbrSpecularGlossiness

  • KHR_materials_clearcoat

  • KHR_materials_transmission

  • KHR_materials_unlit

  • KHR_materials_emissive_strength

  • KHR_materials_volume

  • KHR_materials_sheen

  • KHR_materials_specular

  • KHR_materials_ior

  • KHR_materials_variants

  • KHR_lights_punctual

  • KHR_texture_transform

  • KHR_mesh_quantization

Экспортировать (Export)

  • KHR_draco_mesh_compression

  • KHR_lights_punctual

  • KHR_materials_clearcoat

  • KHR_materials_transmission

  • KHR_materials_unlit

  • KHR_materials_emissive_strength

  • KHR_materials_volume

  • KHR_materials_sheen

  • KHR_materials_specular

  • KHR_materials_ior

  • KHR_materials_variants

  • KHR_texture_transform

Third-party glTF Extensions

It is possible for Python developers to add Blender support for additional glTF extensions by writing their own third-party add-on, without modifying this glTF add-on. For more information, see the example on GitHub and if needed, register an extension prefix.

Пользовательские свойства

Custom properties are always imported, and will be exported from most objects if the Include ‣ Custom Properties option is selected before export. These are stored in the extras field on the corresponding object in the glTF file.

Unlike glTF extensions, custom properties (extras) have no defined namespace, and may be used for any user-specific or application-specific purposes.

Animations

A glTF animation changes the transforms of objects or pose bones, or the values of shape keys. One animation can affect multiple objects, and there can be multiple animations in a glTF file.

Импортировать (Import)

Imported models are set up so that the first animation in the file is playing automatically. Scrub the Timeline to see it play.

When the file contains multiple animations, the rest will be organized using the Nonlinear Animation editor. Each animation becomes an action stashed to an NLA track. The track name is the name of the glTF animation. To make the animation within that track visible, click Solo (star icon) next to the track you want to play.

../../_images/addons_import-export_scene-gltf2_animation-solo-track.png

This is the fox sample model showing its «Run» animation.

If an animation affects multiple objects, it will be broken up into multiple parts. The part of the animation that affects one object becomes an action stashed on that object. Use the track names to tell which actions are part of the same animation. To play the whole animation, you need to enable Solo (star icon) for all its tracks.

Примечание

There is currently no way to see the non-animated pose of a model that had animations.

You can also use the animation switcher that can be found in DopeSheet editor.

Примечание

You have to enable UI in Add-on preferences for seeing the animation switcher

../../_images/addons_import-export_scene-gltf2_addon-preferences-animation.png

You can switch all animation imported. It automatically enables Solo (star icon) for all needed tracks. It also reset non animated object to Rest transformation.

Экспортировать (Export)

You can export animations using different ways. How glTF animations are made from actions / NLA is controlled by the Animation ‣ Mode export option.

Вариант (по умолчанию)

An action will be exported if it is the active action on an object, or it is stashed to an NLA track (e.g. with the Stash or Push Down buttons in the Action Editor). Actions which are not associated with an object in one of these ways are not exported. If you have multiple actions you want to export, make sure they are stashed!

A glTF animation can have a name, which is the action name by default. You can override it by renaming its NLA track from NLATrack/[Action Stash] to the name you want to use. For example, the Fig. fox model will export with three animations, «Survey», «Walk», and «Run». If you rename two tracks on two different objects to the same name, they will become part of the same glTF animation and will play together.

The importer organizes actions so they will be exported correctly with this mode.

This mode is useful if you are exporting for game engine, with an animation library of a character. Each action must be on its own NLA track.

Активные действия объединены

In this mode, the NLA organization is not used, and only one animation is exported using the active actions on all objects.

NLA Треки

In this mode, each NLA Track will be export as an independent glTF animation. This mode is useful if you are using Strip modifiers, or if you get multiple action on a same Track.

If you rename two tracks on two different objects to the same name, they will become part of the same glTF animation and will play together.

Сцена (scene)

Using Scene option, animations will be exported as you can see them in viewport. You can choose to export a single glTF animation, or each object separately.

Примечание

Remember only certain types of animation are supported:

  • Преобразование объекта (расположение, вращение, масштаб)

  • Кости позы

  • Shape key values

Animation of other properties, like physics, lights, or materials, will be ignored.

Примечание

In order to sample shape key animations controlled by drivers using bone transformations, they must be on a mesh object that is a direct child of the bones“ armature.

Примечание

Only Actions (default) and Active Actions merged mode can handle not sampled animations.

File Format Variations

The glTF specification identifies different ways the data can be stored. The importer handles all of these ways. The exporter will ask the user to select one of the following forms:

glTF Binary (.glb)

This produces a single .glb file with all mesh data, image textures, and related information packed into a single binary file.

Совет

Using a single file makes it easy to share or copy the model to other systems and services.

glTF Separate (.gltf + .bin + textures)

This produces a JSON text-based .gltf file describing the overall structure, along with a .bin file containing mesh and vector data, and optionally a number of .png or .jpg files containing image textures referenced by the .gltf file.

Совет

Having an assortment of separate files makes it much easier for a user to go back and edit any JSON or images after the export has completed.

Примечание

Be aware that sharing this format requires sharing all of these separate files together as a group.

glTF Embedded (.gltf)

This produces a JSON text-based .gltf file, with all mesh data and image data encoded (using Base64) within the file. This form is useful if the asset must be shared over a plain-text-only connection.

Предупреждение

This is the least efficient of the available forms, and should only be used when required.

Свойства (properties)

Импортировать (Import)

Pack Images

Pack all images into the blend-file.

Объединить вершины

The glTF format requires discontinuous normals, UVs, and other vertex attributes to be stored as separate vertices, as required for rendering on typical graphics hardware. This option attempts to combine co-located vertices where possible. Currently cannot combine verts with different normals.

Шейдинг (shading)

How normals are computed during import.

Guess Original Bind Pose

Determines the pose for bones (and consequently, skinned meshes) in Edit Mode. When on, attempts to guess the pose that was used to compute the inverse bind matrices.

Bone Direction

Changes the heuristic the importer uses to decide where to place bone tips. Note that the Fortune setting may cause inaccuracies in models that use non-uniform scaling. Otherwise this is purely aesthetic.

Режим освещения

Optional backwards compatibility for non-standard render engines. Applies to lights. Standard: Physically-based glTF lighting units (cd, lx, nt). Unitless: Non-physical, unitless lighting. Useful when exposure controls are not available Raw (Deprecated): Blender lighting strengths with no conversion

Экспортировать (Export)

Формат (format)

See: File Format Variations.

Сохранить оригинал

For glTF Separate file format only. Keep original textures files if possible. Warning: if you use more than one texture, where PBR standard requires only one, only one texture will be used. This can lead to unexpected results

Текстуры (textures)

For glTF Separate file format only. Folder to place texture files in. Relative to the gltf-file.

Copyright

Legal rights and conditions for the model.

Remember Export Settings

Store export settings in the blend-file, so they will be recalled next time the file is opened.

Включить (include)

Выделенные объекты

Export selected objects only.

Visible Objects

Export visible objects only.

Визуализируемые объекты

Export renderable objects only.

Активная коллекция

Export objects from active collection only.

Включить вложенные коллекции

Only when Active Collection is On. When On, export recursively objects on nested active collections.

Активная сцена

Export active scene only.

Пользовательские свойства

Export custom properties as glTF extras.

Камеры (cameras)

Export cameras.

Punctual Lights

Export directional, point, and spot lights. Uses the KHR_lights_punctual glTF extension.

Трансформировать (transform)

Y Up

Export using glTF convention, +Y up.

Data - Mesh

Применить модификаторы

Экспортировать объекты, используя рассчитанный меш, то есть полученный меш после вычисления всех модификаторов.

UV (UVs)

Export UVs (texture coordinates) with meshes.

Нормали (normals)

Export vertex normals with meshes.

Tangents

Export vertex tangents with meshes.

Vertex Colors

Export Color Attributes with meshes.

Атрибуты (attributes)

Export Attributes with meshes, when the name starts with underscore.

Свободные рёбра

Export loose edges as lines, using the material from the first material slot.

Loose Points

Export loose points as glTF points, using the material from the first material slot.

Данные - Материал

Материалы (materials)

Export full materials, only placeholders (all primitives but without materials), or does not export materials. (In that last case, primitives are merged, losing material slot information).

Изображения

Output format for images. PNG is lossless and generally preferred, but JPEG might be preferable for web applications due to the smaller file size. If None is chosen, materials are exported without textures.

JPEG Quality

When exporting jpeg files, the quality of the exported file.

Export Original PBR Specular

When On, specular data are exported from glTF Material Output node, Instead of using sockets from Principled BSDF Node.

Data - Shape Keys

Export shape keys (morph targets).

Shape Key Normals

Export vertex normals with shape keys (morph targets).

Shape Key Tangents

Export vertex tangents with shape keys (morph targets).

Данные - Арматура

Используйте арматуру в исходном положении (Rest Position)

Export Armatures using rest position as joint rest pose. When Off, the current frame pose is used as rest pose.

Export Deformation Bones only

Export Deformation bones only, not other bones. Animation for deformation bones are baked.

Flatten Bone Hierarchy

Useful in case of non-decomposable TRS matrix.

Data - Skinning

Export skinning data

Include All Bone Influences

Allow more than 4 joint vertex influences. Models may appear incorrectly in many viewers.

Data - Lighting

Режим освещения

Optional backwards compatibility for non-standard render engines. Applies to lights. Standard: Physically-based glTF lighting units (cd, lx, nt). Unitless: Non-physical, unitless lighting. Useful when exposure controls are not available Raw (Deprecated): Blender lighting strengths with no conversion

Данные - Сжатие

Compress meshes using Google Draco.

Compression Level

Higher compression results in slower encoding and decoding.

Quantization Position

Higher values result in better compression rates.

Нормаль (normal)

Higher values result in better compression rates.

Texture Coordinates

Higher values result in better compression rates.

Цвет (color)

Higher values result in better compression rates.

Общий (generic)

Higher values result in better compression rates.

Анимация (animation)

Режим анимации

Animation mode used for export (See Animations )

Анимации ключевых форм (Shape Keys Animations)

Export Shape Keys Animation. Need Shape Keys to be exported (See Data - Shape Keys)

Запекание анимаций всех объектов

Useful when some objects are constrained without being animated themselves.

Анимация - Покой & Диапазоны

Use Current Frame as Object Rest Transformations

Export the scene in the current animation frame. When off, frame 0 is used as rest transformation for objects.

Limit to Playback Range

Clips animations to selected playback range.

Set all glTF Animation starting at 0

Set all glTF Animation starting at 0. Can be useful for looping animation

Негативные (-) кадры

When some frames are in negative range, slide or crop the animation.

Анимация - Арматура

Export all Armature Actions

Export all actions, bound to a single armature. Warning: Option does not support exports including multiple armatures.

Reset pose bones between actions

Reset pose bones between each action exported. This is needed when some bones are not keyed on some animations.

Анимация - Выборка (Sampling)

Apply sampling to all animations. Do not sample animation can lead to wrong animation export.

Частота выборки

How often to evaluate animated values (in frames).

Анимация - Оптимизация

Оптимизация размера анимации

Reduce exported file size by removing duplicate keyframes when all identical.

Force keeping channel for armature / bones

if all keyframes are identical in a rig, force keeping the minimal animation.

Force keeping channel for objects

if all keyframes are identical for object transformations, force keeping the minimal animation

Contributing

This importer/exporter is developed through the glTF-Blender-IO repository, where you can file bug reports, submit feature requests, or contribute code.

Discussion and development of the glTF 2.0 format itself takes place on the Khronos Group glTF GitHub repository, and feedback there is welcome.