Skip to content

Latest commit

 

History

History
50 lines (44 loc) · 1.71 KB

README.md

File metadata and controls

50 lines (44 loc) · 1.71 KB

miniRT

MiniRT is a ray tracing project developed as part of the curriculum at Campus 42. The project aims to implement a basic ray tracer capable of rendering simple scenes with basic shapes and lighting effects.

Features

  • Ray-Sphere Intersection
  • Ray-Plane Intersection
  • Ray-Cylinder Intersection
  • Ray-Cone Intersection
  • Phong Shading Model (Ambient, Diffuse, and Specular lighting)
  • Shadows
  • Support for .rt files for Scene Description

Installation

Clone the repository to your local machine:

git clone https://github.com/PaLucena/miniRT.git

Navigate to the project directory:

cd miniRT

Build the project:

make / make bonus

Usage To run the ray tracer with a scene file:

  Example:

./miniRT scenes/standart.rt

scene.rt should be a valid scene description file in the provided format.

Contributing

Contributions are welcome! If you'd like to contribute to miniRT, feel free to open an issue or submit a pull request with your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.