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.

Filter by
Sorted by
Tagged with
1
vote
1answer
72 views

When and who introduced the idea of a scene graph?

Simple question: is there a source that precedes the idea of presenting graphical application or 3D scene in a scene graph? I came across Hierarchical geometric models for visible surface algorithms ...
0
votes
0answers
23 views

How to read .gltx files using jansson JSON C library?

I am currently writing a program to parse the .gltf file using the jansson C library for reading JSON files. I want to show how that library is effective in reading .gltf files so that apps can use ...
0
votes
0answers
39 views

What do you do when the root skeleton is not defined in a gltf file?

Cross posting from stack overflow: Reading the source code of tinygltf I see this: ...
1
vote
1answer
30 views

Why are these 2 buffers joint while extracting glTF information?

I am using tinyGLTF to parse gltf files and then render them in my program. I am currently during the third example in this page. In particular I am trying to extract the 2 animation buffers: My code:...
0
votes
0answers
37 views

Retaining hierarchy of assembly when converting STEP to GLTF

I want to convert STEP files to gLTF. I know that gLTF suuports hierarchy of assemblies and parts. Source: https://cadexchanger.com/blog/283-how-to-load-3d-cad-data-into-three-js-part-2 However, it is ...
2
votes
1answer
101 views

What's the simplest, open, animation format?

I have an obj parser that handles triangle meshes specifically. I want to extend it (and the rest of my system) to handle animations as well. However, I don't think I am ready to tackle the glTF ...
2
votes
1answer
350 views

Determining the Bounding Box values of a glTF file

Is there a way when looking at the source of a glTF file that you can determine what the boundingBox values of the object are?
3
votes
2answers
3k views

Programmatically generating bin files for GLTF models

I have a need to generate a series of GLB files. I have a base template for a GLTF file which I have to derive off of. The models thus generated will only have varying textures on them. The base mesh ...
1
vote
2answers
306 views

Convert a .X mesh to a modern format

I have a bunch of meshes in the .X format, which isn't supported by many 3D applications today. Therefore, I would like to convert these to a modern format like fbx or gltf/glb. Since these meshes ...
2
votes
1answer
857 views

glTF animation keyframe question

I have an animated cube with 5 keyframes and when I export it to glTF with blender, in the file I can only see 3 keyframes: But when I viewed the gltf model with viewer all 5 keyframes worked well ...
2
votes
1answer
2k views

How mesh geometry data (vertex coordinates) stored in glTF?

I've read the reference guide about the file but I am really confused. Why the hell are there "min" and "max" values ?? A single vertex has only one coordinate array not min and max.. Also in the ...
5
votes
3answers
3k views

Is it possible to create minimal glTF files with vertex and index buffers?

I am currently looking into glTF to use as a transfer format for my WebGL project. I already have the geometries I wish to render on my WebGL client available as preprocessed vertex and index buffers (...
3
votes
2answers
3k views

Are there any gltf example datasets available? [closed]

I'm currently researching my options on effeciently exchanging data for a webgl application. I understand the gltf format is still being drafted but I need some example data to understand whether this ...
2
votes
2answers
1k views

How to generate binary gltf array buffers?

I'm looking for any way which enables me to quickly generate gltf files including the conversion of plain array buffers (vertex, index, color, etc.) into binary (bgltf, glb, bin) files. I'm asking ...
3
votes
2answers
1k views

Is it possible to store the plain buffer data in gltf files?

The GL Transmission Format comes along with a JSON styled main file which basicly describes the scene and binary files which contain the buffers. I'm currently writing a WebGL library and I need to ...
3
votes
2answers
3k views

How to encode/decode buffer data in glTF?

I'm playing around with base64 embedded data URI's and tried to analyze the buffer data of the gltf box sample model, as defined in this example here (line 76). ...