[ptx] Morphing control points

Jim Watters jimwatters at rogers.com
Tue May 18 01:33:03 BST 2004


I have not used morphing feature of PT that much.  I am looking to the
community for some help.

Rik Littlefield has identified a bug in WriteResults (parser.c), that
was causing it to output "C" lines for line controls for horizontal &
verticals.  The calculated position of these points are completely
wrong.  He has proposed to not write out these lines.  I am wondering if
this is the correct thing to do.  It is definitely better than writing
out completely incorrect values.

Should T1, T2, and T+ control points have values calculated for
morphing?  If yes, how should they be calculated?

For T1 points (vertical lines, correcting horizontal change) use the
average x position to make the points vertical.  Only changing the x
value to line the points one over the other.

For T2 points ( horizontal lines, correcting vertical change) use the
average y position to make the points horizontal.  Only changing the y
value to line the points one beside the other.

For T+ points, modify all the middle points of a set of line points.
Use the two furthest points to define the line and modify the points
that are in between.  The middle points need to be moved perpendicular
to the line.

I generally believe in giving the user the power to do what they want.
I just don't want to be calculating values that will mostly be of no use.

-- 

Jim Watters

Graphic Software Developer
http://members.rogers.com/jimwatters




More information about the ptX mailing list