GaelleMarais / ray-tracing

Simple ray-tracing engine from scratch in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple ray-tracing engine in C++

raytracing1 raytracing2 raytracing3

Introduction

I followed the Ray Tracing in One Week book series to create this small ray-tracing engine. The engine can display spheres or meshes with triangles and light of different colors.

I used the easyppm library to creates the output images.

How to use

Compilation

$ g++ main.cpp -O4 -fopenmp -lpthread -o main -Wall -Wconversion -Wextra -Wshadow

Execution

$ ./main

About

Simple ray-tracing engine from scratch in C++

License:MIT License


Languages

Language:C++ 59.9%Language:C 40.1%