TriangleArrayToGeometry_v2 Op

TriangleArrayToGeometry

Draws multiple triangles using coordinates from an array


Array length should be a multiple of 9.

Format for one triangle is:

x1, y1, z1, x2, y2, z2, x3, y3, z3

Edit Documentation

Full Name
  • Ops.Graphics.Geometry.TriangleArrayToGeometry_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorTest Patches


 

INPUT PORTS


Render (Trigger)

Renders the triangles

Points (Array)

The points forming the triangles, one dimensional array

Vertex Colors (Array)
TexCoords (Array)
Flat (Number:boolean )
Render Mesh (Number:boolean )

OUTPUT PORTS


Next (Trigger)

Triggers the next op

Geometry (Object)

The geometry of the triangles


Patches using TriangleArrayToGeometry_v2

  • Examples
  • Public
  • My Patches

Changelog


add vertexcolors/texturecoordinates and render-mesh booleanuser avatarstephan - 2022-06-30 13:20
add option to have vertex indices and flat modeuser avatarstephan - 2022-07-07 12:55
bugfixfix bug with not updating in some casesuser avatarpandur - 2022-12-14 17:17
renameOps.Gl.Meshes.TriangleArray_v2 renamed to Ops.Graphics.Geometry.TriangleArray_v2user avatarpandur - 2023-06-05 09:35
renameOps.Graphics.Geometry.TriangleArray_v2 renamed to Ops.Graphics.Geometry.TriangleArrayToGeometryuser avatarpandur - 2023-06-05 09:35
renameOps.Graphics.Geometry.TriangleArrayToGeometry renamed to Ops.Graphics.Geometry.TriangleArrayToGeometry_v2user avatarpandur - 2023-06-05 09:37