文件名称:RayTrace

介绍说明--下载内容均来自于网络,请自行研究使用

光线跟踪程序,即由光源发出的光到达景物表面后,产生反射和折射。光就改变方向,沿着反射方向和折射方向继续前进,直到遇到新的景物。光经场景景物间的多次反射、折射后投射到离视点最近的景物表面,最终进入人眼。由于实际光线跟踪算法的跟踪方向与光传播的方向是相反的,所以我们可以由视点向屏幕象素发出一根射线,与第一个景物相交后,在其反射与折射方向上分别进行跟踪,继续与第二个景物相交……重复上述过程,直到被跟踪的光线射出画面或跟踪深度达到某个设定的最大递归深度时,停止跟踪。-Ray tracing program, the light emitted from light source reach the scene surface, generate reflection and refraction. Light to change direction, the direction of reflection and refraction along the direction to move forward until the face of new features. Light scene by scene several times between reflection, refraction is cast on the surface from the point of view the recent scene, eventually entering the human eye. As the actual ray tracing algorithm to track the direction of light propagation direction is opposite, so we can issue from the viewpoint to the screen a pixel ray, intersects with the first scene after the reflection and refraction in the direction of the track were to continue intersects with the second scene ... ... repeat the process until the light tracked injection depth of the screen or to track a set maximum recursion depth, stop the trace.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

RayTrace\Bmp2rgb.cpp

........\bmp2rgb.h

........\Debug\black.bmp

........\.....\brown.bmp

........\.....\RayTrace.exe

........\.....\场景NEW.bmp

........\.....\Thumbs.db

........\dibapi.cpp

........\Dibapi.h

........\Ground.cpp

........\Ground.h

........\Image.cpp

........\Image.h

........\Light.h

........\ListNode.cpp

........\ListNode.h

........\MainFrm.cpp

........\MainFrm.h

........\Material.cpp

........\Material.h

........\Matrix.cpp

........\Matrix.h

........\ProgBar.cpp

........\ProgBar.h

........\Quadra.cpp

........\Quadra.h

........\Ray.cpp

........\Ray.h

........\RayTrace.aps

........\RayTrace.clw

........\RayTrace.cpp

........\RayTrace.dsp

........\RayTrace.dsw

........\RayTrace.h

........\RayTrace.ncb

........\RayTrace.plg

........\RayTrace.rc

........\RayTraceDoc.cpp

........\RayTraceDoc.h

........\RayTraceView.cpp

........\RayTraceView.h

........\res\RayTrace.ico

........\...\RayTrace.rc2

........\...\RayTraceDoc.ico

........\...\Thumbs.db

........\Resource.h

........\RTList.cpp

........\RTList.h

........\RTObject.cpp

........\RTObject.h

........\Scene.h

........\SetDlg.cpp

........\SetDlg.h

........\Sphere.cpp

........\Sphere.h

........\SphereLight.cpp

........\SphereLight.h

........\Stack.cpp

........\Stack.h

........\StdAfx.cpp

........\StdAfx.h

........\Texture.cpp

........\Texture.h

........\Vector.cpp

........\Vector.h

........\Scene.cpp

........\RayTrace.opt

........\Debug

........\res

RayTrace

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org