Skip to content

TroySharples/ray_tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published