Skip to content

Files

Latest commit

 

History

History
37 lines (26 loc) · 916 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 916 Bytes

RaytraCer

Basic raytracing engine written in C for educational purpose. It does not use any functions from the standard library except malloc and free.

raytracing workflow

Features

  • Camera
  • Colored lights
  • Object primitives (plan, sphere, cylinder, cone, blob)
  • Negative objects
  • Reflection
  • Refraction
  • Bump mapping
  • Cellshading
  • Perlin noise
  • Graphical tool
  • JPEG export

Scenes

Scene 1

Scene 2

Scene 3

Scene 4

Scene 5

Installation

  1. Install minilibx inside /usr/X11/lib
  2. Install libjpeg inside /usr/X11/lib
  3. make
  4. ./rt scenes/*