已阅读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年四川省成都市中考语文试卷
- 202建筑工地临时抽水设备租赁合同样本三篇
- 果洛海东中学南侧室外附属配套工程水土保持方案报告表
- 安溪领秀天地产业园C7#、C8#、C9#楼水土保持方案报告表
- 200米短跑专门练习之直道途中跑技术 教学设计-2023-2024学年高一上学期体育与健康人教版必修第一册
- 产100万套各类家具垫及年产1000万包各类家居用纸制造项目可行性研究报告模板-立项备案
- 2.1乡村和城镇空间结构教学设计2023-2024学年人教版(2019)高中地理必修二
- 2.2 2、5的倍数(教案)五年级下册数学人教版
- 2020学年八年级语文下册 第一单元 4 灯笼教案 新人教版
- 2025-2026学年背影课件和教案
- 2026年德州乐陵市公开招聘城市社区专职工作者(24人)笔试模拟试题及答案详解
- 2026年金华永康市建设工程检测有限公司公开招聘合同制员工6人笔试备考试题及答案详解
- 储备粮仓库场区道路方案
- 2026年八年级下期地理生物中考会考重要知识点
- 油麦菜生产技术规程
- 中国传统民居建筑.课件
- GB/T 15000.8-2023标准样品工作导则第8部分:标准样品的使用
- 公司法人治理主体“1+3”权责表(2022版)
- 2023年电机拖动极其控制(运动控制)期末考试题库
- 光伏发电项目施工方案及技术措施
- 部编版五年级语文下册 非连续性文本阅读
评论
0/150
提交评论