Description: ray-tracing ray tracing algorithm. Includes light intersection, tracking, object material, color settings, spherical and wall mirror reflection effect. Scenarios, including the floor, three mirror reflection of the sphere, a sphere and diffuse specular side walls. This project runs under VS2008 with OpenCV. Double click the exe file under Debug folder to check the final result. (requires glut32.dll support).
To Search:
File list (Check if you may need any files):
MARK_Raytracing
...............\OpenGL.sln
...............\OpenGL.suo
...............\Release
...............\.......\OpenGL.exe
...............\.......\OpenGL.pdb
...............\OpenGL
...............\......\main.cpp
...............\......\OpenGL.vcproj
...............\......\OpenGL.vcproj.RAYSLAB.Administrator.user
...............\......\OpenGL.vcproj.X61S.stel.user
...............\......\scene.cpp
...............\......\scene.h
...............\......\utils
...............\......\.....\clock.cpp
...............\......\.....\clock.h
...............\......\.....\timer.h
...............\......\Release
...............\......\.......\BuildLog.htm
...............\......\.......\main.obj
...............\......\.......\material.obj
...............\......\.......\mt.dep
...............\......\.......\object.obj
...............\......\.......\OpenGL.exe.intermediate.manifest
...............\......\.......\rayplane.obj
...............\......\.......\raysphere.obj
...............\......\.......\scene.obj
...............\......\.......\vc80.idb
...............\......\.......\vc80.pdb
...............\......\.......\vc90.idb
...............\......\.......\vc90.pdb
...............\......\.......\world.obj
...............\......\raytracer
...............\......\.........\colour.h
...............\......\.........\light.h
...............\......\.........\object.cpp
...............\......\.........\object.h
...............\......\.........\ray.h
...............\......\.........\world.cpp
...............\......\.........\world.h
...............\......\.........\Material
...............\......\.........\........\material.cpp
...............\......\.........\........\material.h
...............\......\.........\Geometry
...............\......\.........\........\geometry.h
...............\......\.........\........\rayplane.cpp
...............\......\.........\........\rayplane.h
...............\......\.........\........\raysphere.cpp
...............\......\.........\........\raysphere.h
...............\......\maths
...............\......\.....\mathstypes.h
...............\......\.....\plane.h
...............\......\.....\plane2.h
...............\......\.....\vec2.h
...............\......\.....\vec3.h
...............\......\graphics2d
...............\......\..........\graphics2d.cpp
...............\......\..........\graphics2d.h
...............\......\Debug
...............\......\.....\BuildLog.htm
...............\......\.....\main.obj
...............\......\.....\material.obj
...............\......\.....\mt.dep
...............\......\.....\object.obj
...............\......\.....\OpenGL.exe.embed.manifest
...............\......\.....\OpenGL.exe.embed.manifest.res
...............\......\.....\OpenGL.exe.intermediate.manifest
...............\......\.....\rayplane.obj
...............\......\.....\raysphere.obj
...............\......\.....\scene.obj
...............\......\.....\vc80.idb
...............\......\.....\vc80.pdb
...............\......\.....\world.obj
...............\result.jpg