Berezniker / CG_Ray_Tracing

Computer Graphics: Ray Tracing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Computer Graphics: Ray Tracing


Languages

Language:C 94.6%Language:C++ 5.4%Language:Makefile 0.0%Language:CMake 0.0%Language:Batchfile 0.0%