Jump to content
Nemiko

replace point by object

Recommended Posts

 

The guys need help how to make the points of the lines blend behind the object and further, so that they go out completely, but the points near the ground remain in place

image.png.3d43642bbd0b4312d49e6306ba9569f6.png

 

test_1.hip

Share this post


Link to post
Share on other sites
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

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

×