Skip to content

CapSylar/the-ray-tracer-pp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The-ray-tracer++

A complete C++ rewrite of the ray tracer I wrote previously in C

Specifications

  • Shapes Supported

    • Sphere
    • Triangles
    • Cubes
    • Cylinders
    • Planes
  • Shading and lighting

    • triangles support normal smoothing
    • realistic dielectric support
      • refraction
      • reflection
      • schlicks approximation
      • only isolated transparent object
  • Shadows

    • only sharp shadows
    • no support for smooth shadows nor antialiasing
  • Acceleration Structures

    • Kd Trees
  • Model Loading

  • Running

    • CPU
      • Single thread
      • Multi-threading through OpenMP
    • GPU
      • NVIDIA-CUDA ( to be added )

Some Screenshots

Reflective Stanford Dragon

Metal Stanford Lucy Statue

Glass Stanford Bunny

Some Notes

Some objects seem to have weird pixel colors at some regions, I don't think its due to self intersection.

About

the-ray-tracer rewritten in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published