- 1、本文档共42页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Lecture09-3DTransforms 计算机图形学ppt课件
Specific Example: rotate object about the line passing through (1, 3, 2) and (2, 4, 3) by the angle of q Note: Length does not change with R or T Rotation About Arbitrary Axis: example x y z l p1 = (1, 3, 2) p2 = (2, 4, 3) Step 1: Translate point to origin Rotation example (step 1) x y z l p1 = (1, 3, 2) p2 = (2, 4, 3) x y z l p1’ = (0, 0, 0) p2’ = (1, 1, 1) Step 2: Rotate to get line in coordinate plane Rotate a about y to get p2’ into xy plane Rotation example (step 2a) x y z l p1’ = (0, 0, 0) p2’ = (1, 1, 1) x y z l p1’’ = (0, 0, 0) p2’’ = (?,?,?) a What is a? Looking down the y axis: Rotation example (step 2b) x z p1’ = (0, 0, 0) p2’ = (1, 1, 1) a So: What is p2’’? If we apply the rotation matrix to p2’, we get p2’’ Rotation example (step 2c) Giving: Rotation example (step 2d) x y z l Next, rotate about the z axis by b to put p2 on the y axis What angle is b? Rotation example (step 3a) x y z l x y z l b Looking down the z axis: Rotation example (step 3b) x y p1’ = (0, 0, 0) b So: What is p2’’’? If we apply the rotation matrix to p2’’, we get p2’’’ Rotation example (step 3c) Giving: Rotation example (step 3d) x y z l Step 4: Perform the desired rotation about the y axis This is the rotation we originally desired to perform Step 5: Rotate about the z axis an angle of -b This will undo the z rotation performed earlier Step 6: Rotate about the y axis an angle of -a This will undo the y rotation performed earlier Step 7: Translate by -T This will move the object back to it’s appropriate location Rotation example (steps 4-7) Rotation Example (final) The final transformation matrix is: CS 455 – Computer Graphics Three-Dimensional Transformations 3D Space We want to extend the idea of transformations to deal with 3D objects More complex than 2D, but essentially the same ideas work Coordinate systems: We will use a right-handed system Right-handed x y z Left-handed x y z General 3-D Transformations A general 3-D transformation has the form:
您可能关注的文档
- genetive 德语初级适用 教学课件.ppt
- GetFLV+Pro+图文教程.doc
- GISPortal_2009 WebGIS课件.pdf
- GIMPS - 寻找梅森素数 Prime95(23.7版)安装使用说明.doc
- GIS在土地利用规划中的应用--土地利用规划方法与实施——课件.ppt
- GMM估计中文讲义 广义矩估计.doc
- GMM估计讲义 广义矩估计.doc
- GMP模块说明书.doc
- Geoffrey_Chaucer 英国文学史及选读课件.pdf
- godaddy ssl 12.99美元 购买 续费优 惠码 优惠链 教程.doc
- DB14∕T 143-2019 苹果褐斑病测报调查规范.docx
- DB14∕T 1417-2017 人工生态公益林经营技术规范.docx
- DB14∕T 1469-2017 胡麻垄膜集雨沟播栽培技术规程.docx
- DB14∕T 1457-2017 带柄玻璃杯标准规范.docx
- DB14∕T 1394-2017 北柴胡良种繁育技术规程.docx
- DB14∕T 1352-2017 晋北区旱地黍子栽培技术规程.docx
- DB14∕T 560-2010 人工影响天气火箭作业系统年检技术规范.docx
- DB14∕T 1510-2017 玉米镰孢穗腐病抗性鉴定牙签接种技术规程.docx
- DB14∕T 166.2-2007 太原绿色转型标准体系 第2部分:框架.docx
- DB14∕T 703-2012 气象灾害等级划分.docx
文档评论(0)