Draws multiple triangles using coordinates from an array
summary (oneliner)
Array length should be a multiple of 9
.
Format for one triangle is:
x1, y1, z1, x2, y2, z2, x3, y3, z3
doc
issues
example patch id
youtube ids (comma seperated)
caniuse query
collections
Inputs
Render (Trigger)
Renders the triangles
Points (Array)
The points forming the triangles, one dimensional array
Vertex Colors (Array)
TexCoords (Array)
Flat (boolean /Number)
Render Mesh (boolean /Number)
Outputs
Next (Trigger)
Triggers the next op
Geometry (Object)
The geometry of the triangles
Patches using TriangleArray_v2
Changelog
add vertexcolors/texturecoordinates and render-mesh boolean 2022-06-30 - stephan | |
add option to have vertex indices and flat mode 2022-07-07 - stephan | |
bugfix | fix bug with not updating in some cases 2022-12-14 - pandur |