Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 873 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 873 Bytes

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