- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Tutorial05
Tutorial 5: 3D TransformationSummaryIn the previous tutorial, we rendered a cube from model space to the screen. In this tutorial, we will extend the concept of transformations and demonstrate simple animation that can be achieved with these transformations.在以前的tutorial,我们render一个方盒子从模块空间到屏幕。在这个tutorial,我们扩展变换的概念和演示一个小动画,用这些变换是高度完美的。The outcome of this tutorial will be an object that orbits around another. It would be useful to demonstrate the transformations and how they can be combined to achieve the desired effect. Future tutorials will be building on this foundation as we introduce new concepts.这个tutorial的结果是一个对象围绕另一个对象旋转。这是非常有用的,演示变换和他们怎样联合获得想要的效果。未来的turorial将建立在我们介绍新的建立概念。Source(SDK root)\Samples\C++\Direct3D10\Tutorials\Tutorial05TransformationIn 3D graphics, transformation is often used to operate on vertices and vectors. It is also used to convert them in one space to another. Transformation is performed via multiplication with a matrix. There are typically three types of primitive transformation that can be performed on vertices: translation (where it lies in space relative to the origin), rotation (its direction in relation to the x, y, z frame), and scaling (its distance from origin). In addition to those, projection transformation is used to go from view space to projection space.The D3DX library contains APIs that can conveniently construct a matrix for many purposes such as translation, rotation, scaling, world-to-view transformation, view-to-projection transformation, etc. An application can then use these matrices to transform vertices in its scene. A basic understanding of matrix transformations is required. We will briefly look at some examples below.在3D图形里,变换经常用来操作在vertices和vectors上。它也用来转换他们从一个空间到另一个。变换被执行通过和一个matrix相乘。有三个典型的原始变换类型,它能够被执行在vertex:转换(获得空间相对位置),旋转(关联的方向x y z框架),和放缩(距离从原点)。这些之外,工程变换用来从view空间到工程空间。D3DX库包含APIs那个能够方便的建立一个matrix有很多目的例如变换,旋转,防缩,world-to-view转换,view-to-projection转换,等等。应用程序然后能用这些矩阵去转换场景里的vertex。明白基础的矩阵转换时必要的。我们将简短的看下面相同的例子。
您可能关注的文档
- STM32 USART同步异步串行通讯.docx
- STL常用算法简介.ppt
- STM32之DMA详解.docx
- STM32开发环境(工具)之Keil MDK 介绍.doc
- STM32外设地址的设置.doc
- STS与ATS.doc
- stm8的选项字节设定.doc
- SU6600 培训笔记总结.doc
- Susu:小8终极电子书阅读软件MicroReader 1.pptx
- suunto 松拓 Observer TT ST v1.4.doc
- 病理生理学课件二章疾病概论.pdf
- 说明途径报告期pxr rxr activation.pdf
- 2效率提高了白色销钉oleds详解.pdf
- 2025湖南临武县舜发投资集团招聘财务部长拟聘笔试历年参考题库附带答案详解(10卷合集).docx
- 2025年事业单位工勤技能-四川-四川收银员五级(初级工)历年参考题库含答案解析(5套).docx
- 2025年事业单位工勤技能-广东-广东政务服务办事员一级(高级技师)历年参考题库含答案解析(5套).docx
- 2025广西玉林水利电力勘测设计研究院第一次公开招聘17人笔试历年参考题库附带答案详解(10卷合集).docx
- 2025中国铁路投资集团有限公司拟录用应届高校毕业生笔试历年参考题库附带答案详解(10套).docx
- 2025年事业单位笔试-河南-河南心理学(医疗招聘)历年参考题库含答案解析(5卷).docx
- 2025年深圳铁道交通工程初、中级专业技术资格考试(机车车辆(铁道车辆))历年参考题库含答案详解(5.docx
最近下载
- 1-专业建设库 人才需求调研 中科南扬科技有限公司调研记录.doc VIP
- 武汉大学工程水文学历年考研试题.pdf VIP
- 汽车行业研究及策略.pdf
- 商务谈判(毕思勇第四版)PPT课件-第二章-商务谈判的准备工作.pptx VIP
- JCI(第七版)医院评审标准流程指南(1).docx VIP
- 美的MDV8多联机中央空调说明书.pdf
- 工业厂房建设管理制度.docx VIP
- Apache APISIX v2.8 官方文档详解.pdf VIP
- FZ_T 60039-2013膜结构用涂层织物 剥离强力试验方法.pdf
- 2020年知名购物中心、商场开业工作计划倒排表 (财务最全篇).docx VIP
文档评论(0)