MeshInstancer_v2 Op
There is a newer version of this op!
This version will not receive any updates. It is recommended to use a newer version.
Current version: Ops.Gl.MeshInstancer_v4
Draw the same mesh multiple times on the GPU
Summary (oneliner)
For better performance you should use the "trigger once" op on the mesh going into the Geom input. Check the example patch to see this being applied.
- Ops.Gl.MeshInstancer_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch mesh instancer
INPUT PORTS
Trigger in
The shape that will be instanced
Global scale for all instances, disabled if scale array is used
Limit Number of Instances
Enable to set a limit on how many instances are created
If limit instances is enabled this number determines how many instances are created
Parameters
Needs an XYZ array to determine the positions of each instance
needs an XYZ array to determine the scale of each instance
Needs an XYZ array to determine the xyz rotation of each instance. 0-360 degrees
OUTPUT PORTS
Total number of instances/shapes