Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.21 KB

README.md

File metadata and controls

52 lines (43 loc) · 1.21 KB

Ray Tracer for Python

A simple CPU Raytracer written (mostly) in C++; Built from scratch. It supports meshes given as OBJ and MTL files, implicit shapes and CSGs given as signed distance functions.

Installation

Tested on Linux only. OpenMP and CMake are required.

git clone https://github.com/Markus28/RayTracer
cd RayTracer
python setup.py install

Renders

OBJ-Files using Binary-Volume-Hierarchies:

CSG:

Implicit shapes (WIP):

Features

Implemented

  • Primitives
    • Spheres
    • Infinite planes
    • Triangles
    • OBJ-Files
    • MTL-Files
    • Implicit Surfaces (WIP)
  • Lights
    • Point source in infinite distance
    • Point source
  • Cameras
    • Pinhole Camera
    • Pinhole Camera with supersampling
  • Bounding-Volume-Hierarchies
  • Symbolic Computation System
  • Normal interpolation

Coming soon

  • UV-Mapped Spheres
  • Spherical background images
  • Fuzzy reflections
  • Bokeh
  • Area lights
  • Orthographic camera