Parallelised torus ray-tracer, supporting both window and terminal rendering
  • OCaml 98.2%
  • Dune 1.8%
Find a file
2024-06-18 14:31:15 +01:00
bin Proper scaling for terminal, need to make it work for both 2024-04-09 20:12:16 +02:00
lib Proper scaling for terminal, need to make it work for both 2024-04-09 20:12:16 +02:00
test Corrected opam file 2022-10-05 14:29:06 +02:00
.gitignore Updates 2024-04-04 20:58:49 +02:00
.ocamlformat Updates 2024-04-04 20:58:49 +02:00
dune-project Add cmdliner dep 2024-04-09 20:14:12 +02:00
LICENSE Added license and formatted 2022-06-27 20:50:24 +01:00
otorus.opam Add cmdliner dep 2024-04-09 20:14:12 +02:00
README.md README 2024-06-18 14:31:15 +01:00

Otorus

This is a multithreaded torus ray-tracer, with frontends for rendering to a window, or directly in the terminal in real time.

Explanation of multithreading can be found here.

Explanation of terminal rendering can be found here.

Running

$ dune exec -- otorus --terminal
$ dune exec -- otorus --window

The rendered scene can be configured in bin/config.ml, with other parameters in bin/main.ml.

Terminal

Terminal recordings of realtime renders can be found here.

Rendering in the terminal

More rendering in the terminal

Window

Interlocked tori

Olympic rings