/miniRT

A mini Ray Tracer written in C from scratch.

Primary LanguageC

A mini Ray Tracer written in C from scratch.

scene by a ray tracer scene by a ray tracer scene by a ray tracer scene by a ray tracer scene by a ray tracer scene by a ray tracer scene by a ray tracer




You can create image by passing a scene file ".rt" to the program "./miniRT"

Check the "README.rt" file in "scenes/" to get an idea of how to write one.

Usage:

Make sure that you have libpng installed.

Compile the code using make

Create scenes using ./miniRT <path_to_scene_file>

dependencies

  • libpng