42-Seoul-Cursus / miniRT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

miniRT Project

Project Overview

miniRT is a simple 3D graphic renderer using ray tracing. This project is created to enhance understanding of computer graphics and ray tracing principles.

rainbow_sphere.rt

More images! parallel_light.rt scene: scenes/parallel_light.rt

Getting Started

System Requirements

  • macOS or Linux operating system
  • Installation of OpenGL and other necessary dependencies

Installation and Build

  1. Clone the repository.
git clone https://github.com/seungwonme/miniRT.git
cd miniRT
  1. Run the build script.
make

Execution

After the build is complete, you can run the program with the following command.

./miniRT scenes/[scene].rt

Usage

  • 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.

Examples

Test various rendering examples included in the scenes folder with different .rt files.

About


Languages

Language:C 80.8%Language:Objective-C 17.3%Language:Makefile 1.9%