Raytracing Progress:
Craig Sidorchuk
Scott Douglas
- Setting up the Scene:
- Goal Image:

- Scene Layout:

- Parameters:
Projection:
perspective
fov: 60
near: 5
far: 60
Camera:
Eye: ( 8.4, 6.0, 8.0 )
Target: ( 8.0, 5.0, -5.0 )
Up: ( 0.0, 1.0, 0.0 )
Light:
positional
Position: ( 7.0, 10.0, 5.0, 1.0 )
Large Sphere:
Radius: 4.2
Position: ( 8.0, 6.9, -4.0 )
Small Sphere:
Radius: 4.0
Position: ( 14.0, 3.75, -8.0 )
Floor Quad:
Coord 1: ( 32, 0, 0 )
Coord 2: ( 32, 0, -40 )
Coord 3: ( 0, 0, -40 )
Coord 4: ( 0, 0, 0 )
- Camera / Surface Determination:
- ScreenShot:

- Phong Illumination Model:
- ScreenShot:

- Procedural Floor Shading:
- ScreenShot:

- Reflection:
- ScreenShot:

- Transmission:
- ScreenShot:

- Tone Reproduction:
-
ScreenShot:

Note: Reinhard Key Value = Zone 5 = 0.18
- Final Code:
-
Final Code available. Download. Compile. Run with "./raytracer". Let the magic begin. Change some values in raytracer.h if you want to modify your experience.