Birth splines bias - Printable Version +- tyFlow Forum ( https://forum.tyflow.com)+-- Forum: tyFlow Discussion ( https://forum.tyflow.com/forum-1.html)+--- Forum: General Discussion ( https://forum.tyflow.com/forum-2.html)+--- Thread: Birth splines bias ( /thread-2441.html) |

Birth splines bias - ldotchopz - 06-10-2021
The birth splines operator allows particles to born uniformly across a spline, but is there a way to cluster them more towards either end of the spline? Cheers! RE: Birth splines bias - tyFlow - 06-11-2021
You can set knot type to tangent, then adjust the tangents to modify the spline interpolation in a way that biases spline interpolation segments towards either end, and then use a non-normalized interpolation mode in the Birth Splines operator to generate particles at those biased segment locations. RE: Birth splines bias - ldotchopz - 06-11-2021
(06-11-2021, 04:55 AM)tyFlow Wrote: You can set knot type to tangent, then adjust the tangents to modify the spline interpolation in a way that biases spline interpolation segments towards either end, and then use a non-normalized interpolation mode in the Birth Splines operator to generate particles at those biased segment locations. Thank you for the reply, I had tried this but I was hoping to do this along a straight spline. so the particles are weighted towards one end without adding knots manually. Is there a technique for this? Thanks! L RE: Birth splines bias - tyFlow - 06-11-2021
You can do it with a straight spline...just ensure the tangents of the two end knots remain parallel to the span between them and the spline will remain straight, even though the interpolation of the spline with be biased towards either end (make sure you disable interpolation optimization in the interpolation rollout of the spline base object). There's no other way to do this without coding it yourself in the script operator (which, for a spline with only 2 knots, wouldn't be that hard). RE: Birth splines bias - ldotchopz - 06-16-2021
(06-11-2021, 09:09 PM)tyFlow Wrote: You can do it with a straight spline...just ensure the tangents of the two end knots remain parallel to the span between them and the spline will remain straight, even though the interpolation of the spline with be biased towards either end (make sure you disable interpolation optimization in the interpolation rollout of the spline base object). That's great thank you so much! |