csci5607/assignment-1b
2023-02-17 03:07:11 -06:00
..
examples Add light attenuation 2023-02-16 01:44:31 -06:00
src Add tracing 2023-02-16 01:58:10 -06:00
.gitignore Add more to writeup 2023-02-16 01:14:22 -06:00
ASSIGNMENT.md Implement phong illumination 2023-02-05 21:52:42 -06:00
Cargo.lock Add tracing 2023-02-16 01:58:10 -06:00
Cargo.toml Add tracing 2023-02-16 01:58:10 -06:00
Makefile allow injecting flags into the make 2023-02-16 01:49:08 -06:00
README.md Add more to writeup 2023-02-16 01:14:22 -06:00
writeup.md Finish writeup 2023-02-17 03:07:11 -06:00

Raycaster

Bundle contents

Writeup is located at /writeup.pdf.

The binary can be found at /raytracer1b. Run ./raytracer1b --help to see how to use it. The binary has been built using the Rust Docker image, which should have an environment similar to CSELabs. If there is trouble running the binary, try building from source, as documented below.

Examples are found in the examples directory. The text files are the input sources, and the ppm files are the corresponding outputs. They have been generated by running this program. For convenience, pngs have also been provided using imagemagick.

Showcase image

The showcase image can be found at /showcase.png.

Building from source

The Makefile currently uses Docker to produce a more consistent build. If you have a Rust+Cargo toolchain installed locally, it's also possible to build the source using just:

cargo build --release

The binary will be found in target/release.