Deborah R. Fowler
Wrangle Node
Example - Torus
Posted on Jan 23 2018
Updated on Jan 21 2023
An example of using a second input on a pointwrangle node (click for file here) is explained below.
This example is based on an expressions tutorial to blow a torus up from a since removed tutorial on expressions from SideFX back in H9. I have created and updated this example using point wrangles as seen in my file (click here). I also added blending from another demo and implemented this with a sequence blend, point vop and finally updated to use point wrangles.
The points are
- "uniqued" on each facet
- facets scaled to zero
- sorted by primitive number
- noised the position thru a particle node
- pointwrangle mixes using the lerp function to blend them back together
The syntax I used here was v@P2 = point(@OpInput2,"P",@ptnum);