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

How to export procedural material in gltf/glb format? [duplicate]

I am playing around procedural rust material in Blender and want to apply the material to my sword model so it looks rusty and old to further export it as glb or gltf this is my node setup The ...
0
votes
0answers
23 views

Exported gltf is pitch black and empty? [closed]

I'm trying to export a gltf but its exports as nothing at all. Viewing this through the default windows 10 3d viewer shows a complete black screen of nothing. Viewing this on the online gltf viewer ...
4
votes
1answer
169 views

Import image to plane not exported in GLTF

I want to create a 3D object of an image to use in AR using the Blender Python API. I've added the image to the scene as a plane, this works perfectly. The image is also shown in the ...
2
votes
0answers
20 views

Rotating around z-axis in Blender does not convert to y-axis in GLTF-export

I have a scene with a door in it. There is an animation on the door to open it. I want to use the scene in ThreeJS so I export it in GLTF (.glb specifically) format. The problem is, that the Z-axis in ...
0
votes
0answers
21 views

.glb Export error

so I have been trying to do some animations using Blender for a project of mine and tried to export the files in .glb file format but I have been getting some sort of random errors when I view these ...
0
votes
1answer
49 views

Export multiple objects to individual glTF files?

I'm looking for a tool to export 40.000 objects into the individual glTF files. Sorry, I don't have any basic Python knowledge so please allow me to ask for help. I found a similar add-on on this site,...
0
votes
0answers
20 views

How to export .gltf file with UDIM UV tiles?

The question is pretty clear here. I have a shirt model with UDIM UV tiles. I tried to export it to .gltf, but the .gltf only ...
1
vote
1answer
64 views

All animations are not exporting in .glb format?

I tried creating a ps1 style character in blender by following a tutorial. I created 7 animations in there as you can see below. But when I reimport the .glb file inside blender, it only shows ...
0
votes
0answers
21 views

Why I can't export a model with double-sided materials in gltf format? [duplicate]

When I export that by in Gltf format and open it, just the front side appears on both sides. Can you help me please? In Blender In 3D Viewer
1
vote
1answer
52 views

How to set up shader materials with main node Principal BSDF

I have issue with exporting shaders on blender model. I need to export model with shaders in GLTF . The problem is that shader materials are not exporting - only the main color of Principal BSDF node. ...
1
vote
1answer
60 views

Metallic BSDF shader is always black

I'm trying to model a textured and anodized aluminum material (think Apple MacBook). I'm using the Principled BSDF node because my end target is a glTF for display in the browser. Whatever I do, when ...
0
votes
0answers
27 views

Export to glTF fails due to child.data.shape_keys.path_resolve error

I am using Blender 2.83 and 2.91 for my new project. The error mentioned in the headline occurs with both versions. I am ...
0
votes
0answers
48 views

blender on server with command line : Calling operator “bpy.ops.import_scene.gltf” error

I am building a 3D web app with threejs, in javascript. For renders, i want to use a renderfarm, so : i save threejs scenes in .glTF i command line blender to import and save these scene in .blend ...
0
votes
0answers
37 views

Export glTF with armature

I'm trying to export my model with aramature, but for some reason, I can't. When I export it and then reimport it to blender, I get only empties as a bones. If I try to import to Unreal, no armature ...
0
votes
0answers
42 views

Exporting .blend model to GLTF

I want to convert some models from their native .blend representation to gltf in order to render them in Three.js. I know that ...
1
vote
0answers
26 views

Gltf mesh compression on Linux [closed]

I'm on Arch Linux and Blender 2.91. I want to export a scene in .glb (gltf 2.0) format with mesh compression. According to blender manual, that should be supported via ...
1
vote
1answer
108 views

How to stop blender from generating duplicate vertices on export?

Yes, I know, use Mesh -> Clean up -> remove by distance. I did that, and in blender, it appears as if things are all fine and dandy, I made 3 cubes and made pyramids at the end, total vertex ...
0
votes
0answers
72 views

glTF animation export problems with rotation

