csci5607/assignment-1b
2023-02-20 22:21:57 -06:00
..
examples make colors look better 2023-02-20 22:21:43 -06:00
src Reimplement dot + cross 2023-02-20 22:21:57 -06:00
.gitignore more stuff 2023-02-20 22:20:54 -06:00
ASSIGNMENT.md Implement phong illumination 2023-02-20 22:17:26 -06:00
Cargo.lock Soft shadows 2023-02-20 22:21:08 -06:00
Cargo.toml use separate handin profile 2023-02-20 22:21:26 -06:00
Makefile use separate handin profile 2023-02-20 22:21:26 -06:00
README.md use separate handin profile 2023-02-20 22:21:26 -06:00
writeup.md get started on writeup 2023-02-20 22:20:13 -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.

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.