nemyax Posted September 20, 2016 Share Posted September 20, 2016 For a 2D animation spline, A:M stores the bias as gamma and magnitude. What are those values and how do I convert them to a 2D vector? Apparently the gamma is the value of a trigonometric function, but which one? Quote Link to comment Share on other sites More sharing options...
Admin Rodney Posted September 20, 2016 Admin Share Posted September 20, 2016 I'll take a stab... I'm not sure how to convert them to a 2D vector but the the alpha and gamma settings indicate the degree of the axis for a spline passing through a control point. Gamma states one axis and alpha states the other. If we view the values of bias as residing on a plane we should be able to determine the first (alpha) in terms of depth.and the second (gamma) in terms of breadth. The issue with converting both into a 2D vector would be that they aren't both in the same 2D plane but are perpendicular to each other. Convert the degrees into vectors (but keep the two separate) and then you have your 2D vectors. I'll stop there before I hurt myself. Edit: In re-reading your post it appears you might be talking about the splines found in the channels of the Timeline. If that is case then we'd have all our values confined within a 2D plane. Quote Link to comment Share on other sites More sharing options...
nemyax Posted September 20, 2016 Author Share Posted September 20, 2016 the alpha and gamma settings indicate the degree of the axis for a spline passing through a control point What's a "degree of the axis"? Quote Link to comment Share on other sites More sharing options...
Fuchur Posted September 20, 2016 Share Posted September 20, 2016 I'd say it is the delta to the "normal" tangent of the curve at that point, but someone else with more math skills than mine needs to shine in to confirm that... Quote Link to comment Share on other sites More sharing options...
nemyax Posted September 21, 2016 Author Share Posted September 21, 2016 I think I've got it. In gamma is the angle between in_handle_vector and (prev_cp_vector - cp_vector). Out gamma is the angle between out_handle_vector and (next_cp_vector - cp_vector). Magnitude is tied to the distance between neighbouring CPs, and 300 (3.0) is the full distance for some reason. Quote Link to comment Share on other sites More sharing options...
Admin Rodney Posted September 21, 2016 Admin Share Posted September 21, 2016 and 300 (3.0) is the full distance for some reason. I wonder if this relates to your previous observation about FPS always being calculated in decimal increments of 30... even when set to other FPS rates. Quote Link to comment Share on other sites More sharing options...
nemyax Posted September 21, 2016 Author Share Posted September 21, 2016 Isn't A:M's default bias handle length one-third of the CP-to-CP distance? Quote Link to comment Share on other sites More sharing options...
Hash Fellow robcat2075 Posted September 23, 2016 Hash Fellow Share Posted September 23, 2016 Isn't A:M's default bias handle length one-third of the CP-to-CP distance? It looks that way on straight lines but maybe not on curves? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.