Welcome to MiniRT, a mini ray tracing project. This project is focused on creating a simple ray tracing engine, which will enable you to render beautiful 3D scenes with realistic lighting and shading.
Ray tracing is a powerful technique used to render 3D scenes by simulating the behavior of light as it interacts with objects. This project aims to create a simple and efficient ray tracing engine that can render images with realistic lighting, shadows, and reflections.
- Basic primitives (sphere, plane, square, triangle, and cylinder)
- Multiple light sources
- Diffuse and specular shading
- Shadows and reflections
- Adjustable camera and viewport settings
- Anti-aliasing
- File format for defining scenes
- Save rendered images as BMP files
- GCC or Clang compiler
- GNU Make
- Basic understanding of linear algebra and C programming
- Clone the repository:
git clone https://github.com/yourusername/miniRT.git
- Navigete to the project directory and build the project:
cd miniRT
make
- Create a scene file with the .rt extension, following the scene file format provided in the documentation.
- Run the miniRT executable with the path to the scene file:
./miniRT /path/to/scene/file.rt