已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- (2026年)公务员考试公共基础知识考前预测试卷
- 金融产品营销指标评估表
- 文化创意公司设计总监绩效考评表
- 风电场运维人员叶片检查标准流程
- 家电零售门店店长与导购员团队组长绩效指标表
- 关于年终奖金分配的讨论函5篇
- 2026年合肥丰乐种业股份有限公司人员招聘考试备考试题及答案
- 2026重庆祥龙天然气有限公司招聘6人笔试模拟试题及答案解析
- 2026清远市清城区横荷街道办事处公开招聘村(居)委会工作人员3人考试备考题库及答案解析
- IT技术支持与服务平台工程师绩效考评表
- 2026年广西北部湾国际港务集团有限公司人员招聘考试题库及详细答案解析
- 2026年济南市烟草专卖局人员招聘考试备考题库及答案详解
- 中国心肺复苏指南(2026年更新版)
- 屋面防水翻新工程质量评估报告
- 2026秋新人美版四年级美术上册教学课件:第二单元第1课 重重叠叠的枝叶 有多个微课视频
- 2026年河南豫地科技集团招聘试题及答案
- 2026年武汉大学辅导员招聘笔试试题(附答案)
- 2026-2027学年人教版九年级上学期数学第一次月考模拟考试培优卷(含答案)
- T-SDPEA 0046-2025 燃煤发电机组延寿改造项目可行性研究报告编制导则
- 七台河医疗废物集中处置中心项目环境影响报告书
- 区域性职工代表大会资料1(常用版)
评论
0/150
提交评论