beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
GltfScene
Ops.Gl.GLTF.GltfScene
Namespace: Ops.Gl.GLTF

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.

convertes:
https://glb-packer.glitch.me/
https://blackthread.io/gltf-converter/

doc

issues

youtube id

collections

related ops

Inputs

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


Timing

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


Outputs

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:


video tutorial:

Credits


Changelog


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

Examples using GltfScene

Public Patches using GltfScene