《计算机图形学教学资料》.ppt
《《计算机图形学教学资料》.ppt》由会员分享,可在线阅读,更多相关《《计算机图形学教学资料》.ppt(53页珍藏版)》请在三一办公上搜索。
1、4.2 3D transformations,Translate(平移)transformationsScale(缩放)transformationsShear(错切)transformations Rotate(旋转)transformationsReflect(反射)transformationsComposition(复合)of 3D transformations,与二维平移变换类似地使用齐次坐标表示为:,记为:,其中,Translate transformation,记为:,Scale transformation,About origin,Cont.,About arbitrary
2、 point,The arbitrary reference point is:,Cont.,About arbitrary point,The arbitrary reference point is:,Cont.,则变换矩阵为:,Shear transformations,Dependence axis(依赖轴):corresponding coordinate is remained Direction axis(方向轴):corresponding coordinate is changed linearly Representations:,变换的一般表达式是:,Shear tran
3、sformations,Parameters:rotate axis,rotate angle二维旋转变换是三维空间中绕Z轴的旋转,记为:,Rotate transformation,Rotate about X axis,Equally with changing the coordinate system x,y,z to the coordinate system y,z,x.,Rotate about Y axis,Changing system x,y,z to system z,x,y,?:about arbitrary line,是关于某直线或平面进行的关于某个轴进行的反射变换等
4、同于关于该轴做180度的旋转变换For instance:about Z axis,Reflect transformation(反射变换),?:about arbitrary symmetry axis,Cont.,当反射平面是坐标平面时,等同于进行左、右手坐标系的互换,相应变换矩阵是把第三维坐标值取反For instance:about XOY plane,?About arbitrary symmetry plane,For instance:rotating about arbitrary line Overlapping arbitrary line with Z axisResol
5、ving a series of problems Reflect about an arbitrary symmetry lineReflect about an arbitrary symmetry plane,Composition transformations,旋转轴不与坐标轴重合时变换的实现:经复合变换使旋转轴与某坐标轴重合绕指定轴进行旋转变换还原坐标系,Rotate about arbitrary line,(1)translate P1 to overlap origin,不妨设P1P2为方向单位矢量,P2点坐标为(a,b,c),Cont.,P1,P2,Cont.,Cont.,
6、(2)rotate about X axis to put the line on XOZ,X,Y,Z,Cont.,(2)rotate about X axis to put the line on XOZ,X,Y,Z,Cont.,(2)rotate about X axis to put the line on XOZ,X,Y,Z,Cont.,(2)rotate about X axis to put the line on XOZ,X,Y,Z,Cont.,(2)rotate about X axis to put the line on XOZ,X,Y,Z,Cont.,(2)rotate
7、about X axis to put the line on XOZ,X,Y,Z,Cont.,(2)rotate about X axis to put the line on XOZ,X,Y,Z,Cont.,(2)rotate about X axis to put the line on XOZ,Then P2 is(a,0,d),Transformation matrix(变换矩阵),Cont.,(3)Rotate about Y axis to overlap the line with Z axis,X,Y,Z,Cont.,X,Y,Z,(4)Rotate about Z axis
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机图形学教学资料 计算机 图形学 教学 资料
![提示](https://www.31ppt.com/images/bang_tan.gif)
链接地址:https://www.31ppt.com/p-5904098.html