无忧论文网 · 始于1999 · 学术论文辅导与论文发表推荐服务

光线跟踪算法的研究与实现

栏目
论文
具体类型
本科毕业论文
语言
中文
用途
范文参考
更新
关键词
真实感光线跟踪光照模型光线与物体的求交MFC框架
分类标签
自然科学计算机科学计算机专业
原站著录信息
原编号
lw200912311323247319
原文字数
13,961 字
原文件格式
DOC
原库登记日期
2009-12-31

摘要

摘 要 :在计算机图形学中,真实感技术占有着重要地位。采用真实感技术生成的图形能够真实地反映物体表面的颜色和亮度的细微变化,表现出物体表面的质感。另外还能通过生成光照下物体的阴影,极大地改善场景的深度感和层次感,充分体现物体间的相互遮挡关系,并且能够模拟物体的透明效果和镜面物体的镜面效果。 光线跟踪算法是真实感生成技术中的主要算法之一,采用整体光照模型来模拟场景环境中的光照情况。光线跟踪能很自然地解决环境中所有物体之间的消隐、阴影、镜面反射和折射等问题,并且能够生成十分逼真的图形。光线跟踪算法较难理解,但其实现相对…

    摘 要 :在计算机图形学中,真实感技术占有着重要地位。采用真实感技术生成的图形能够真实地反映物体表面的颜色和亮度的细微变化,表现出物体表面的质感。另外还能通过生成光照下物体的阴影,极大地改善场景的深度感和层次感,充分体现物体间的相互遮挡关系,并且能够模拟物体的透明效果和镜面物体的镜面效果。
    光线跟踪算法是真实感生成技术中的主要算法之一,采用整体光照模型来模拟场景环境中的光照情况。光线跟踪能很自然地解决环境中所有物体之间的消隐、阴影、镜面反射和折射等问题,并且能够生成十分逼真的图形。光线跟踪算法较难理解,但其实现相对简单,采用递归算法即可。递归的光线跟踪算法计算量十分巨大,因此应尽可能减少求交计算量是提高光线跟踪效率的关键。
    本文从简单的光照模型入手,对光线跟踪算法进行了一定的研究,重点研究了光线跟踪算法的原理、光线跟踪的过程,以及涉及的求交算法。本文还根据基本的递归光线跟踪算法原理,结合windows的图形设备接口(GDI),使用C++语言,在MFC框架下实现了小型的算法演示系统,该系统创建了一个三维空间场景,并在此场景中放置物体,利用光线跟踪算法模拟光照效果。
Abstract :In computer graphics, the technology of realism plays an important role. The graphics made by realistic technology can reflect minor changes in the surface brightness and colors, which can show the surface texture of an object. By generating the shadow of the light, it improves the sense in depth and gradation of the scene, and reflects the relation of mutual occlusion between objects. Also, realistic technology can simulate transparent objects and mirror effect. Ray-tracing algorithm is one of the most important algorithms of realistic generation technology. It used a whole light model to simulate the illumination condition of the scene. Ray-tracing can solve all the issues about hiding, shadow, specula reflection and refraction unaffectedly, and can product a very vivid graphics. The ray-tracing algorithm is hard to understand, but it can be achieved by recursion. The amount of calculation of ray-tracing algorithm is very huge. So, how to minimize the intersection calculation is the key to improving efficiency of the ray-tracing algorithm.
Starting with the simple light model, this paper researched the ray-tracing algorithm, including the ray-tracing theory, the procedure of ray tracing, and the algorithms of calculating intersection. Depending on the basic theory of ray-tracing algorithm, this paper realized a small-scale demo under the framework of MFC, using the C++ and Windows GDI. The demo set up a 3D scene, and put some objects in it. Then, it can simulate the illumination effect by ray-tracing algorithm.

目 录
毕业论文原创性声明 I
毕业论文版权使用授权 II
摘要 III
Abstract IV
1 引言 1
2 相关基础知识 4
3 光线跟踪算法 13
4 光线与物体的求交 20
5 论文总结 27
参考文献 34

全文与附件

提交申请后,可在会员中心查看原件和附件的查找进度。

申请查询全文与附件