Bezier interpolation
Hi all.
I''m developing an 3D Studio MAX export to get the animation keys for use in my 3D Engine. The problem is that I don''t know how to use the Bezier Position Keys. This keys are defined by: InitialPosition(Vector3D) FinalPosition(Vector3D) InTangent(Vector3D) OutTan(Vector3D). Now I only make a simple linear interpolation between the Initial and final position. How I can use the InTan and OutTan parameters?. I read some examples about bezier interpolation but this use 2 points (Initial, End) and other 2 control point. How I can convert this tangents to controls points?.
Thank to all.
Sounds like you''re not dealing with proper Beziers. The two point/tangent description is usually for Hermite curves.
Here''s a decent reference on Hermite curves: http://www.cubic.org/~submissive/sourcerer/hermite.htm
Here''s a decent reference on Hermite curves: http://www.cubic.org/~submissive/sourcerer/hermite.htm
you might still be dealing with cubic bezier curves though - if you KNOW that it is bezier curves you can check out the article on bezier patches here at gamedev, it explaines pretty well how to interpolate through a cubic bezier (or any order curve).
There is also a good section in the book "computer graphics - principles and practice" (I think that is the correct name), it has a chapter about curves, both bezier and hermite.
There is also a good section in the book "computer graphics - principles and practice" (I think that is the correct name), it has a chapter about curves, both bezier and hermite.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~I'm looking for work
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement