Questions tagged [gltf]

The GL Transmission Format (glTF) is a runtime asset delivery format for GL APIs: WebGL, OpenGL ES, and OpenGL. glTF bridges the gap between 3D content creation tools and modern GL applications by providing an efficient, extensible, interoperable format for the transmission and loading of 3D content.

The GL Transmission Format (glTF) is a runtime asset delivery format for GL APIs: , , and . glTF bridges the gap between 3D content creation tools and modern GL applications by providing an efficient, extensible, interoperable format for the transmission and loading of 3D content.

The need for a network-enabled 3D content delivery format such as glTF has been compared to the need for JPEG for images, and MP3 for audio.

Specification

The glTF specification is maintained by the Khronos Group. This standards organization is also responsible for OpenGL, WebGL, COLLADA, and others.

Sample Models

A collection of Sample models are available for learning glTF, and testing runtime engines and content pipeline tools.

Converters and Exporters

glTF files can be created by converting from other popular formats such as , OBJ, , and others. View the list of converters.

As support for glTF grows, 3D authoring packages may gain the ability to export to glTF directly. For example, a exporter is in early stages of development.

Loaders and Viewers

Support for glTF is available for , , , , and others. Khronos maintains a list of glTF loaders and viewers.

File Structure

A structural overview diagram (by Marco Hutter) shows an at-a-glance view of the structure of a glTF file and its contents.

880 questions
0
votes
0 answers

Cursor intersects inner wall of gltf model house

The cursor/camera is able to intersect the inner walls of a house that I built in blender (.gltf 2.0) the outer boundary works perfectly fine though and the cursor/camera is unable to penetrate that. Here is my code - …
Niraj
  • 333
  • 1
  • 5
  • 23
0
votes
1 answer

How to implement a morphtargets human demo use gltf?

Just like https://threejs.org/examples/?q=morph#webgl_morphtargets_human, but I want to implement a glTF based demo . I had tried glTF models such as https://github.com/HowardWolosky/glTF-Sample-Models/tree/morphAnimation/2.0/AnimatedMorphCube and…
Samuel
  • 127
  • 7
0
votes
1 answer

Why isn't this glFT model loaded through A-Frame displaying on an iPhone browser?

This example displays the model in Chrome on a computer. However, this example does not show anything when it is loaded from either Chrome or Safari on an iPhone 5 (iOS 9.3.1). Does this happen to you too? Why is this happening? Edit: It works in…
ffmaer
  • 751
  • 9
  • 17
0
votes
0 answers

QML SceneLoader not displaying some objects

Is there a way to diagnose why SceneLoader in QML (Qt 5.8) might appear not to work? In my current project, there's one (3DS) model that SceneLoader will show (and this worked first try), but I replace it with any other models. I run qgltf on the…
Matt
  • 1,928
  • 24
  • 44
0
votes
1 answer

Why is not Monster model displayed by glTFLoader of three.js on iOS?

-Spec- three.js version : r84 (NOW) Device : iPad Air2 iOS version : 10.0.2 Browser : Chrome, Safari -glTFLoader- URL : https://threejs.org/examples/#webgl_loader_gltf Monster -> NOT displayed The others -> displayed Why do I ask this question? I…
Evan.Titer
  • 319
  • 2
  • 11
0
votes
1 answer

collada2gltf converter can't produce *.json file

I am reading a book: Programming 3D Applications with HTML5 and WebG , it involve a Vizi framework. All the examples load the *.json file instead of *.gltf file. Why? When I load *.gltf, it doesn't load any result, and the collada2gltf converters…
red
  • 11
  • 2
0
votes
1 answer

Achieve Transparency in gltf file

I've applied transparency in maya and export it as dae, but when I'm converting dae to gltf, transparency is not visible. Can anyone tell me how to achieve transparency in gltf file? materail used in .gltf file "materials": { …
ChanduRaj
  • 161
  • 1
  • 16
-1
votes
1 answer

Can Qt QSceneLoader object load and render GLB (3D model) file

I am using Qt6.5.2. My expectation is to load GLB file and render it in Qt window. As per Qt documentation for QSceneLoader class, QT supports GLB file but on loading GLB file in my Qt application, I get the following…
Sridharan
  • 1
  • 2
-1
votes
1 answer

How to export glTF file with ambient occlution?

I am using group nodes (input and output). But export in blender3.4 GLTF file.The ambient occlution file doesn't export with gltf file. enter image description here enter image description here This Ambient occlution texture connect to GLTF Material…
-1
votes
1 answer

How I can load 2nd gltf Model with different position, translation and texture

I am trying to load gltf 2.0 models in openGl. For 1st model it is works fine. But for 2nd model, Model is loading well but have same texture as previous one. I don't know how to apply different textures on different models and changing position of…
-1
votes
2 answers

THREE.js GLTFLoader not rendering with react

am quite new to both react and three.js, im trying to render a .gltf file using the method const Loader = new GLTFLoader() however when the website is rendered and i view it in browser i see the error message, An error happened SyntaxError:…
-1
votes
1 answer

My GTFL won't load with GLTFLoader: error Invalid typed array length: 55419

I'm currently trying to load a model gltfLoader I've debugged what I can with some of the common errors. I've made sure my gltf file is in the /public folder, I've also tried using and import with the path both give the same error: "Uncaught Could…
sam
  • 27
  • 4
-1
votes
1 answer

Rotation around axis other than X makes 3D object flat

In my program I'm loading a cube from a GLTF file and display it using my own implementation of math objects like vectors, matrices, and quaternions. That's what my program draws when I try to rotate the cube: The X rotation: and the Y…
Felix.leg
  • 622
  • 1
  • 4
  • 13
-1
votes
1 answer

How to make the 3D model avatar talking when my voice is detected on a-frame

What I want is that on a-frame, when I talk, my 3D model avatar is also being made talking. Following this guide, https://aframe.io/docs/1.1.0/introduction/models.html#animating-models, I created 3D model avatar with this resource,…
webtech
  • 3
  • 1
-1
votes
1 answer

Blender UV Sphere Exported as GLTF

When I export the default UV Sphere as GLTF model, it ends up having 1940 vertices. When I export the same model as OBJ, it has 482 vertices (the correct count). Something not right with the blender GLTF exporter (version 2.83).
user2566142
  • 77
  • 1
  • 4
1 2 3
58
59