CS 3114 Advanced Graphics
Programming Project #2
Due Friday, May 9
|
A Renaissance Ray Tracer with Shadows
and 2D Textures
|
Write a program that ray traces a scene described in SDL. This ray tracer
properly handles
-
emissive objects (those that only have a color attribute),
as well as
-
objects that have material attributes (you may use
the same material for each surface of the object)
-
global ambient light
-
at least one positional light
- camera positioned anywhere in the scene
-
translate, scale, rotate generic objects:
- sphere
- plane
- tapered cylinder
- cube
- square
- shadows
- 2D imaging texture mapping to these surfaces:
- plane
- square
- sphere
- tapered cylinder (you may use the same texture for each surface)
- cube (you may use the same texture for each surface)
Design and render a scene that showcases all of the requirements you were able
to code.
Submit all your files, including makefile, to hw directory p2.