Jump to content
Sign in to follow this  
Milad Savar

pcfind method for Falloff Points

Recommended Posts

Hello Guys !

i'm new in Vex, and  i wanna know how can fix my problems ,  write simple code with pcfind and find list of points and i need each points is Further less color  effect ( falloff Points ) , pls check hip File

thanks a lot's

Milad.Savar 

Falloff by Distance.hip

Share this post


Link to post
Share on other sites

Hi,You can try something like this 

f@d=distance(@P,point(1,"P",0));
@Cd = chramp("distanceRamp",fit(@d,0,1,0,1));

  • Like 1

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
Sign in to follow this  

×