Skip to content

Berezniker/CG_Ray_Tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray tracing

Image

Load:

$ git clone https://github.com/Berezniker/CG_Ray_Tracing.git
$ cd CG_Ray_Tracing

Compile:

$ mkdir build && cd build
$ cmake .. && make

Run:

$ ./rt −out <output_path> −scene <scene_number> −threads <threads>

implemented:

  • Phong reflection model
  • Shadows
  • Mirror reflection
  • Glass refraction
  • Spherical texture
  • Triangular meshes
  • Anti-aliasing
  • Tone mapping
  • Distance Aided Ray Marching
  • Cubemap
  • Triangle
  • Sphere
  • Plane
  • Disk
  • Ring
  • Cylinder
  • Hyperboloid
  • Fractal