Jump to content

controlling points


Recommended Posts

Is it possible to have a point on an object with a scatter and control it so that the scatter avoids the sphere?
I'd like to control the sphere with transform.

When Sophia passes through the object, the object in the area she passes through seems to expand.

 

Thank you.

Link to comment
Share on other sites

@yujiyuji
Expand In what Form?(if you play With IsoOffset you have nice control) ,depending on Actual effect , (Like Sophia's Passing object part, that she use ,or just Like sticking to actual Geo Of Sophia and what Type of control You want to have over those points ?
Maybe it Helps ! Have Fun
 

//Input 2 is Geo
//Input3 is SDF representation of Geo
int handle = pcopen(@OpInput2, "P", @P, chf("rad"), chi("num"));
vector lp = pcfilter(handle, "P");

i@npt = nearpoint(1,@P);
vector npos = point(1,"P",i@npt);
vector off = set(0,chf("yoffset"),0);
vector disp = @P-lp;
float vsample = volumesample(2,0,@P); 

if(vsample<0)@P-=disp;

 

xzdde.jpg

  • Like 1
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...