cables is under heavy development.
There might be one or another bug, please let us know about it!

GltfScene Op


Namespace: Ops.Gl.GLTF

Op author: pandur

There is a newer version of this op!

This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Gl.GLTF.GltfScene_v3

Load GLTF/GLB 3d files

summary (oneliner)

This op currently can only load GLB files, these are binary versions of a GLTF file.
A GLTF file can be converted with programs such as Blender.
Click the show structure button to see the way the GLB file is constructed with its nodes and materials.




example patch id

youtube id

caniuse query


related ops


data (String)

Render (Trigger)

Trigger the op

glb File (String)

String/name of GLB file to load

Draw (boolean /Number)

Render the GLB file

Auto Scale (boolean /Number)

Auto scale to maximum bounding box around all meshes, disable for actual scale

Show Structure (Trigger)

Click to open the UI for the GLTF op, shows information of mesh sections and materials


Time (Number)

Used to go through any animations in the GLB file

Sync to timeline (boolean /Number)

Sync to timeline

Loop (boolean /Number)

Loops animation if end is reached

Materials (Object)

Expects gltfSetMaterial node to set materials of nodes


Render Before (Trigger)

Next (Trigger)

Generator (String)

Generator used to create the current GLB file

GLTF Version (Number)

Version of the current GLB file

Anim Length (Number)

Length of the animation in seconds

Anim Time (Number)

current time with animation

Json (Object)

Json object of the GLB file

Finished (Trigger)

Triggers when all GLB file has been loaded

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

GLTF/GLB File Example

Open Example In Editor

Youtube Video Tutorial

Patches using GltfScene


created op
2019-12-05 - pandur

Ops.User.pandur.GlbTest renamed to Ops.Gl.GLTF
2019-12-06 - pandur

Ops.Gl.GLTF renamed to Ops.Gl.GLTF.GltfScene
2019-12-13 - pandur