Jump to content
Sign in to follow this  

Attribute Transfer by ptnum

Recommended Posts



I am trying to transfer the color attributes from a point set to another based on their ptnum attribute. So as a simple example if we consider both sets - as two separate nodes - have 10 points each;


- let's say the first ten points are all white except 3 points (ptnum=2, ptnum=3, ptnum=4). These three points are black. The second set of ten points are all white.

- How can I transfer the Cd attribute from the first set to the second so that the three points in the second set with the above mentioned - 2,3,4 - ptnums turn into black?


Thank you,


Share this post

Link to post
Share on other sites

You have just described the functionality of the Attribute Copy node. Plug the second set into the first input and the first set into the second. The default settings will do just what you want, setting the Cd attrib on the points

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this