Skip to content

jullanggit/raytracer

Repository files navigation

A zero-dependency raytracer, following first matklad's raytracer-construction-kit and now the pbr book

Features

  • Spheres, Planes & Triangles
  • Obj file loading
  • Vertex normals for smooth surfaces
  • Diffuse Textures (in ppm format)
  • Lambertain, Metal & Glass materials
  • Custom scene description
  • Bounding Volume Hierarchies
  • Multithreading
  • Memory mapped image -> Live preview -> Continue rendering -> Infinitely large images

Usage

  • if you dont want to pay the price for expensive normal calculations, remove all vn lines from the .obj file brainmademark

About

A zero-dependency raytracer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages