Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.

Repository files navigation

Raytracer

A basic (but modular) raytracer written in C++.

Note

This project can run on web platform, or even render image for a VR headset but doing so will greatly reduce the rendering speed

Usage

$ ./raytracer scenes/default.cfg 
$ /raytracer <SCENE_FILE> [-w|--watch] [-r|--renderer <SDL|PPM>] [-t|--threads <auto|off|1-32>] [-h|--help]
	<SCENE_FILE>: scene configuration
	[-w|--watch]: scene configuration auto-reload
	[-r|--renderer <SDL|PPM|SFML>]: renderer selection (default: 'PPM')
	[-t|--threads <auto|off|1-32>]: multi-threading selection -> auto/off/specific thread count (default: 'auto')
	[-h|--help]: Show this help page./raytracer <SCENE_FILE>

Build

Build yourself the project will you need to meet the following requirements:

  • CMake >= 3.1O
  • libconfig++
  • SFML 2.6.x

Justfile

just release

CMake

cmake -S . -B build
cmake --build build -j

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages