Skip to content

Latest commit

 

History

History
29 lines (14 loc) · 1.16 KB

README.md

File metadata and controls

29 lines (14 loc) · 1.16 KB

Ray-Tracing

A self-taught first attempt at a simple CPU ray tracer. This lacks many important ray-tracing features, with the ones it does implement being wrong or inefficient. This project is retired and is being rewritten as part of the Oingo project. This will include a new PBRT (Physically Based Ray Tracing) engine, a .ray scene parser, better anti-aliasing, and potential GPU acceleration.

Ray-traced cow!

Packaging

This application was developed on a Debian 11 machine and is packaged using Docker. In the unlikely event you care enough, you can install and run this on your own machine provided it has Docker installed.

Install

Build the Docker image from the Dockerfile:

docker build -t ray_tracer:latest .

Run

Run the image in non-detached mode with stdout bound to the output PNG file. The container will be torn down after the render completes:

docker run ray_tracer:latest > render.png

Uninstall

To uninstall just remove this docker image:

docker rmi ray_tracer:latest