Skip to content

bsomers42/miniRT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniRT: a mini raytracer

by jaberkro and bsomers.

miniRT is the 11th project of the Codam core curriculum, and the last one entirely written in C. Using raytracing, various scenes can be rendered.

Running

make && ./miniRT <map_name>.rt

Example scenes can be found in the folder "maps".

Adjustable raytracer settings

Change AA in include/minirt.h to a higher number for increased anti-aliasing. Change WIDTH and HEIGHT in include/minirt.h for a different screen size.

Examples

maps/cones.rt (with AA=1) image

maps/mickey.rt (with AA=4) image

About

A raytracer in C, the 11th Codam project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published