TotalChest / CG-RayTracing

CMC course "Сomputer graphics"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Computer Graphics - Ray Tracing

CMC course "Сomputer graphics"

Build:

$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make -j 4

Run:

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

Features:

  • Base
    • Phong model
    • Shadows
    • Specular
    • Reflective
    • Spheres and triangles
    • Light sources
    • 1600*900 pixels
  • Additions
    • Plane (+1)
    • Textures (+1)
    • Refractive (+1)
    • Threads(+2)
    • Enviroment map (+1)
    • 3D models (+4)

Examples:

Example Example Example

About

CMC course "Сomputer graphics"


Languages

Language:C++ 99.8%Language:CMake 0.2%Language:C 0.0%