Jump to content

replace point by object


Nemiko

Recommended Posts

11 minutes ago, Librarian said:

@Nemiko Maybe It Helps


int hitprim;
vector hitprimuv;
xyzdist(1, v@P, hitprim, hitprimuv);

v@P = primuv(1, "P", hitprim, hitprimuv);



 

sfa.jpg

test_11.hiplc

 

Almost what is needed, but the lines are still inside the geometry, I wanted to make the lines flow around like an object

That is, I understand that it is necessary to somehow calculate the distance of the object's surface and shift it along the normals from the normals of the object itself, but how can I not understand how to do thisimage.png.b6482ec858d8b05d6dbfed5b95201953.png

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