1 / 16

Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition

Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition. Chapter 15. Figure 15.1: A curve approximating five control points. Figure 15.2: (a) Bezier curve of degree 1 (b) Bernstein polynomials of degree 1: B 0 , 1 (u) = 1 - u, B 1, 1 (u) = u.

frea
Download Presentation

Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 15

  2. Figure 15.1: A curve approximating five control points.

  3. Figure 15.2: (a) Bezier curve of degree 1 (b) Bernstein polynomials of degree 1: B0,1(u) = 1 - u, B1,1(u) = u.

  4. Figure 15.3: (a) An “unhappy” way of approximating three control points (b) c(u) describes a Bezier curve of degree 2 interpolating P0, P1 and P2 after a “triple” interpolation (c) Bernstein polynomials of degree 2: B0,2(u) = (1 - u)2, B1,2(u) = 2(1 - u)u, B2,2(u) = u2.

  5. Figure 15.4: Screenshot of deCasteljau3.cpp.

  6. Figure 15.5: Screenshot of bezierCurves.cpp with three control points, showing both the Bezier curve and its control polygon.

  7. Figure 15.6: (a) Bezier curve of degree 3 (b) Bernstein polynomials of degree 3: B0,3(u) = (1 - u)3, B1,3(u) = 3(1 - u)2u, B2,3(u) = 3(1 - u)u2, B3,3(u) = u3.

  8. Figure 15.7: Recursive de Casteljau scheme: c0(u) approximates P0, P1, …, Pn-1; c1(u) approximates P1, P2, …, Pn; c(u) interpolates between c0(u) and c1(u) to approximate P0, P, …, Pn.

  9. Figure 15.8: (a) A 10-segment fairly smooth-looking polyline l approximation (drawn at an offset) of the Bezier curve c with control points P0, P1, P2 and P3 (b) The magnification g(l) (also at an offset) is not a good approximation of g(c).

  10. Figure 15.9: Two cubic Bezier curves (one blue, other black) meet smoothly at an endpoint.

  11. Figure 15.10: Screenshot of bezierCurveTangent.- cpp.

  12. Figure 15.11: A piecewise Bezier curve consisting of three Bezier arcs.

  13. Figure 15.12: Constructing the Bezier surface approximating a 4 x 4 array of control points by sweeping a Bezier curve of order 4.

  14. Figure 15.13: The Bezier surface approximating a 4 x 4 array of control points and its control polyhedron (dashed).

  15. Figure 15.14: Screen- shot of sweepBezier- Surface.cpp.

  16. Figure 15.15: Screenshot of bezierSurace.cpp.

More Related