Skip to content

joao613/MiniRT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minirt

A raytracer written in C using the mlx library for graphics management.

Alt demo

Try the project

Clone the repository, and run make in root. You can then run the resulting executable, passing one of the maps as argument or create your own map.

A full mathematical explanation for every single step of the process is in progress!

You can read it here.

Controls:

There are three different variables that can be combined to apply a change to the scene: the shape to be transformed, the type of transformation and the direction of that transformation. The current shape will be highlighted, and the type of transformation will be writen on the terminal.

  • Cycle through shapes: S;
  • Camera: C;
  • Light: L;
  • Cycle through transformation types: left/right arrows;
  • Apply transformation: up/down arrows.

Acknowledgements

This project was made in collaboration with Nuno Sousa

About

A 3D renderer written in C using ray tracing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors