Jump to content

Deform curves with other curves in loop


Recommended Posts

hey Guys,

I am trying to wrap bunch of head hair guide curves with my simmed hair curves which have a different topology.  I had to resample the curves during simulation to achieve a better sim. If I just do a basic point deform setup, it produces some artifacts because the curves are in close proximity of each other. I tried using "for each primitive" to run it over each curve primitive but its still not giving in accurate results. Any idea if there is a better way to do this?

Appreciate your help!

thanks!

Link to comment
Share on other sites

Hi,

You can capture point neighbours and weights inside a For Loop network using Point Deform (Capture), and then use another Point Deform SOP to deform afterwards.

So the capturing is done without time dependency which takes longer to cook while the deformation happens after, which will run much faster.

Link to comment
Share on other sites

Thanks @animatrix,

Thats a good idea for saving some cooking time, I will try that.

But the real problem I am having is to setup the point deform inside for loop, its creating stretch in the curves which should not happen if I am wrapping the curves 1 to 1. I am sure I am doing something wrong. Not sure if I should keep the timeshift nodes inside the For Loop and there is only one input on ForeEach node, If at all I need to keep the timeshift inside For Loop, how do I create multiple inputs?

Attaching an example hip file, if you don't mind taking a look, I would highly appreciate. :)

Its a basic vellum sim done on curves and I am trying to wrap it to the curves on right side (different topology). If you go to frame 70, You will see some artifacts in the curves. I am sure my for each setup is not quite right.

 

thanks!

 

 

curve_wrap.hipnc

Link to comment
Share on other sites

thanks Aizatulin,

I saw your file, but there is an offset between the simmed curves and wrapped curves, I am looking for a one-to-one wrap where the wrapped curves follows the simmed curves almost perfectly. 
 

wrap.png

Link to comment
Share on other sites

Sure thing!

Actually the number of guide curves are same in simmed and render geo. I have just resampled the curves in render geo to give it a slightly different topology. Will provide some images, thank you :)

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