Jump to content

Bend by color attribute?


Werner

Recommended Posts

Hi,

I'm trying to get the bend SOP in H15 to only be affected on points with red in the color channel(paint SOP), but I'm failing badly.

Any attribute I create is ignored by the bend SOP.

 

Is there any voodoo I should know about to get this to work?

 

Link to comment
Share on other sites

Hi Werner,

 

Set the color on your geo to black. Paint the parts red you want. Create a point group and switch it to expression and put something like this in the filter expression field.

@Cd >.01

Make sure you put the group in the bend SOP. I'm not positive this is what you actually want because the transition between deformed polys and not deformed ones will be abrupt.

 

-james

Link to comment
Share on other sites

Hey Werner,

So you want to bend a model, then blend in the bent model based on color? I did exactly that and it looks okay. I added some color with a nice falloff. did a bend, did an attribute transfer between the bent version and the original version, then did an attribute wrangle with:

@P = fit01(@Cd.r,@P,point(1,"P",@ptnum));

Then bent parts now have a nice falloff because the color controlling it has a nice falloff.

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...