Skip to content

This project is a simple ray tracer coded in C using minilibx from 42 school.

Notifications You must be signed in to change notification settings

pedro-pn/miniRT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniRT

A simple Ray Tracer

About

This project is a recriation of miniRT from 42 school as an exercise to help me to fix some concepts of raytracing. The original project was made with lpaulo-m, but I decided to implement it from scratch using my own libft and going further in The Ray Tracing Challange book chapters.

Description

This project is a Ray Tracer coded in C using minilibx library.


Implemented:

  • Spheres;
  • Planes;
  • Cubes;
  • Phong reflection model;
  • Shadows;
  • Patterns;
  • Reflection;
  • Refraction;
  • Multi-thread renderization;
  • Cylinders;
  • Cones;
  • Groups;
  • Bounding boxes optmization;
  • Bounding Volume Hierarchies (BVH);
  • Triangles;
  • Wavefront OBJ file parser;
  • Smooth Triangles;

To implement:

  • Multiple lights;
  • CSG;
  • Focal Blur;
  • Soft shadows;
  • Anti-aliasing;
  • Texture maps;
  • Parser scene;

Work in progress...


Rendered images

pink_sphere

The Ray Tracer Challange - Book Cover

About

This project is a simple ray tracer coded in C using minilibx from 42 school.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published