I am working on a spinbetween tool where the spin starts as one shape and ends as another. I’m having some trouble pinning down a good interpolation algorithm. The best results are with “linear” and “square” interpolation but neither gives the results I’m looking for. I’ve added a tweak to the interpolation which has yielded better results but still not there.
Here are some pictures to clarify where I am on this…
Here you see the starting spline highlighted (green line is the axis of spin)
Here you see the ending spline highlighted (green line is the axis of spin)
And here is a matrix of results.
#3 is the closest I’ve achieved but if the object was mirrored along the Y axis the result looks the the bow of a boat rather than having a smooth curve around.
#4 has the curve I’m looking for at the top left but the bottom right is no good.
Ideally some combination of (the bottom of) #3 and (the top of) #4 would work but I don’t really trust the tweak I added (basically the tweak is an adjustment using the ratio between the current step number and the number of steps).
So for anyone still reading this, the question is: do you know of an interpolation scheme that would yield smooth results so that the object can be mirrored along either axis and not have the pointed “ship bow” look?