Jump to content
Werner

Bend by color attribute?

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?

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hi James,

 

Yes that is what I wanted to avoid. I did exactly that, but it looks crap.

 

Share this post


Link to post
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.

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

×