[Bf-committers] lattice spline interpolation
dlr13 at mac.com
dlr13 at mac.com
Mon Feb 11 23:26:15 CET 2013
Pardon me if this is the wrong list to send this to. If so, I would appreciate someone pointing me in the right direction. Thanks!
The Cardinal spline interpolation for lattices befuddles me. The tension-like variable (fc in the code) is set to 0.71, which I'm guessing is approximately 1/sqrt(2). However, this gives very ugly and wavy results on long straight objects like an airplane wing. In fact, the slopes at the knots is just plain wrong. However, when fc = 0.5, I get very nice cubic-spline-like behavior except at the end points where the code logic just seems to be wrong. Nevertheless, the waviness at the knots is disconcerting in the current distribution of Blender. The plots below show what I mean.
Thoughts? Any chance that fc (tension?) variable can be a parameter the user could control?
_____
David
More information about the Bf-committers
mailing list