When exporting glTF/glb files, rotation seems to break. At first I thought this was a gimbal lock issue, which was an issue, but I resolved it by just tilting the character slightly. Despite this, ...
0
votes
0answers
17 views

Texture Baking in relation of objects dimensions

Hello Everyone! In a scene where there are objects that are pretty different in size. If in the baking process you use the same Path Tiles for every object you'll end up losing quality on the bigger ...
1
vote
1answer
120 views

Exporting only one animation to gltf from multiple objects each with an action

I want to do an animated gltf file that shows how a set of molecules move. Using python, I created an object for each atom, 1558 atoms in total and then I added keyframes for updating the locations ...
1
vote
1answer
527 views

How do I export my model with some light (in .gltf)?

I'm working on a model and I'm trying to export it in .gltf format. In blender, I put a light to brighten the model, but when I export it, the lighting goes away. I'm quite new to blender and I've ...
1
vote
1answer
593 views

GLB (GLTF) export, how to include color/material information?

As a complete beginner with Blender, I have been creating simple 3D models to export as GLB and import into another program. For this purpose there is no animation, no physics, etc. I just need them ...
0
votes
1answer
31 views

Script to export gltf fails with 'Context' object has no attribute 'active_object'

I'm trying to convert a batch of files to glb using blender with the script bellow. That i modified from How to batch convert between file formats? But i'm getting the error 'Context' object has no ...
0
votes
1answer
46 views

Black lines through every part after importing GLTF [duplicate]

I'm new to blender and need some advice. I have imported a GLTF file of the render/animation I am trying to make (robot for a competition, want to show off capabilities in animation), and when I ...
0
votes
0answers
62 views

Gltf- file, some materials doesn´t show in threejs editor

Some of the materials and textures on my models doesn't show up in the threejs editor (https://threejs.org/editor/) I export the files from blender (2.9) as gltf2.0-files, in blender i add textures ...
0
votes
0answers
15 views

Babylon files to GLB skips UV's

I am wondering how does exchanging a BabylonJS file between 3ds Max and Blender works. When you receive a BabylonJS file you need to convert it in BabylonJS Sandbox to GLB The BabylonJS file has a ...
1
vote
1answer
38 views

Import GLTF Tilt Brush via Google Poly is throwing an error

Blender Version 2.90.1 (2.90.1 2020-09-23) I have made a very simple Tilt Brush drawing on Oculus Quest 2. I have exported it to Poly from Tilt Brush. In Poly I have published the sketch in private ...
1
vote
1answer
54 views

Export armature DAE -> glTF rotates mesh 90 degrees

To reproduce: Download DAE Open in Blender Export to glTF (default settings) Open exported glTF in Blender Click on mesh Go into edit mode See that it is rotated 90 degrees around the X axis
0
votes
1answer
91 views

How can I export a model with its textures applied?

I have a blender model that is 7Mb, a laptop with 4 image textures applied to it. I am trying to export it to use in Google Poly. When I follow this tutorial to export as a .fbx, the resulting .fbx ...
1
vote
0answers
37 views

Blender exported gltf model doesn't look as it should [duplicate]

I followed a course and managed to create a 3D model,this is my very first attempt.I rendered the image ,it was all good.But when I tried to view it on a gltf viewer,it does not appear to be same as ...
1
vote
1answer
98 views

GLB export has correct wireframe, but wrong render. What am I missing?

Hello blender community, After exporting a model in GLB 2.0 format and loading it in three.js only part of the faces are being rendered. Displaying only the wireframe of the model works and the ...
0
votes
0answers
29 views

Multiple link-duplicated characters don't re-use armature on GLTF export

In a scene with multiple link-duplicated characters. During export, the mesh, material and animation are exported once, since each re-uses those. They are also all set to use the same armature, ...
1
vote
0answers
189 views

Blender to Godot: Export as glTF without materials, but with empty material slots

I want to export objects that have multiple materials, without exporting the actual materials, since I'm making materials in Godot. Disabling Geometry > Materials in the exporter makes it not ...
0
votes
1answer
155 views

GLTF Export — get scene camera

