10-18-2022, 04:10 PM
I control the smoothing of all curves by setting the values of the CP handles (hidden from the user). I had been using AutoHandles when there are curved segments on both sides of a CP (as opposed to explicit straight segments).
I now need to control the curve of the X-Z plane separately from the Y dimension. AutoHandles don't know how to do this of course.
I could turn on AutoHandles, let Curvy position the handles, then turn it off and set the Y value myself. But this is a kludge and not very performant.
I've tried to infer what the formula is for the direction of the linear HandelIn to HandleOut vector when AutoHandle is turned on. But I don't have the chops to figure it out.
Given the position of three CPs (CP-1, CP, CP+1) how is he tangent of the AutoHandle for CP calculated? I only need this in the X-Z plane.
You assistance would be appreciated.
I now need to control the curve of the X-Z plane separately from the Y dimension. AutoHandles don't know how to do this of course.
I could turn on AutoHandles, let Curvy position the handles, then turn it off and set the Y value myself. But this is a kludge and not very performant.
I've tried to infer what the formula is for the direction of the linear HandelIn to HandleOut vector when AutoHandle is turned on. But I don't have the chops to figure it out.
Given the position of three CPs (CP-1, CP, CP+1) how is he tangent of the AutoHandle for CP calculated? I only need this in the X-Z plane.
You assistance would be appreciated.