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

GltfScene_v3 Op

Ops.Gl.GLTF.GltfScene_v3


GltfScene
Namespace: Ops.Gl.GLTF

Op author: pandur

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.

GLTF Feature example patches:

convertes:



doc

issues

youtube id

caniuse query

collections

related ops

Inputs

Render (Trigger)

glb File (String)

Draw (boolean /Number)

Camera index (integer /Number)

Animation (String)

Show Structure (Trigger)

Transform

Center index (integer /Number)

Rescale (boolean /Number)

Rescale Size (Number)

Timing

Time (Number)

Sync to timeline (boolean /Number)

Loop (boolean /Number)

Normals Format index (integer /Number)

Vertices Format index (integer /Number)

Calc Normals (boolean /Number)

Materials (Object)

Hide Nodes (Array)

Hide some GLTF nodes by name


Use Material Properties (boolean /Number)

Active (boolean /Number)

Outputs

Render Before (Trigger)

Next (Trigger)

Generator (String)

GLTF Version (Number)

GLTF Extensions Used (Array)

Anim Length (Number)

Anim Time (Number)

Json (Object)

The whole GLTF scene as JSON data


Anims (Array)

BoundingPoints (Array)

Bounds (Object)

Finished (Trigger)

Loading (boolean Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

GLTF/GLB File Example

Open Example In Editor


Youtube Video Tutorial

Changelog


Ops.User.pandur.GltfScene3 renamed to Ops.Admin.GltfScene2
2020-02-06 - pandur

Ops.Admin.GltfScene2 renamed to Ops.Gl.GLTF.GltfScene.GltfScene_v2
2020-02-18 - pandur

cloned op from Ops.Gl.GLTF.GltfScene_v2
2021-04-06 - pandur

Ops.User.pandur.MyTestGLTF renamed to Ops.Gl.GLTF.GltfScene_v3
2021-04-06 - pandur

added core lib: cgl_shadermodifier
2021-10-14 - pandur

fix animation not playing when using skinned mesh with assigned material shaders
2022-01-31 - pandur

vertex colors: added automatic color conversion linear space
2022-01-31 - pandur

fix problems with different animation interpolation settings
2022-01-31 - pandur

warn user visually when file was not found
2022-01-31 - pandur

compatibility with more glb files
2022-01-31 - pandur

Examples using GltfScene_v3 ()

Public Patches using GltfScene_v3 ()