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

GltfScene_v4 Op

GltfScene

Load GLTF/GLB 3d files


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:

https://cables.gl/patchlist/jvaDnE

converters:


Edit Documentation

Full Name
  • Ops.Gl.GLTF.GltfScene_v4
Visibility
  • Core Op - Official cables op
AuthorTest Patches


 

INPUT PORTS


Render (Trigger)
glb File (String)
Draw (Number:boolean )
Camera index (Number:integer )
Animation (String)
Show Structure (Trigger)

Transform

Center index (Number:integer )
Rescale (Number:boolean )
Rescale Size (Number)

Timing

Time (Number)
Sync to timeline (Number:boolean )
Loop (Number:boolean )
Normals Format index (Number:integer )
Vertices Format index (Number:integer )
Calc Normals index (Number:integer )
Materials (Object)
Hide Nodes (Array)

Hide some GLTF nodes by name

Use Material Properties (Number:boolean )
Active (Number:boolean )

OUTPUT PORTS


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)

Usages of GltfScene_v4

  • GLTF Examples (15)
  • Public
  • My Patches
  • Ops

Changelog


Ops.User.pandur.GltfScene3 renamed to Ops.Admin.GltfScene2user avatarpandur - 2020-02-06
Ops.Admin.GltfScene2 renamed to Ops.Gl.GLTF.GltfScene.GltfScene_v2user avatarpandur - 2020-02-18
cloned op from Ops.Gl.GLTF.GltfScene_v2user avatarpandur - 2021-04-06
Ops.User.pandur.MyTestGLTF renamed to Ops.Gl.GLTF.GltfScene_v3user avatarpandur - 2021-04-06
added core lib: cgl_shadermodifieruser avatarpandur - 2021-10-14
fix animation not playing when using skinned mesh with assigned material shadersuser avatarpandur - 2022-01-31
vertex colors: added automatic color conversion linear space user avatarpandur - 2022-01-31
fix problems with different animation interpolation settingsuser avatarpandur - 2022-01-31
warn user visually when file was not founduser avatarpandur - 2022-01-31
compatibility with more glb filesuser avatarpandur - 2022-01-31
add support for dataurlsuser avatarstephan - 2022-03-07
cloned op from Ops.Gl.GLTF.GltfScene_v3user avatarpandur - 2023-07-21
renameOps.Patch.PCZfAUB.GltfScene4 renamed to Ops.Gl.GLTF.GltfScene_v4user avatarpandur - 2023-07-21