miniRT is a simple 3D graphic renderer using ray tracing. This project is created to enhance understanding of computer graphics and ray tracing principles.
- macOS or Linux operating system
- Installation of OpenGL and other necessary dependencies
- Clone the repository.
git clone https://github.com/seungwonme/miniRT.git
cd miniRT
- Run the build script.
make
After the build is complete, you can run the program with the following command.
./miniRT scenes/[scene].rt
- Press the
ESC
key to exit the program during rendering. - Press the
W
,A
,S
,D
keys to move the camera. - Press the
↑
,←
,↓
,→
keys to rotate the camera.
Test various rendering examples included in the scenes
folder with different .rt
files.