Skip to content

Mr4k/incremental-ray-tracer

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

incremental-ray-tracer

This is the code to go with this blog post

This is a somewhat Incremental Ray Tracer (only incremental when materials change, not when spheres move).

Tuneable constants (width, height, number of rays per pixel, etc) can be found in utils/ray_utils.ml.

To run this code, you need opam and dune. Then you need to install incremental opam install incremental.

This is my second piece of OCaml code ever so keep that in mind. If you have any tips please contact me at pstefek.dev@gmail.com

About

A cursed mashup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published