This project is a derivative work of Raytracing in One Weekend, done in ANSI C. The formatting style tries to stick as much as it possibly can to ANSI C standards, particularly by using std=c99
and -pedantic
compiler flags.
- Make a local clone of the repository through
git clone https://github.com/poal023/raytraCer
- If make is not installed on your machine, you can install it on either Windows using Chocolatey (
choco install make
) or on Debian-based systems throughsudo apt install make
- Run the makefile through
make
while in thesrc/
directory.
All .c and .h source files are stored in the src/
directory, while example images will be stored in examples/
.
Although this project will follow Raytracing in One Weekend to an extent, it also aims to build off of it by adding in more features such as triangle/polygonal objects, textures, lighting, exportation through JPEG and much more.
If changes are desired, please make a pull request.