Skip to content

Markus28/RayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A CPU Raytracer for Python written in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published