Skip to content

Terminal-DirectMedia-Layer/Terminal_Raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rayetracé

Description

The Raytracer is a Tek2 project at Epitech. The goal of this project is to create a raytracer in C++ using ray-casting.

Raytracer

Features

  • Plugins (Loaded at runtime)
  • Basic shapes (Sphere, Plane, Cylinder, Cone)
  • Light sources (Point, Directional, Ambient)
  • Materials
  • Filters (Sepia, Black & White, Negative)
  • Multi-threading
  • Displays (SFML, PPM, TDL)

How to use

Compilation

mkdir ./build/ && cd ./build/
cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
cmake --build .

Execution

./raytracer [OPTIONS] [scene.cfg]

Exemple

./raytracer -d tdl config/simple2.cfg

Options

  • -P or --plugin-path: Set the plugin path (default: ./plugins)
  • -D or --display-path: Set the display path (default: PPM)
  • -d or --display-library: Set the display (default: PPM)
  • -h or --help: Display the help message

About

TDL implementation in a raytracer project example.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published