Well, there are a few techniques you can use... some are more complex then others.

One I use often that is quite simple and not much work is to use the Resample Strands compound from Melena. If you have Melena installed, Helge had compiled a node called nest_StrandFitting where you can resample your strand and by adding more points, you'll automatically create a smoother curve.

I also implemented a bezier based technique and a Catmull Rom spline technique to resample and smooth out the curves, but these are a bit more complicated to implement. I'd start with the Melena node to see if it gives you good enough results. If it doesn't work, I'll try and see if I can give you more details on the other techniques I use.

-Mathieu

Jonathan Laborde wrote:
Hello Dominik,
Spent the last couple of months fighting day and night with strand deformations. A real pain in the ...
If your simulation is not too twitchy, you can go through all the strand's array indexes to get the point positions then average it with the point positions of the neighboring indexes (index + 1, index - 1). There is probably a way to avoid it, but you probably will have to recursively go through all the array indexes with a repeat/while node.
Good luck :)
Jonathan

On Tue, Sep 25, 2012 at 11:07 AM, Dominik Kirouac <[email protected]> wrote:
Hey all,

Anyone know if a compound exist to smooth strands deformation. I have some weird strand deformation after applying simulation and I want to smooth them in a postprocess icetree.

I'm able to do it for weightmap by getting the average of neighboring points and reapply it to the point, but I'm not able to apply this technic to strands.

Anyone could help me with this?

Thanks,

Dominik Kirouac // SHED
3D Artist / FX - SIMULATION
1410, RUE STANLEY, 11E ETAGE MONTREAL (QUEBEC) H3A 1P8
T 514 849-1555 F 514 849-5025
WWW.SHEDMTL.COM



Reply via email to