Questions tagged [gltf]

glTF is a file format that uses JSON for the efficient transmission and loading of 3D scenes and models. Blender has a built-in add-on to import and export glTF v2 files. Use this tag for questions related to the import and export of glTF files and for Blender-specific issues that arise from importing, using, and exporting glFT scenes.

glTF (Graphics Language Transmission Format) according to Wikipedia is

is a standard file format for three-dimensional scenes and models.

Wikipedia adds

A glTF file uses one of two possible file extensions, .gltf (JSON/ASCII) or .glb (binary). A .gltf file may be self-contained or may reference external binary and texture resources, while a .glb file is entirely self-contained. An open standard developed and maintained by the Khronos Group, it supports 3D model geometry, appearance, scene graph hierarchy, and animation. It is intended to be a streamlined, interoperable format for the delivery of 3D assets, while minimizing file size and runtime processing by apps. As such, its creators have described it as the "JPEG of 3D." The binary version of the format is called GLB, where all assets are stored in a single file.

Blender has a built-in add-on to import and export glTF 2.0 files. It is disabled by default.

Use this tag for questions related to the import and export of glTF files and for Blender-specific issues that arise from importing, using, and exporting glFT scenes.

358 questions
2
votes
1 answer

Model is Huge when imported to gltf-viewer

When I import my glb export to gltf-viewer it gets enormous. It looks fine in babylon.js viewer or three.js editor. It might be helpful to mention that the model was exported from Mixamo. you can find the glb file here. Many thanks in advance.
Reza Lavasuny
  • 161
  • 1
  • 10
2
votes
1 answer

Can metallic car paint be exported in GLTF?

I'm trying to export a car model with red metallic paint as a GLTF model. A diffused red metallic with a high gloss clear. It appears that with GLTF it's either one or the other? I can get somewhat of a metallic paint look by sharpening up the…
Gavh
  • 33
  • 3
1
vote
1 answer

can't import gltf with khr_materials_variants

trying to import glb file with khr_materials_variants i installed these extensions but still can't import it, is there any extension i need to install too?
1
vote
1 answer

Unable to export normal map to GLTF

I am trying to export a simple gltf model to test how bump mapping looks in my engine. I followed this link but nothing I do seems to be working. The exported model always has dark spots and looks pretty bad. What exactly is the process to export…
dreamwagon
  • 113
  • 4
1
vote
1 answer

How to create data URI that contains raw animation data to be inserted in a buffer of a JSON of a glTF file exported from Blender?

I'm working on a glTF; precisely I'm trying to animate a "static" mesh that I've created in Blender and exported in the glTF format in order to open it with a text editor and manipulate the JSON code obtained to animate the mesh. In doing so, I'm…
Ludovico
  • 11
  • 2
1
vote
0 answers

Eyes are missing from a 3D model I bought on Sketchfab when using GLTF format

I bought this 3D model from Sketchfab: https://sketchfab.com/3d-models/robin-bird-0a93168c1a2b4de0a9eebbffc9642d61 This is what the model looks like when I import the GLTF file into Blender This is what it looks like with the materials For some…
Cagri91
  • 11
  • 1
1
vote
0 answers

GLTF Iridescent material

Fairly new to Blender but I am trying to achieve this Irridecent effect that can be exported to GLTF format.
HW Chopper
  • 11
  • 2
1
vote
0 answers

Is it possible to export glTF models vertices, UVs and normals with signed short "2 bytes", not float "4 bytes"?

I had exported a glTF model from blender, when I put .bin file to hex editor, it seems his vertices, UVs and normals are in "4 bytes" float, or IEEE 754 floating point, like the example below. ➤ Is it possible to export glTF models with short_signed…
Segal
  • 11
  • 1
1
vote
0 answers

Switching between textures on the same model

I'm generating a GLTF file that will contain multiple possible textures for the same model, with the same texture coordinates. In GLTF, I can only choose one of these textures as active for the mesh (as far as I know). For example, the model would…
M.K.
  • 111
  • 1
1
vote
1 answer

How to export an Image(png / jpg) as glTF?

Sorry if I'm a complete noob, this is my first time using blender. So far, I've managed to import the image as a plane with the addon (import/export image as a plane), and now want to export it out as a glTF file type. However when i do so, the…
Darius
  • 11
  • 2
1
vote
2 answers

png loses alpha on gltf export

I was trying out the gltf + bin + texture export feature on blender 2.8. and the model i was exporting had a png eye texture with a transparent background. with a Principled BSDF shader like this, which worked fine. but when I exported the model…
Jhon Doe
  • 25
  • 4
1
vote
0 answers

Blender 2.8 glTF Export Error

Still getting my feet wet with the glTF exporter in Blender 2.8 (May 8th build). I could use some help better understanding this error below. File "/Applications/Blender…
1
vote
0 answers

Blender exporter GLTF Kronos Group glTD Specular Glossiness as Metalic Roughness

I'm trying to export Specular Glosiness Material but in exported file always get Metallic Roughness with empty values. My setup for material "test" result: Using Blender 2.8 Beta: What is correct approach?
Martin
  • 111
  • 2
1
vote
3 answers

Error exporting animation as GLTF file

I have made a very basic animation in Blender (2.79) and I am trying to export it as a GLTF or GLB. I have succesfully installed the gltf exporter and am able to export both gltfs and glbs of unanimated models no problem. As soon as I add animation…
Nick
  • 251
  • 2
  • 15
0
votes
0 answers

Why am I having an error when exporting .glb format on blender 3.0.1?

I am having an error when I try to export a 3d model as .glb format. The operating system I am using is Ubuntu 22.04.3 LTS. Blender version is 3.0.1. What do I need to do to solve this problem?
1
2