The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.graphics.algorithms
From: "Dave Eberly" <dNOSPAMebe...@usemydomain.com>
Date: Thu, 17 May 2007 22:23:09 -0700
Local: Fri, May 18 2007 1:23 am
Subject: Re: Divide Cubic Bezier into equal length segments
news:1179435090.993682.302800@p77g2000hsh.googlegroups.com...
> Hi, Look at > I have to animate an object along a bezier curve. > So, if I want to create 100 frames, I have to split the curve in 100 > equal length segments. > As you know the t parameter is not linear, so if I pass t = 0.5 I get > a point which is not at half-a-distance from the first point of the > curve, and this is wrong to me. So, how should I divide the curve in x > segments with equal length? I have checked this group but it's not yet > clear to me how to do. Any help? Any function returning xyz coords by > passing a linear t parameter (based on the whole length of the curve) > would be greatly welcome. Thank you. http://www.geometrictools.com/Documentation/MovingAlongCurveSpecified... My Curve2 and Curve3 classes have an implementation of the ideas in this document. You choose the arclength s of interest, and then compute the corresponding curve parameter t that gets you to that arclength. -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||