I am using the GLTF exporter to use the result with Three.js. Within the Scene I have defined two cameras and set one as the »scenes' camera« within the Scene Properties panel (see image below): The ...
1
vote
2answers
142 views

Does gltf only support the export of one strip per NLA track?

This blend file contains only the default cube. I've create two Actions: MyTrans that implements only a translation & MyRot that implements only a rotation. Each of those Actions, I've 'pushed ...
0
votes
0answers
42 views

Not all actions exported to glb file

I have a cuboid that can lean left, lean right or do an idle animation determined by actions. Using the Blender IDE I can get any of those 3 to play.Here it is, leaning to its right. My problem is ...
0
votes
0answers
78 views

gltf file created in 2.81 does not import correctly into 2.83

I have a project generated by blender version 2.81 (exported with the glft exporter) which I am trying to import into 2.83. When importing the exported gltf file, the geometry is in the wrong place ...
2
votes
1answer
32 views

gltf2.0 export ignores “Inherit Rotation” property changes

This potentially affects other bone properties, but this is the only one I'm comfortable with messing with. Is this simply not something that's supported by gltf2.0 or is there a setting I'm missing ...
1
vote
0answers
48 views

Cannot Export as GLTF file with volumetric mesh in Blender 2.83

I am trying to export a personal project I made in GLTF format. The problem I am getting is the volumetric mesh looks black when exported. Is there any way how to overcome this problem[][1
0
votes
0answers
134 views

Export to GLTF/GLB - Remove domain / bounding box from animation

I am trying to export a 3D model with an animation as a .glb file, but the bounding box is obscuring the entire animation. Any way to remove the bounding box to ...
1
vote
1answer
483 views

cannot export .glb with material setting like specular

When I export the scene as glTF 2.0 file format, it exports it with textures, but without any material information like specular-ness. I literally set it to 0 in principled BSDF, but when it's ...
1
vote
1answer
103 views

obj to glTF batch exporter

I have a set of obj exports comprising of a million files(each file between 100-200kb). Is there are a way to pick up files from a folder and export them to glTF? What I am talking about is batch ...
2
votes
1answer
159 views

Python script - objects are grey after export to glb file

There is my short code. I'm using blender_osm addon to generate these buildings. After the first render, it looks fine with colors on textures. But when I export it and reopen all textures are grey. ...
2
votes
0answers
36 views

blender 2.83: find imported GLB mesh

In 2.82, I was able to import and find the imported GLB mesh by bpy.ops.import_scene.gltf(filepath=input_filename) imported = bpy.context.selected_objects However, ...
1
vote
0answers
45 views

Can't import animated model in Powerpoint when using IK rig

I have animated two characters in Blender after rigged them and now I need to import the models in Powerpoint for a presentation. Because I animated and rigged, i need to export them in .fbx or .gltf, ...
1
vote
0answers
15 views

Export model with Enviroment Texture and Texture coordinate [duplicate]

I have built a simple model where I project an equirectangular image to a mesh using an environment texture. Sometimes the image is not centered correctly so I do this by linking the image location to ...
2
votes
0answers
393 views

Blender 2.80 GLTF Import and Export Issues

I am having an issue with Blender 2.80 on Ubuntu 19.10 Linux. If I attempt to import any GLTF files, Blender crashes immediately and I can't find any logs in my /tmp/ directory. The second part of ...
2
votes
1answer
305 views

Convert Blend file to GLTF with baked materials

I am trying to convert MMD files into gltf files for use on the web. I use a plugin called https://github.com/powroupi/blender_mmd_tools to import them into blender, but when I export them, they don't ...
1
vote
0answers
80 views

Can't export model to .gltf, exporting to fxb or dae deforms mesh

EDIT: Since I posted this question, I tried re-downloading the original model and rig, and when I tried to export it to fbx it works just fine. Gltf still shows the error message. In adding materials ...
1
vote
1answer
239 views

Whats the right way to create scenes ready for gltf and draco compression?

I am new to Blender and 3d modelling and I have created a scene with several meshes and textures/materials. All materials are gltf compatible (Principled BSDF nodes with image texture and normal ...