Questions tagged [gltf]

A file format that uses JSON for the efficient transmission and loading of 3D scenes and models. Should be used in the scope of Blender and related packages regarding transmission as opposed to being a technical reference for glTF.

Filter by
Sorted by
Tagged with
18
votes
5answers
10k views

Does Blender support the glTF format?

Is the import/export of GLTF files is going to be supported or is there a python script that can handle that?
12
votes
4answers
18k views

How to open a .glb or .gltf file in blender?

My question is about opening .glb or .gltf files in Blender. I don't see these extensions in the Import options, although Export allows me to create files with either of those extensions.
3
votes
1answer
2k views

Blender 2.79, how to install Khronos Group gltf exporter?

I downloaded the KhronosGroup addon from https://github.com/KhronosGroup/glTF-Blender-Exporter I read install instructions, but those were for Windows. I tried copying the addon under ~/.blender/2.79/...
3
votes
1answer
2k views

Export transparent material in GLTF in blender 2.8

I am trying to export a glass material in gltf. Here is the material principled shader, notice I have transmission set to 1.0: this gives me this result in cycles (the glasses have the glass material)...
2
votes
1answer
2k views

Exporting a GLB file to share it on Facebook

I have tried "glTF Blender Exporter", "blendergltf" and "glTF 2" to try and export a Cycles model I made to .GLB format for Facebook upload, however nothing I tried worked. Only "glTF Blender ...
2
votes
2answers
3k views

How do you export GLTF from Blender?

Is there a way to export GLTF or do I need a plugin or something? Thanks! Benjamin
2
votes
1answer
16 views

Exporting to glTF doesn't work properly

I have tried multiple times to export a simple design made from importing an svg file, extruding and adding textures to gltf, glb etc and it seems that there is just no way for blender to export the ...
2
votes
2answers
319 views

Substance / Blender GLTF workflow = wrong metal render

I have a 3D armor which was textured in Substance and exported following that pipeline: https://www.khronos.org/blog/art-pipeline-for-gltf, that is to say with a ORM map. However, once the maps ...
2
votes
1answer
2k views

glTF: How to optimize exported glb file from blender having more number of loop-cuts?

I have plane with 200x100 loopcuts, when I export glb the size of the file is around 2MB than I again sub divided the mesh couple of times and now binary file is around 8MB. How can I use more number ...
2
votes
1answer
998 views

Export to glTF with PBR materials ( facebook integration)

I'm experimenting with 3D posts on Facebook on the only supported format is binary glTF. I'm using the Khronos exporter and their PBR node groups. Has anyone been able to export a model with PBR and ...
2
votes
1answer
27 views

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 ...
2
votes
3answers
51 views

Shape key values saved as 0

I created a simple animation with shape keys. However exporting this animation not working properly. After I export it in gltf2 or fbx format, the shape keys are reset to 0 in exported file. What ...
2
votes
0answers
29 views

Build Blender as a Python module with Draco compression enabled

I've succeed in building Blender as a Python module, but I would like to be able to use the draco compression when exporting glTF (gltb) files. When building Blender as a Python module, I set CMake ...
2
votes
0answers
40 views

GLTF export/import Sketchup 2017 to Blender 2.80 overrides origin and local axis orientation

I'm exporting a .glb file from Sketchup 2017 using the KhronosGroup GLTF exporter and importing it into Blender 2.80 using the KhronosGroup GLTF importer. Once the file is imported I get the ...
1
vote
1answer
75 views

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 ...
1
vote
2answers
397 views

Diffuse node compability for glTF exporter

I got a problem using glTF exporter for Blender (To upload 3D content on Facebook). I downloaded the last version of the add-on on this site: https://github.com/KhronosGroup/glTF-Blender-Exporter The ...
1
vote
1answer
315 views

Bump Maps are missing after exporting as glTF 2.0

My goal is to export my entire FBX model into GLTF 2.0 format with all bump maps using Blender, and upload it online using Three.js I've uploaded my FBX model to Sketchfab https://skfb.ly/YOGv and it ...
1
vote
1answer
398 views

I am using the gLTF addon, how do I make my node group glTF Metallic Roughness exactly the same as my Diffuse BSDF

When using the Diffuse BSDF When using the glTF Metallic Roughness As you can tell the colour of the cubes looks different from each other. Additionally when using the glTF Metallic Roughness, you ...
1
vote
1answer
35 views

Text Not being exported to GLTF

I am trying to export an object (above right), and I put 3D text (not a texture) on it. But every time I export the glTF, the text does not come with it. Is there a way to get text, or is text not ...
1
vote
1answer
231 views

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, ...
1
vote
1answer
147 views

Installing glTF-Blender-IO latest Version in Blender 2.8

Blender 2.80 now includes the glTF-Exporter addon, but due to some limitations, I would like to test the latest version of glTF-Blender-IO from here: https://github.com/KhronosGroup/glTF-Blender-...
1
vote
1answer
417 views

glTF exporter with images

I'm currently trying to import an exported .gltf into my program. I'm now at the point where I need the information of the image. But in the .gltf is no 'image' or 'texture' section, even if I check '...
1
vote
0answers
15 views

exporting multiple animated objects to gltf

I'm fairly new to gltf and am gradually learning about it's abilities/limitations. I am currently trying to test a file that would have multiple objects animate in a scene. However, whenever I export, ...
1
vote
1answer
21 views

How to export blender file with armature to glb

I am pretty new to the tool Blender, I am using version 2.8.0 and I have a robotic arm with some animations using the bones and armature, it works fine but when I am trying to export it to a glb file ...
1
vote
1answer
46 views

exporting procedural landscape

