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
4
votes
1 answer

Importing and playing multiple animations with THREE.GLTFLoader in three.js

From Blender I have exported an animated model(spaceship) and an animated camera as a .glb using the gltfExporter, when I drop the .glb file into the glTF viewer (gltf-viewer.donmccurdy.com) everything works, so I know the issue is not with the…
Octavector
  • 111
  • 1
  • 6
4
votes
1 answer

Cesium czml change orientation of 3d model (gltf/glb) along with position in time

I have implemented a 3d model (cesium air) aircraft to move along a path. Its position is being changed based on time and the detailed data is available in the czml file under position attribute. However, I am not able to change the orientation of…
3
votes
0 answers

three js gltf model not center like originally and no color

this is the screenshot of my model on Babylon viewer: after I implementation on Threejs to load the gltf model, my model is not showing and can't center , I have tried some code like Centering and Resizing GLTF models automatically in Three.js, but…
iuer ui
  • 117
  • 9
3
votes
3 answers

Three JS GLTF Loader Not Working with Nuxt 3

I'm facing an error when implementing three JS Gltf Loader with nuxt 3. Error message : " Uncaught (in promise) TypeError: Class constructor Loader cannot be invoked without 'new' .. " versions: "three": "^0.148.0", "three-gltf-loader":…
3
votes
1 answer

Can't seem to Import .glb / .gltf in svelte with vite

I cant seem to get .glb or .gltf files imported.