DOC PREVIEW
UVA CS 445 - Parametric Curves & Surfaces

This preview shows page 1-2-3-4-31-32-33-34-35-63-64-65-66 out of 66 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 66 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Parametric Curves & SurfacesOutlineOverviewCurvesMany applications in graphicsGoalsParametric curvesParametric polynomial curvesPiecewise parametric polynomialsCredit where credit is dueSlide 11Bézier curvesSlide 13Representing curvesParametric-nessBezier curve formulaHow much to weight each pointWeighting of the pointsAdditional notationAn aside: continuityJoining Bezier segmentsWe could have used fewer pointsFont issuesSlide 24Bezier curves vs. B-splinesHow B-splines work(uniform) B-splinesB-spline formulationSlide 29Uniform B-splinesParameter range of curveB-spline weightsSlide 33Repeated control pointsRepeated end control pointsSlide 36Non-uniform B-splinesSlide 38Uniform vs. non-uniformB-splines and Bezier curvesKnot multiplicitySlide 42Slide 43Slide 44Slide 45Slide 46Rational curvesSlide 48Dimensional projection3-D -> 2-D version of rational curves4-D -> 3-D version of rational curvesWhy use rational curves?Slide 53NURBSMore NURBS propertiesSlide 56Bezier PatchesManipulating Bezier PatchesConnecting Bezier patchesProblems connecting Bezier patchesBezier TeapotSlide 62Slide 63B-spline PatchesReplicating control pointsA few closing thoughts…ParametricCurves & SurfacesAaron BloomfieldCS 445: Introduction to GraphicsFall 200622OutlineOutline•IntroductionIntroduction•Bezier CurvesBezier Curves•B-SplinesB-Splines–Uniform B-SplinesUniform B-Splines–Non-uniform B-SplinesNon-uniform B-Splines•Rational CurvesRational Curves–Rational Bezier CurvesRational Bezier Curves•NURBSNURBS•Bezier PatchesBezier Patches•B-spline PatchesB-spline Patches3Overview Today: CurvesNext Time: SurfacesPrzemyslaw Prusinkiewicz4CurvesSplines: mathematical way to express curvesMotivated by “loftsman’s spline”Long, narrow strip of wood/plasticUsed to fit curves through specified data pointsShaped by lead weights called “ducks”Gives curves that are “smooth” or “fair”Have been used to design:AutomobilesShip hullsAircraft fuselage/wing5Many applications in graphicsFonts ABCAnimation pathsShape modelingetc…Animation(Angel, Plate 1)Shell(Douglas Turnbull)6GoalsSome attributes we might like to have:Predictable controlLocal controlVersatilityContinuityWe’ll satisfy these goals using:PiecewiseParametricPolynomials7Parametric curvesA parametric curve in the plane is expressed as:x = x(u)y = y(u)Example: a circle with radius r centered at origin:x = r cos uy = r sin uIn contrast, an implicit representation is:x2 + y2 = r28Parametric polynomial curvesA parametric polynomial curve is:Advantages of polynomial curvesEasy to computeEasy differentiationniiiuaux0)(niiiubuy0)(9Piecewise parametric polynomialsUse different polynomial functionson different parts of the curveProvides flexibilityHow do you guarantee continuity/smoothness at join points (called knots)? In the rest of this lecture, we’ll look at:Bézier curves: general class of polynomial curvesSplines: ways of putting these curves together10Credit where credit is dueAll the scanned images in this presentation are from Alan Watt’s 3D Computer Graphics book, 3rd edition (2000).1111OutlineOutline•IntroductionIntroduction•Bezier CurvesBezier Curves•B-SplinesB-Splines–Uniform B-SplinesUniform B-Splines–Non-uniform B-SplinesNon-uniform B-Splines•Rational CurvesRational Curves–Rational Bezier CurvesRational Bezier Curves•NURBSNURBS•Bezier PatchesBezier Patches•B-spline PatchesB-spline Patches12Developed independently in the 1960s byBézier (at Renault) deCasteljau (at Citroen)Bezier developed them to help design automobilesBézier curves13Consider the curve defined by the four points P0, P1, P2, and P3:The curve starts out at P0And starts out tangent to the line between P0 and P1It moves in the direction of P1Then in the direction of P2And ends at P3 (and tangent to the line between P2 and P3)Show Blender demo…Bézier curvesP0P1P2P314Representing curvesWe will see a way to represent such curvesThey cannot be a regular function:not a function!15Parametric-nessu is defined to range from 0 to 1 across the Bezier curveP0P1P2P3u=0u=1u=0.516Bezier curve formulaWe’ll weight the points of the control polygon to generate the curve Where Bi(u) is the weighting for that pointAlternatively, P0P1P2P3)()()()()(33221100uBPuBPuBPuBPuQ 30)()(iiiuBPuQu=0u=117How much to weight each pointBecause there are four points, our weights will have to be cubicAt P0, the curve is also at P0, so the weight will have to be (1-u)3At P1, the curve is also at P1, so the weight will have to be u3This leads to the Bernstein polynomials as our weights:33222130)()1(3)()1(3)()1()(uuBuuuBuuuBuuBP0P1P2P318Weighting of the points19Additional notationOur equation:When expanded, becomes:Can be represented in matrix form as… which equals: 30)()(iiiuBPuQ33222130)1(3)1(3)1()( uPuuPuuPuPuQ PUBuQz)( 32102300010033036313311)(PPPPuuuuQ20An aside: continuityNo continuity: the two segments are not in contactC0 continuity: they meet at the same pointC1 continuity: the first derivatives meet at the same pointThis means that the tangents at the join point are the sameC2 continuity: the second derivatives meet at the same pointEtc.21Joining Bezier segmentsWe want C1 continuity (at least!)To preserve C0 continuity, S3 must equal R0To preserve C1 continuity, S2, S3/R0, and R1 must be co-linearThis places additional constraints on multi-segmented Bezier curves22We could have used fewer pointsUsed two points:Linear interpolation, which results in a lineUsed three points:Quadratic (i.e. x2) interpolation, which results in curves that aren’t as flexible as desiredUsed five or more pointsResults in many mathematical complications23Font issuesTrue type fonts (and now OpenFont fonts)Use quadratic Bezier curvesThus, have problems representing smooth curvesPostScript fontsUse cubic Bezier curvesThis is what printers useMicrosoft made quadratic fonts that match PostScript’s cubic fontsArial for Helvetica, Times New Roman for Times Roman, etc.Linux uses fonts with


View Full Document

UVA CS 445 - Parametric Curves & Surfaces

Documents in this Course
Lighting

Lighting

49 pages

Color

Color

20 pages

Clipping

Clipping

10 pages

Shadows

Shadows

95 pages

Color

Color

37 pages

Radiosity

Radiosity

49 pages

Clipping

Clipping

59 pages

Assign 3

Assign 3

28 pages

Splines

Splines

17 pages

Color

Color

17 pages

Load more
Download Parametric Curves & Surfaces
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Parametric Curves & Surfaces and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Parametric Curves & Surfaces 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?