[Bf-committers] BezTriple and data format
theeth at yahoo.com
Wed Jan 11 19:17:11 CET 2006
--- Roland Hess <rolandh at reed-witting.com> wrote:
> I've been searching through both the sources and the
> documentation for a straightforward explanation of
> what data
> representing coordinates go where in the vec
> portion of the
> BezTriple struct.
> In particular, I'm trying to find out how exactly
> data from IpoCurve
> points fill the array and how data from a 3D bezier
> curve fill it. It
> could of course be worked out by gross trial and
> error, but I'm
> hoping that someone simply knows it already. If so,
> and you can post
> it here, I'll happily include the info in the wiki
> somewhere (or even
> in a comment in the struct definition) so people
> using the struct in
> the future can have something to refer to.
> My guess is that it'll be something like:
> vec=x location of handle 1
> vec=y location of handle 1
> vec=z location of handle 1
> vec=x location of control point
> vec=y location of control point
> vec=z location of control point
> vec=x location of handle 2
> vec=y location of handle 2
> vec=z location of handle 2
> With the vec section essentially omitted in the
> case of IpoCurve points.
> So, anyone know for sure?
I'd say you're right, but if you want to be 100% sure,
you can look at the curve conversion function in
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Bf-committers