Vulpinii / raytracer

Ray tracing project allowing to visualize a 3D scene and to calculate an image based on the rules of physics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Ray Tracer

26/05/2020

Ray tracing project allowing to visualize a 3D scene and to calculate an image based on the rules of physics

Features

  • phong sphere, square, triangular lighting
  • intersection sphere, square, triangle
  • normal interpolation
  • add 3d models
  • add glass
  • adding reflection
  • added anti-aliazing effect
  • adding soap bubble material
  • addition of Bounding Volume Hierarchy

Building

On Linux

Prerequisite: CMake

To build this program, download the source code using git clone https://github.com/Vulpinii/raytracer or directly the zip archive.

Then following these commands:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j
./raytracer

On Windows

[instructions coming soon]

Navigation

  • KEY 1 : visualize spheres

  • KEY 2 : visualize quad

  • KEY 3 : visualize basic scene

  • KEY 4 : visualize bubble scene

  • KEY 5 : visualize 'fun' scene

  • R : generate ray tracing

  • mouse : manipulate the camera

  • ECHAP : quit the program

Gallery

Preview

bubble

fun

About

Ray tracing project allowing to visualize a 3D scene and to calculate an image based on the rules of physics.

License:GNU General Public License v3.0


Languages

Language:C 58.6%Language:C++ 40.5%Language:CMake 0.6%Language:GLSL 0.3%