hampuseh Posted April 29, 2019 Share Posted April 29, 2019 Greetings! I am currently creating a tree and now I want to group each section of branches in 1 color. In the picture above you see that I have given a random color to the start of each section, now I want the branches connected/close to the section to get the same color. So in the end each branch section will have same color. How would I do this? Quote Link to comment Share on other sites More sharing options...
hampuseh Posted April 29, 2019 Author Share Posted April 29, 2019 (edited) Well... after a little testing I actually found out that the attribute transfer worked for me without any issues.. EDIT: Actually it didn't work too great. Attribute transfer transfers attributes by radius proximity, which means that some branch pieces gets another colour. Edited April 29, 2019 by hampuseh Quote Link to comment Share on other sites More sharing options...
anim Posted April 29, 2019 Share Posted April 29, 2019 if the branches are connected you can use Edge Transport SOP that will propagate attribute from root point of the connected edge network to all the branches edgetransport_color.hip Quote Link to comment Share on other sites More sharing options...
hampuseh Posted April 29, 2019 Author Share Posted April 29, 2019 Thanks for the idea! It does seem to work the way its supposed to But since I didnt actually start out with a l-system setup it was somewhat difficult to actually fuse the branches together without any weird artifacts. But I got it working thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.