




已阅读5页,还剩10页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Curves and Surfaces (I),Based on EA, Chapter 10.,姜明 北京大学数学科学学院,更新时间2019年7月21日星期日11时24分8秒,Introduction,In computer graphics, flat objects are popular in this virtual world Graphic systems can render them at high rates. We need methods to model curved objects.,Outline,Representation of Curves and Surfaces Design Criteria Parametric Cubic Polynomial Curves Cubic Interpolating Polynomial,Representation of Curves and Surfaces,Three major ways of object representation Explicit Representation Implicit Representations Parametric Form Polynomial Representations Parametric Polynomial Curves Parametric Polynomial Surfaces,Explicit Representation,No guarantee that this representation exists for a given curve/surface z=f(x,y) cannot represent a (full) sphere. Some curves and surfaces may not have an explicit representation. Coordinate-system-dependent effect. Easy to obtain points on them.,Implicit Representations,f(x,y,z) = 0 in 3D or f(x,y) = 0 in 2D. Less coordinate-system-dependent: it does represent all lines/circles. Allow to determine whether points lie on the curve/surface. Difficult to find points on the curve/surface. Curves in 3D are not easily represented in implicit form because it takes two equations to represent a curve in 3D f(x,y,z) = 0 and g (x,y,z) = 0 “In general, most of the curves and surfaces that arise in real applications have implicit representations. Their use is limited by the difficult in obtaining points on them.” EA, p. 600 Algebraic surfaces: f(x,y,z) is a polynomial. Of particular importance are the quadric surfaces.,Parametric Form,Same form in 2D and 3D. Most flexible and robust for computer graphics than the others. Still coordinate-system-dependent. Coordinate-system-independent representations are possible Using Frenet frame for curves. Difficult to determine if a point is on the curve/surface.,Parametric Polynomial Curves/Surfaces,Parametric representations are not unique. Parametric polynomial forms are of most use in computer graphics.,Surface Patch,Curve Segment,Design Criteria,Local control of shape: A single global description is generally out of the question and too complex. We would like/have to work interactively with the shape, carefully molding it meet specifications Smoothness and continuity at joint points A curve with discontinuity is of little interest to us. Not only will each segment have to be smooth, but also we want a degree of smoothness where the segments meet at joint point. Smoothness is measured with derivatives along the curves/surfaces. Ability to evaluate derivatives is needed to evaluate smoothness and normals. Stability It is necessary to bend curves/surfaces to the desired shape through local control points. When we make a change, this change will only affect the shape in only the area where we are working. We are usually satisfied if the curve/surface passes close to the control points, Ease of Rendering Good math representations may be of limited value if they cannot be efficiently rendered.,Splines,Splines are types of curves, originally developed for ship-building in the days before computer modeling. Naval architects needed a way to draw a smooth curve through a set of points. The solution was to place metal weights (called knots) at the control points, and bend a thin metal or wooden beam (called a spline) through the weights. The physics of the bending spline meant that the influence of each weight was greatest at the point of contact, and decreased smoothly further along the spline. To get more control over a certain region of the spline, the draftsman simply added more weights. This scheme had obvious problems with data exchange! People needed a mathematical way to describe the shape of the curve. Cubic Polynomials Splines are the mathematical equivalent of the draftsmans wooden beam. Polynomials were extended to B-splines (for Basis splines), which are sums of lower-level polynomial splines. Then B-splines were extended to create a mathematical representation called NURBS. Read History of Splines,Edited from /eng/support/studiotools/documentation/Using/About4.html,Parametric Cubic Polynomial Curves,We must choose the degree of polynomials. If we choose higher degree We will have more parameters that we can set to from the desired shape Cubic is enough. The evaluation of points will be costly. There is more danger that the curve will become rougher at some points. If we pick too low a degree, we may not have enough parameters to work and to make them to join smoothly. If we design each curve segment over a short interval, we can achieve many of our purposes with low-degree curves. Cubic polynomials are chosen, at least initially.,c is to be determined from the control-point data. Types of cubic curves differ in how they use the control-point data. The data may be Interpolating: the polynomial must pass some points. Higher order interpolating at certain parameter values. Smoothness conditions at join points. Approximative: the curve pass close to some data points.,Cubic Interpolating Polynomial,Suppose that we have four control points in 3D. We seek the coefficients c such that the polynomial p(u) = uTc passes through the four points. We assume the interval is 0, 1, the curve passes four points at u = 0, 1/3, 2/3, and 1.,Joining of interpolating segments.,Because of the lack of derivative continuity at joint points, the interpolating polynomial is of limited use in computer graphics.,Blending Functions,Cubic Interpola
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 小学四年级第一学期学生评估计划
- 航空公司的部门职责及运营效率
- 商业设施空调安装调试计划
- 小学数学教研计划与信息技术融合探究
- 高中数学期末复习计划与方法
- 特殊教育学校疫情应对开学计划
- 购物决策模型构建-全面剖析
- 城市卫生院双向转诊服务流程探讨
- 基于图形的恶意软件检测方法-全面剖析
- 2025高一年级组教学创新计划
- 移动餐车租赁合同
- 人教版七年级数学下册《二元一次方程组》优质课说课课件
- 食用菌资源的开发及利用
- 幼儿园绘本故事:《再见电视机》 课件
- 光伏发电工程施工组织设计新编样本
- 三.国际法习题之经典案例分析
- 中国传媒大学-舆论学原理、方法与应用-课件-第一章 舆论传播的源与流
- 水下混凝土浇筑导管水密试验
- 市政工程监理规划范本(完整版)
- 污水处理站运行维护管理方案
- 小学生气象科普知识ppt课件
评论
0/150
提交评论