Skip to content

mnemyx/405-04

Repository files navigation

Gina Guerrero CpSc405 - Spring 2011 Assignment #4 - Recursive Raytracing

DESCRIPTION Expands the ray tracer from program #3 by adding reflections and scene control.

For scene control, it reads in a .txt file (included in the zip is originalscene.txt for the original scene assigned in the project and a scene.txt that I played with.) Format for camera control is the same as previous.
For lights and sphere, almost the same thing but the amount of spheres and lights must be included, then the details of each. See the two .txt files for an idea.

SOURCE FILES camera.h, camera.cpp Collision.cpp, Collision.h Color.cpp, Color.h Light.cpp, Light.h Material.cpp, Material.h Ray.cpp, Ray.h Sphere.cpp, Sphere.h originalscene.txt -- original scene laid out in the homework scene.txt -- scene I played around with raytrace.cpp Makefile

MISC FILES README.txt (included are Dr. House's Vector/Matrix functions) Matrix.cpp, Matrix.h Vector.cpp, Vector.h Utility.cpp, Utility.h

SAMPLE OUTPUT FILES screen1.png screen2.png

TOTAL FILE COUNT: 27

About

Recursive Raytracer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published