已阅读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四川雅安雨城区定向招聘社区工作者38人备考题库附答案
- 塑料真空成型工8S考核试卷含答案
- 飞机任务系统装调工创新思维竞赛考核试卷含答案
- 电子电气产品能效检验员成果考核试卷含答案
- 电鸣乐器接装工操作技能考核试卷含答案
- 照相机及器材制造工创新意识考核试卷含答案
- 2024年湖南石油化工职业技术学院辅导员招聘考试真题汇编附答案
- 2024年滇西科技师范学院辅导员考试笔试题库附答案
- 能源行业人力资源开发新策略
- 工作照片拍摄培训课件
- 2025年海南三亚市吉阳区教育系统公开招聘编制教师122人(第1号)笔试历年典型考题(历年真题考点)解题思路附带答案详解
- 2026年孝昌县供水有限公司公开招聘正式员工备考题库参考答案详解
- 托管学校合作合同协议
- 产品销售团队外包协议书
- 2025年医保局支部书记述职报告
- 汽车充电站安全知识培训课件
- 世说新语课件
- 全体教师大会上副校长讲话:点醒了全校200多名教师!毁掉教学质量的不是学生是这7个环节
- 民航招飞pat测试题目及答案
评论
0/150
提交评论