Skip to content

sami-hmr/RayTracer

Repository files navigation


RayTracer
RayTracer

A RayTracer made in C++.

Key FeaturesHow To Use

screenshot screenshot

Key Features

  • Real-time rendering of 3D scenes using ray tracing
  • Support for basic geometric shapes (spheres, planes, etc.)
  • Support for Obj file format for importing 3D models
  • Basic lighting and shading models
  • Camera controls for navigating the scene

How To Use

Clone this repository

git clone git@github.com:sami-hmr/RayTracer.git

Go into the repository

cd RayTracer

Build the program

mkdir build && cd build && cmake .. && cd ..
cmake --build build/ -j

Run the program with graphical output

./raytracer scene.cfg -W 400 -H 400 -g

Run the program without graphical output

./raytracer scene.cfg -W 400 -H 400 -images 200

Read our documentation for more details on how to use the program, including how to create your own scenes and models.

License

MIT


About

PathTracing engine made in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors