GltfScene_v4 Op

GltfScene

Load GLTF/GLB 3d files


<p>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.</p> <h2>GLTF Feature example patches:</h2> <p><a href="https://cables.gl/patchlist/jvaDnE">https://cables.gl/patchlist/jvaDnE</a></p> <h2>converters:</h2> <ul> <li><a href="https://glb-packer.glitch.me/">https://glb-packer.glitch.me/</a></li> <li><a href="https://blackthread.io/gltf-converter/">https://blackthread.io/gltf-converter/</a></li> </ul>


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


INPUT PORTS


Render (Trigger)
glb File (String)
Draw (Number:

<i>boolean</i>

)

Camera index (Number:

<i>integer</i>

)

Animation (String)
Show Structure (Trigger)

Transform

Center index (Number:

<i>integer</i>

)
 None  XYZ  XZ 
Rescale (Number:

<i>boolean</i>

)

Rescale Size (Number)

Timing

Time (Number)
Sync to timeline (Number:

<i>boolean</i>

)

Loop (Number:

<i>boolean</i>

)

Normals Format index (Number:

<i>integer</i>

)
 XYZ  X-ZY 
Vertices Format index (Number:

<i>integer</i>

)
 XYZ  XZ-Y 
Calc Normals index (Number:

<i>integer</i>

)
 Auto  Force Smooth  Never 
Materials (Object)
Hide Nodes (Array)

<p>Hide some GLTF nodes by name</p>

Use Material Properties (Number:

<i>boolean</i>

)

Active (Number:

<i>boolean</i>

)

OUTPUT PORTS


Render Before (Trigger)
Next (Trigger)
Generator (String)
GLTF Version (Number)
GLTF Extensions Used (Array)
Anim Length (Number)
Anim Time (Number)
Json (Object)

<p>The whole GLTF scene as JSON data</p>

Anims (Array)
BoundingPoints (Array)
Bounds (Object)
Finished (Trigger)
Loading (

<i>boolean</i>

Number)


Patches using GltfScene_v4

  • GLTF Examples (16)
  • Public
  • My Patches

Changelog


Ops.User.pandur.GltfScene3 renamed to Ops.Admin.GltfScene2user avatarpandur - 2020-02-06 13:14
cloned op from Ops.Gl.GLTF.GltfScene_v2user avatarpandur - 2021-04-06 13:10
bugfixfix animation not playing when using skinned mesh with assigned material shadersuser avatarpandur - 2022-01-31 09:10
improvementvertex colors: added automatic color conversion linear space user avatarpandur - 2022-01-31 09:11
bugfixfix problems with different animation interpolation settingsuser avatarpandur - 2022-01-31 09:11
improvementwarn user visually when file was not founduser avatarpandur - 2022-01-31 09:11
improvementcompatibility with more glb filesuser avatarpandur - 2022-01-31 09:12
improvementadd support for dataurlsuser avatarstephan - 2022-03-07 18:35
cloned op from Ops.Gl.GLTF.GltfScene_v3user avatarpandur - 2023-07-21 15:08
bugfixFix bug: GLTF meshes were not rendering the first time it was executeduser avatarpandur - 2024-05-23 11:41