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:
- object animation: https://dev.cables.gl/p/8m-jxX
- draco compression: https://dev.cables.gl/p/gc93YM
- vertex colors: https://dev.cables.gl/edit/6MsLhR
- multi uv channels: https://dev.cables.gl/edit/LKhGaN
- vertex anim: https://dev.cables.gl/edit/k2kKaN
- multiple animation tracks/actions: https://dev.cables.gl/edit/sJYbXN
- skinning: https://dev.cables.gl/edit/TWBC-N
- embedded texture: https://dev.cables.gl/edit/LT4CVS
- multiple skins: https://dev.cables.gl/edit/Vkp-WN
- interpolation methods: https://dev.cables.gl/edit/pmKMIV
- assigned material skinned mesh: https://dev.cables.gl/edit/KSoMZS
convertes:
doc
issues
youtube id
caniuse query
collections
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)
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
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