Skip to content

Raphy42/RT

Repository files navigation

How to build:

Use the very osx only makefile, cmake is only used by my IDE for autocompletion.

Dependencies:

  1. sdl2 (brew install sdl2)
  2. stb_image (already in the repository)

Implemented:

  1. Materials: Lambertian (matte), Metal, Dielectric (glass, water etc...)
  2. Primitives: sphere, rectangle, axis-aligned box, triangle
  3. Textures: checker, normal debug, bitmap texture
  4. Utilities: thread pool (inspired from pithikos/c-thread-pool)

Todo:

  1. Materials: physically based materials (cook-torrance ?)
  2. Primitive: plane, torus, open cylinder, cubic primitives
  3. Textures: perlin
  4. Acceleration structure: BVH (AABB)
  5. Complex mesh: fractals ? 4 degree primitives ? triangulated meshes
  6. Rendering techniques: ambient occlusion, depth of field, camera eye

About

C pathtracer with thread-pool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages