RT is a project of school 42
To build the project, run the following command:
make
This will compile the source files and generate the executable named rt
.
To run the RT demos, use the demo.sh
script with one or more of the following categories:
- shape
- light
- texture
- cutting
- negative
- ray_effect
- other
- all
Example usage:
./demo.sh shape light
This will run the shape and light demos. To run all demos, use:
./demo.sh all
To clean the build files, run:
make clean
To remove all build files and the executable, run:
make fclean
To rebuild the project from scratch, run:
make re