TriangleArrayToGeometry_v2 Op
Draws multiple triangles using coordinates from an array
Summary (oneliner)
<p>Array length should be a multiple of <code>9</code>.</p> <p>Format for one triangle is:</p> <pre><code>x1, y1, z1, x2, y2, z2, x3, y3, z3 </code></pre>
Full Name
- Ops.Graphics.Geometry.TriangleArrayToGeometry_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch TriangleArray
INPUT PORTS
Render (Trigger)
<p>Renders the triangles</p>
Points (Array)
<p>The points forming the triangles, one dimensional array</p>
Vertex Colors (Array)
TexCoords (Array)
Flat (Number:
<i>boolean</i>
)Render Mesh (Number:
<i>boolean</i>
)OUTPUT PORTS
Next (Trigger)
<p>Triggers the next op</p>
Geometry (Object)
<p>The geometry of the triangles</p>
Patches using TriangleArrayToGeometry_v2
Changelog
add vertexcolors/texturecoordinates and render-mesh boolean | stephan - 2022-06-30 13:20 | |
add option to have vertex indices and flat mode | stephan - 2022-07-07 12:55 | |
bugfix | fix bug with not updating in some cases | pandur - 2022-12-14 17:17 |
rename | Ops.Gl.Meshes.TriangleArray_v2 renamed to Ops.Graphics.Geometry.TriangleArray_v2 | pandur - 2023-06-05 09:35 |
rename | Ops.Graphics.Geometry.TriangleArray_v2 renamed to Ops.Graphics.Geometry.TriangleArrayToGeometry | pandur - 2023-06-05 09:35 |
rename | Ops.Graphics.Geometry.TriangleArrayToGeometry renamed to Ops.Graphics.Geometry.TriangleArrayToGeometry_v2 | pandur - 2023-06-05 09:37 |