miniRT Project

$ Source Code

https://github.com/hekoh99/miniRT

$ Overview

The miniRT project is an implementation of a ray tracer that visualizes 3D scenes based on specified input files. The ray tracer generates images by simulating the interaction of rays with objects in the scene. The input files provide details about the scene's ambient light, camera, light sources, and various shapes like spheres, planes, and cylinders.


$ Input File Format

The input file contains information about the scene's setup and objects. Here’s an example of how the file is structured:

A 0.2 255,255,255
C -50,1,20 1,0,0 70
L -40,0,30 0.7 255,255,255

sp 0,-10,10 20 255,0,0
pl 0,-20,0 0,1.0,0 100,100,100
cy -10.0,-10.0,0.0 0.0,1.0,0.0 14.2 21.42 10,0,255
cy 0.0,-10.0,30.0 0.0,1.0,1.0 14.2 21.42 10,0,255

Description of Input File Components

$ Output

Output

Output