transfer select primitive attributes to individual points within the curve

   1609   2   1
User Avatar
Member
125 posts
Joined: April 2014
Offline
I have multiple primitives, each composed of 5 points (a curve).
Each of the primitives has 5 unique attributes (@foo1 - @foo5) that I want to promote or transfer to the individual points within the primitive.
So that the first point in the primitive ends up with @foo1, the second point in the primitive ends up with @foo2, etc up to point 5.

would anyone have an example of suggestion?

I have been dabbling using a vop, doing a modulo on each point %5 and then a comparison to set the value.
It is not yet working and I suspect there is a much better approach.

jammer
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
Something like this?

Maybe use a for loop in a wrangle…
Edited by matthias_k - April 21, 2018 02:12:35

Attachments:
transfer_attr_001.hip (102.4 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
125 posts
Joined: April 2014
Offline
ah nice - thanks for that. I ended up being able to do it in VOP which I was kind of surprised at. I felt as though I was just plugging in things to see if possible and voila! it worked. Love when that happens, all too rare though.
Attachment Not Found

Attachments:
Capture.JPG (85.3 KB)

  • Quick Links