CS 284: CAGD
Lecture #6 -- Mo 9/15, 2003.
PREVIOUS
< - - - - > CS
284 HOME < - - - - > CURRENT
< - - - - > NEXT
Preparation:
READ: "Fair,
G2- and C2-Continuous Circle Splines," by
C. H. Séquin, Kiha Lee, and Jane Yen, to be submitted to CAD.
Constructive criticism (specifically about understandability) is most
welcome!
Main Lecture Topic
More on how to make interesting, complex, smooth curves that interpolate
given points.
An interpolation task (see B+B+B, Chapter 3): Comparison of various approaches:
Some Comments on Bezier-stitching Homework
-
Not as easy as it first seems -- everybod showed good effort, -- not everybody
succeeded completely.
-
First crucial step is to get the tangent direction right.
-
Line parallel to P0 - P2 does not lead to great solutions,
but it can maintain affine invariance.
-
Using a tangent perpendicular to the angle-bisector in the control polygon,
gives better results.
-
For even better results, some more weight should be given to the shorter
segment to define tangent direction;
it is an open-ended question how this should be done for best results
...
(perhaps divide the turning angle between the control polygon segments
proportional to the ratio of the segment lengths).
-
For G1-continuity the Bezier control points adjacent to the
joint need to lie both on this tangent line.
-
They can be at un-equal distances; C1-continuity does NOT lead
to better looking shapes, it just adds one more constraint!
-
The distances should be scaled (somewhat) with the length of the underlying
control segment.
-
The construction should be structurally symmetrical, i.e., use essentially
the same formula for both inner control points.
Compare your solution with various other approaches:
Bottom Line: Polynomials are not the only possible primitives!
Minimum-Variation Curves
-
Choose any suitable representation
-
Minimize the arc-length integral over square of derivative of curvature,
by using the un-constraint DoF.
-
One possible approach uses quintic Hermite splines [Moreton
and Sequin],
and a good heuristic to set the initial tangent directions (1st derivatives)
and curvatures (2nd derivatives) at the interpolation points.
Circle Splines
Current Homework Assignment: (to be done individually)
Smooth Sweeps along Complex 3D Curves
For
details see the instructional page.
New DUE DATE: Friday 9/19/03, noon.
On line:
Set the initial values for the sliders to the proper values,
so that when we execute your program,
we will see a nice "prismatic" sweep of a 3-pointed star along
your best composite Bezier curve.
(You may want to change some of the parameters from the values
that you gave them in pa1.)
Capture a hardcopy print-out of this sweep.
Put your SLIDE file in the proper place {see instructional
page} (same as with your last assignment);
and also mail a copy of your final modified pa2.slf file
to jordans@cs.berkeley.edu
Hand in at the beginning of class:
A hardcopy print-out of your sweep;
and a page or two of text, answering the questions raised
above.
Reading Assignment:
Handout: Ch5, Mortenson.
Rockwood pp. 76-92: Blossoms;
PREVIOUS
< - - - - > CS
284 HOME < - - - - > CURRENT
< - - - - > NEXT
Page Editor: Carlo H. Séquin