Skip to content

bbeldame/RT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌑 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

About

⚪ Raytracer in C from scratch [42 School]

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published