lecture 21: bicubic surfaces
TRANSCRIPT
![Page 1: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/1.jpg)
Lecture 21:Bicubic Surfaces
December 8, 2016
12/8/16 CSU CS410 Fall 2016, © Ross Beveridge & Bruce Draper 1
![Page 2: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/2.jpg)
Parametric Bicubic Surfaces• The goal is to go from curves in space to
curved surfaces in space.
• To do this, we will parameterize a surface in terms of two free parameters, s & t
• We will extend the Bezier curve in detail.
• Other surfaces are similar in concept.12/8/16 © Ross Beveridge & Bruce Draper 2
![Page 3: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/3.jpg)
VisualizingBicubicSurfaces
12/8/16 © Ross Beveridge & Bruce Draper 3
1) Imagine a Bezier curve Gb1(t) in space.
2) Imagine three more Bezier curves, Gb2(t)Gb3(t) and Gb4(t)
3) Let all four curves be parameterized by a single t
4) For t=0, we have four points: Gb1(0), Gb2(0), Gb3(0)and Gb4(0). Use these as the control points foranother Bezier curve.
5) Repeat step #4 for all values of t
![Page 4: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/4.jpg)
Bicubic Surfaces
12/8/16 © Ross Beveridge & Bruce Draper 4
Gb1(t)
Gb2(t)
Gb3(t)
Gb4(t)Q(s,t)
Q(s,t)
Q(s,t)
Q(s,t)
Mapping from (s,t) to (x,y,z)
![Page 5: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/5.jpg)
BasicMath– Version1
12/8/16 © Ross Beveridge & Bruce Draper 5
![Page 6: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/6.jpg)
… and the Geometry
12/8/16 © Ross Beveridge & Bruce Draper Slide 6
Specify four 4x3 geometry matrices, one for per curve.
Here is the first Bezier curve of the four.
![Page 7: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/7.jpg)
Thesurface…
12/8/16 © Ross Beveridge & Bruce Draper 7
Recall we are building three functions of two variables.
Look just at the first – the x coordinate - function …
![Page 8: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/8.jpg)
BasicMath– Version2
12/8/16 © Ross Beveridge & Bruce Draper 8
Specify three 4x4 geometry matrices, one per dimension.
![Page 9: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/9.jpg)
Example Geometry
12/8/16 © Ross Beveridge & Bruce Draper Slide 9
![Page 10: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/10.jpg)
…hereitisinalgebra
12/8/16 © Ross Beveridge & Bruce Draper 10
Note the very simple form of the x and y components.
Can you relate the x and y forms back to the geometry?
What is the height (z) of the surface at Q(0,0)?
![Page 11: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/11.jpg)
12/8/16 © Ross Beveridge & Bruce Draper Slide 11
… and here it is in 3D
![Page 12: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/12.jpg)
AnotherExample
12/8/16 © Ross Beveridge & Bruce Draper 12
![Page 13: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/13.jpg)
12/8/16 © Ross Beveridge & Bruce Draper Slide 13
Andanotherexample
![Page 14: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/14.jpg)
A Brief Comment on NURBS• Naming: Non-Uniform Rational B-Spline
– Non-Uniform -> knot vector.– Rational –> defined with x, y, z, w.
• Points are rational, i.e. px = x / w– B-Spline -> uses B-Spline geometry
• NURBS Surface– Compose curves to generate surface
• Recall Bezier Curve to Bezier Surface approach• The inclusion of w means
– Perspective projection does not distort.
12/8/16 © Ross Beveridge & Bruce Draper 14
![Page 15: Lecture 21: Bicubic Surfaces](https://reader031.vdocuments.net/reader031/viewer/2022013022/61d188aab40aab69e87199e6/html5/thumbnails/15.jpg)
SimpleNURBSIllustration
12/8/16 © Ross Beveridge & Bruce Draper 15
This image from Wikimedia and part of the Wikipedia description of NURBS.