Birth splines bias
#1
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!
  Reply
#2
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.
  Reply
#3
(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
  Reply
#4
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).
  Reply
#5
(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).

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

That's great thank you so much!
  Reply


Forum Jump: