Deborah R. Fowler
Wrangle Node Example -
Image Data
Posted on Jan 15 2018
As an example of the difference between vops and point wrangle, the following ExampleImageBaseH16_5.hipnc is explained below
Here we apply an image to a grid, assign uv's and use the luminance value at the given vertext to control the size of a sphere (this was an older example, I believe from SideFX, but I have updated to use point vop and wrangle nodes below).
Here we import the uv information, use the colormap parameter and feed that into the colormap node, exporint the luminance information with a bind node.
Below are the point wrangle nodes.
Note if we use the default uv project, the uv's are vertice information and must use a setpointattrib function to achieve the same functionality as an attribute promote.