- 1、本文档共43页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Chapter11课件
Chapter 11
Ray Tracing
Ray tracing is a rendering method that traces rays of light and their interactions with the objects in a scene
Characteristics
generates shadows
generates mirror images
removes hidden surfaces
is slow in execution
Main reference: /education/materials/HyperGraph/raytrace/rtrace0.htm;Ray-tracing is widely used to produce high quality photo-realistic images. ;埋苦谗巡铸埔御春讣进灌天宝窒台濒气加诽锥访讳直讼庚还经码地伞致皿Chapter11课件Chapter11课件;锗柱芍崇绩腕傀羊咎讳想纳卵控妖火尤霞哥逸栽只镭喇舞上茶钞兑矛废跃Chapter11课件Chapter11课件;In real life, a light ray shoots out from a source, hits a surface, then is reflected, and finally entered our eyes
In ray tracing, a light ray is traced backwards. Starting from the eye, we trace a ray through a pixel of the screen into the scene. Then determine the surface that the ray is reflected, and the direction of the original ray, etc.
;The following is a simplified example of ray tracing in 2D. Assume that there is one light source and the ambient intensity is 0 (The background is completely dark.)
The primary ray (cyan) does not hit anything. Set the pixel value to 0.;The primary ray (yellow) hits a plane.
A shadow ray (magenta) is cast from the point hit to the light. The ray does not hit any in-between object. That is, the point is not blocked from the light. The shading of the point due to the light is computed, say L1.;A secondary ray (green) that is a perfect reflection of the primary is cast. It does not intersect with anything. The shading contributed from reflection is then set to 0.
Set the pixel value to L1. ;The primary ray (yellow) hits the round object.
A shadow ray (right magenta) is cast. It finds out that the light source is not blocked. L1 is computed accordingly.
A secondary ray (short green) reflected from the primary is traced. It hits a plane. ;Another shadow ray (left magenta) is cast. It finds out that the light source is not blocked. L2 is computed accordingly.
A tertiary ray (long green) reflected from the secondary is traced.
您可能关注的文档
- chap11_文件课件.ppt
- chap10 计数模型课件.ppt
- CHAP2(XML)课件.ppt
- Chap16 Global Production,Outsourcing and Logistics课件.ppt
- Chap2 Linux系统安装课件.ppt
- Chap2 Theories of FPI - 副本课件.ppt
- Chap3.4管程_2013课件.ppt
- Chap2-1母函数、整数拆分课件.ppt
- chap4 UNIX文件系统课件.ppt
- Chap15--Quantum(zq)课件.ppt
- 2025年首都医科大学脑重大疾病研究中心(北京脑重大疾病研究院)招聘3人笔试备考题库及答案详解一套.docx
- 2025年首都师范大学招聘83人笔试高频难、易错点备考题库附答案详解.docx
- 2025年贵州毕节职业技术学院招聘17人笔试备考题库及参考答案详解一套.docx
- 2025年超纯矿物新材料产业技术研究院招聘博士研究生方案笔试高频难、易错点备考题库含答案详解.docx
- 2025年贵州护理职业技术学院招聘19人方案笔试高频难、易错点备考题库参考答案详解.docx
- 2025年绥化市望奎县事业单位人才引进笔试备考题库含答案详解.docx
- 2025年贵州省发展和改革委员会所属事业单位招聘2人方案笔试高频难、易错点备考题库及答案详解1套.docx
- 2025年贵州省农业农村厅所属事业单位招聘4人方案笔试备考题库参考答案详解.docx
- 2025年辽宁鞍山市铁东区事业单位面向应届生招聘7人笔试高频难、易错点备考题库附答案详解.docx
- 2025年隆昌市教育和体育局上半年公开选调下属事业单位笔试备考题库及参考答案详解一套.docx
文档评论(0)