Skip to the content.

Traycer is a little Ray-Tracer written in C++. Ray tracing is a rendering technique for generating an image by tracing the path of light as pixels in an image plane and simulating the effects of its encounters with virtual objects.

Project inspired by a little ray tracing project I made in C as part of my third year at Paul Sabatier University.

Reference : Scratchapixel 2.0

Screenshots

Features

Usage

Traycer --help

Example

Here is how to generate a scene with 1024 samples per pixel and a FOV of 30.0 for a 1920✕1080 picture :

Traycer -s 1024 -w 1920 -h 1080 -f 30