Jump to content

copying color from parent in for each


Recommended Posts

Greetings!
I am currently creating a tree and now I want to group each section of branches in 1 color. 

Capture.thumb.PNG.12a073fb29b3d4ae538096a53d3b8b2e.PNG

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?

Link to comment
Share on other sites

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.

Capture.PNG.032bc1a277dc2e21e6bed7c3487c5ad5.PNG

Edited by hampuseh
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...