Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 864 Bytes

README.md

File metadata and controls

35 lines (28 loc) · 864 Bytes

🌑 Raytracer in C from scratch

💿 Installation

The project only work on Mac OS X.

It uses the MinilibX, a micro-library that provides an easy way to create a window and push an image on it.

make

🐒 Usage

./rtv1 xx.rtv1

🎥 Creation of a scene

To render your own scene into our raytracer, you have to create a .rtv1 file, the syntax is really easy to understand, it is a really simple implementation of a YAML format.

A simple example is sufficient to understand the syntax :

sphere:
  color: 255 67 82
  radius: 30
  origin: 100.4 45 678

# A comment
plane:
    ...

💪 Authors