GltfScene_v4 Op
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:
https://cables.gl/patchlist/jvaDnE
converters:
Full Name
- Ops.Gl.GLTF.GltfScene_v4
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
Render (Trigger)
glb File (String)
Draw (Number: boolean)
Camera index (Number: integer)
Animation (String)
Show Structure (Trigger)
Transform
Center index (Number: integer) None XYZ XZ
Rescale (Number: boolean)
Rescale Size (Number)
Timing
Time (Number)
Sync to timeline (Number: boolean)
Loop (Number: boolean)
Normals Format index (Number: integer) XYZ X-ZY
Vertices Format index (Number: integer) XYZ XZ-Y
Calc Normals index (Number: integer) Auto Force Smooth Never
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 (booleanNumber)
Patches using GltfScene_v4
Changelog
Ops.User.pandur.GltfScene3 renamed to Ops.Admin.GltfScene2 | pandur - 2020-02-06 13:14 | |
cloned op from Ops.Gl.GLTF.GltfScene_v2 | pandur - 2021-04-06 13:10 | |
bugfix | fix animation not playing when using skinned mesh with assigned material shaders | pandur - 2022-01-31 09:10 |
improvement | vertex colors: added automatic color conversion linear space | pandur - 2022-01-31 09:11 |
bugfix | fix problems with different animation interpolation settings | pandur - 2022-01-31 09:11 |
improvement | warn user visually when file was not found | pandur - 2022-01-31 09:11 |
improvement | compatibility with more glb files | pandur - 2022-01-31 09:12 |
improvement | add support for dataurls | stephan - 2022-03-07 18:35 |
cloned op from Ops.Gl.GLTF.GltfScene_v3 | pandur - 2023-07-21 15:08 | |
bugfix | Fix bug: GLTF meshes were not rendering the first time it was executed | pandur - 2024-05-23 11:41 |