Jump to content

How could I falloff an attribute based on a "Ramp"?


Recommended Posts

Hi;

I would like to falloff an attribute based on a RAMP, something like what I tried to explain in image bellow.
Is there any SOP to achieve this?
 

falloff to neighbor points.

 

Thanks for helping.

AttBasedOnRamp.JPG

Edited by Masoud
Link to comment
Share on other sites

point wrangle for example (assuming you want it along x)

float u = relbbox(0, @P).x;
v@Cd = chramp("falloff", u);

otherwise it's up to you what coordinates you use for your ramp, it can be uvs that you generate beforehand, or some distance attribute from Falloff SOP spreading from point group or any other 

Edited by anim
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...