文件名称:RayTrace
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 551kb
- 下载次数:
- 0次
- 提 供 者:
- wan***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
光线跟踪程序,即由光源发出的光到达景物表面后,产生反射和折射。光就改变方向,沿着反射方向和折射方向继续前进,直到遇到新的景物。光经场景景物间的多次反射、折射后投射到离视点最近的景物表面,最终进入人眼。由于实际光线跟踪算法的跟踪方向与光传播的方向是相反的,所以我们可以由视点向屏幕象素发出一根射线,与第一个景物相交后,在其反射与折射方向上分别进行跟踪,继续与第二个景物相交……重复上述过程,直到被跟踪的光线射出画面或跟踪深度达到某个设定的最大递归深度时,停止跟踪。-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
........\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