计算机图形学3D图形表示方式.ppt_第1页
计算机图形学3D图形表示方式.ppt_第2页
计算机图形学3D图形表示方式.ppt_第3页
计算机图形学3D图形表示方式.ppt_第4页
计算机图形学3D图形表示方式.ppt_第5页
已阅读5页,还剩27页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

ViewingIn3D,Chapter5,如何在二维平面上显示三维物体表示问题遮挡关系的反映真实感问题,投影,三维形体的表示,消隐,光照与着色,Thebasicquestionsof3Dgraphics,3Dviewingprocess,Conception,Projectionstransformpointsinacoordinatesystemofdimensionnintopointsinacoordinatesystemofdimensionlessthann.,Projection,Definition:Theprojectionofa3Dobjectisdefinedbystraightprojectionrays(calledprojectors)emanatingfromacenterofprojection,passingthrougheachpointoftheobject,andintersectingaprojectionplanetoformtheprojection.,Projections,ProjectionsParameter:projectioncenterprojectionplane,Theclassofprojections,PerspectiveProjectionThedistancebetweenthecenterofprojectionandtheprojectionplaneisfinite.ParallelProjectionThedistancebetweenthecenterofprojectionandtheprojectionplaneisinfinite.,Theclassofprojections,ThesubclassesofPlanarGeometricProjections.,ThreeOrthographicProjections,ThreeOrthographicProjections(三视图),正平行投影(三视图),FrontElevation,TopElevation,SideElevation,PerspectiveProjection,VanishingPoint.Theperspectiveprojectionsofanysetofparallellinesthatarenotparalleltotheprojectionplaneconvergetoavanishingpoint.AxisVanishingPointIfthesetoflinesisparalleltooneoftheprincipalaxes,thevanishingpointiscalledanaxisvanishingpoint.,ThestyleofPerspectiveProjection,Perspectiveprojectionsarecategorizedbytheirnumberofprincipalvanishingpointsandthereforebythenumberofaxestheprojectionplanecuts,One-pointperspectiveprojectionProjection-planecutsonlyoneofthreeaxes.Two-pointperspectiveprojectionProjection-planecutsonlytwoofthreeaxesatthesametime.Three-pointperspectiveprojectionProjection-planecutsallofthreeaxesatthesametime.,ThestyleofPerspectiveProjection,One-pointperspectiveprojection,Two-pointandThree-pointPerspectiveProjection,ThemathematicsofsimplePerspectiveProjection,ParameterEquationofLinePcP:,TheintersectionofthelinePPcwiththeprojectionplaneatz=0isintheXOYplane,One-pointperspectiveprojection,Undertheviewing-referencecoordinateofuvn,Suppose:projectionplanen=0,projectionreferencepoint(0,0,d),pointp(up,vp,np)ofthreedimspace,itsprojectionpointQ,LineParameterEq:,TransformationofOne-pointperspectiveprojection,举例,若假定投影参考点为(0,0,0),即观察坐标系的原点,投影平面为n=d,待投影的三维空间中的点是p(up,vp,np),投影点为Q,则直线方程是:,X,Z,右手用户坐标系,0,通常,在由三维物体转换成二维图形的假想相机模型中,物体首先被变换到在观察坐标系中描述,然后再投影到观察平面上成为二维图形.,观察坐标系中的简单一点透视,Y,在观察坐标系下,仍利用前述的简单一点透视的方法,可求观察坐标系上形体的一点(Xe,Ye,Ze)在视平面上的投影(Xs,Ys):,(Xw,Yw,Zw)是用户坐标系下的点(Xe,Ye,Ze)是观察坐标系下的点(X,Y,Z)是投影点,观察坐标系中的简单一点透视,在观察坐标系中,视点为原点,(Xc,Yc,Zc)为(0,0,0),用户坐标系下的点(Xw,Yw,Zw)为(Xe,Ye,Ze),则有:,观察坐标系中的简单一点透视,如何完成从世界坐标系到观察坐标系的变换?,观察变换,完成工作:在世界坐标系下定义出观察坐标系,并推导世界坐标系到观察坐标系的变换矩阵。实现步骤:定义观察坐标系世界坐标系变换到观察坐标系,观察坐标系的定义,VUP:观察正向,观察坐标系是依赖于投影平面(照相机的底片)建立的。,观察坐标系的定义,坐标原点:用户指定的观察点作为观察坐标系原点,记为,Z坐标轴用户指定观察平面法向VPN作为Z轴正向,记为:,通常可令,观察坐标系的定义,观察坐标系的定义:选择向上观察

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论