Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 802 Bytes

README.md

File metadata and controls

35 lines (30 loc) · 802 Bytes

Raytracer

Simple C++ Raytracer parses Wavefront format and uses the Phong Reflection model to render the scene.

Supported features

  • Reflection / Refraction
  • Textures

Example

How to build

  1. Clone the project with submodules
git clone https://github.com/TolyaTalamanov/Raytracer
git submodule update --init --recursive
  1. Go to project folder and run CMake:
cd Raytracer && mkdir build
cmake ../ -DCMAKE_BUILD_TYPE=Debug
  1. Build with make:
make -j32

How to run

  1. Run the tests:
./bin/raytracer-tests
  1. Run tool:
./bin/raytracer-tool <path-to-obj-file>