This Ray Tracer is a project exploring the world of ray tracing, a rendering technique that simulates the path of light to create realistic images. It uses a combination of algorithms and mathematics to accurately model the behavior of light as it interacts with various objects in a sceneπ¨π.
Nvidia Raytracing explination π π₯οΈ
Rendering Capabilities:
- π Spheres: Render realistic spheres with smooth shading.
- ποΈ Planes οΈ: Create flat surfaces with precise reflections.
- π Cylinders: Generate cylinders with optional gradient effects for visual appeal.
- πΊ Triangles: Implement efficient triangle rendering for diverse shapes.
Enhanced Visual Effects:
- π Gradient Shading on Spheres and Cylinders: Add depth and realism to your scenes with gradual color variations.
- π Checkboard Patterns on Planes: Showcase the power of ray tracing by creating checkerboard patterns on planar surfaces.
Installing these dependencies on Ubuntu can be done as follows:
sudo apt-get install xorg libxext-dev zlib1g-dev libbsd-dev
Run the following to make the project
make mlx && make
After making the project you can then run the program as follow
./miniRT scenes/<name of scene>
ββ Makefile
ββ includes/
ββ libs/
ββ scenes/
ββ srcs/
β ββ parsing/
β ββ randring/
| ββ utils/
ββ LICESNE
π Raytracing in weekend series
π Fundamentals of Ray Tracing
This project is licensed under the MIT License - see the LICENSE file for details.