hi guys sorry if this is a repeat question but I haven't found the answer and I've been trying for days this is driving me nuts. So I am new to blender and I have created a procedural landscape and ...
1
vote
1answer
36 views

Anvil from Guru blender not exporting with all materials and textures to glb file for WebGL

I cannot for the life of me figure out why my Anvil model from the famous Guru Blender series tutorial will not export to a glb file for use with WebGL. Since I made it in Blender 2.79b, I have been ...
1
vote
1answer
50 views

When glTF export in Blender2.8, an animation is not played well

When glTF export in Blender2.8, the parameter of the rotary animation of the glTF file turns into the expansion and contraction. I make the animation which turned a simple early cube.This does 1 ...
1
vote
0answers
86 views

Blender Evee to Unity - Can't Export GLTF with Embedded Textures

I'm having trouble exporting textured objects from Blender Evee as .glb files and importing them into unity with the textures retained. I followed the steps in this video but am still unsuccessful. ...
1
vote
0answers
35 views

Gloss, reflection and normal maps not exported in gltf2.0

I used the new gltf 2.0 exporter available in blender 2.8 to export a model with three separate elements two of which has gloss, reflection, and normal maps attached to it via principle bsdf one model ...
1
vote
1answer
58 views

Car model to glTF with multiple parts

I have a model of a car which I have exported to a glTF. How can I group elements in Blender like the wheels so they appear separately in the JSON code? I have created Vertex Groups but they don’t ...
1
vote
1answer
27 views

exporting eyes with gltf to unity

I was trying to make eyes watching this tutorial https://www.youtube.com/watch?v=gfEyhPXsOCM but but when I exported the eyes to Unity as glTF the eyes didn't have any textures to it it was just plain ...
1
vote
0answers
62 views

How do I create a batch table for 3D Tiles in Blender

Blender 2.8 supports the export into gltf which can be converted into a b3dm file to use it as a 3D Tile in CesiumJS. How can I keep attributes on each feature in Blender so that they will be exported ...
1
vote
1answer
67 views

How to export Python animation to gltf from Blender 2.80?

I have some 3d objects that I use Python code to rotate. In the Blender preview this works fine. How can I export the animation caused by the Python code to gltf? The normal gltf export exposes the ...
1
vote
2answers
169 views

how to import .glb file in blender 2.80 beta using python api?

I want to import a model of bench in .glb format using python inside blender. What function am I supposed to use?
1
vote
1answer
254 views

How to bake roughness into green channel only for usage with GLTF (Blender 2.8)

I've got a node setup that uses the red channel of the diffuse map for the roughness. I've described this method here. This works really well for wood textures. The node setup looks like: I want to ...
1
vote
0answers
253 views

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. ...
1
vote
1answer
140 views

Export fluid simulation for usage in three.js

Is there any possibility to export a fluid simulation as an animation and import it in three.js? As I read in some threads it seems to be impossible to export a fluid simulation to a gltf, so I ...
1
vote
1answer
407 views

How to scale imported .gltf model?

I imported a gltf model in Blender and it's way too big. If I convert the same model to .obj before, I can import it in Blender and set the Clamp-Size to 1.00 and the scaling is alright. Unfortunately,...
1
vote
0answers
45 views

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 ...
1
vote
0answers
232 views

Exporting objects group in gltf format

In Blender i have differents objects that i would group as unique entity. What i really care is that after the exportation of the scene in gltf format and importation in my three.js project that ...
1
vote
0answers
217 views

Exporting Alternate Materials to glTF

I am trying to achieve a Babylon.JS model viewer which allows for configuring various aspects of the model. Whilst I have JavaScript experience I am new to Blender and 3D modelling in general. This is ...
1
vote
0answers
254 views

Export Material Node Animations in GLTF (or other) exporter

I'm trying to do a best-as-I-can recreation of a blender scene in three.js simply from exporting it. So far the simplest / best way to start doing this is through the GTLF exporter / loader in THREE....
1
vote
2answers
3k views

Export baked texture in 2.8

I'm new to blender and I'd like to bake my material into a texture in order to export it to GLTF. Once baked, I do not know where the "baked" texture is, how to visualize it and how to export it out. ...
1
vote
3answers
823 views

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 ...
1
vote
1answer
281 views

Blender GLTF : which rotation values are really exported?

I am using https://github.com/KhronosGroup/glTF-Blender-Exporter in a script and trying to compare the exported rotation values. But none of them seem to match. Ie. for exported values in the gltf ...
1
vote
1answer
457 views

Properly export blender scene with materials format to three.js scene

Completely beginner in blender and 3d graphics in general here. My goal is to export a blender scene with models and materials (including textures) and import back in three.js scene. According to ...
1
vote
0answers
442 views

Script Import-Export GLTF : no textures linked

I'm trying to script a plugin which imports some GLTF objects, positions them in the scene and reexports the scene as one gltf. But I'm running into a couple of problems: When I'm exporting the scene ...
1
vote
1answer
331 views

How do I access the glTF Metallic roughness shader node with Python?

I am currently working on a little script that takes a bunch of obj, imports them into blender with their textures, plugs the textures in the right places of the GLTF Metallic Roughness shader group, ...
1
vote
1answer
301 views

Armature: Bones deforming mesh objects in GLTF viewer

Hello fellow BlendMasters! I am trying to make a simple sliding door animation for my GLTF viewer and keep running into this problem: When i parent my objects (doors) with the separate bones (ctrl + ...
0
votes
1answer
116 views

Cycles render for Facebook without color

I am writing to you because I have a problem with files to use for 3D posts on Facebook. I had done a lot of tests all using BLENDER RENDER: file had the color and the characteristics that I had set ...