My first Ray Tracer.
Several options are available (see Keyboard shortcuts section for more infos) :
- Camera move
- Camera rotate
- Reread *.conf file without restart
git clone https://github.com/TheWeaklessOne/RTv1 ~/RTv1
cd ~/RTv1 && ./install_frameworks && make && ./RTv1 Scenes/scene_0.conf
You have to launch the program with a parameter. This is the path to *.conf file that contains scene. Run ./RTv1 -help for more info.
Example :
Open the second scene ⇣
./RTv1 Scenes/scene_1.conf
Description | Key(s) |
Close the program (aka quit/exit) | ESC |
Move forward | W |
Move backward | S |
Move left | A |
Move right | D |
Move up | Q |
Move down | E |
Rotate the camera on the +Y axis | ▲ |
Rotate the camera on the -Y axis | ▼ |
Rotate the camera on the -X axis | ◄ |
Rotate the camera on the +X axis | ► |
Reread *.conf file" | R |