Skip to content

TolyaTalamanov/Raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published