Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 743 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 743 Bytes

Multicore OCaml implementation

Multicore OCaml is still in development while this code is being written, so bad performance should be taken lightly.

Requisites

Install Opam and make the development Multicore OCaml switch:

Also: opam install ocamlbuild domainslib

Running

Just make ray.native. The generated ray.native takes the following options, all of which are optional:

  • -m height
  • -n width
  • -f file.ppm
  • -s <rgbbox|irreg>
  • --cores number-of-cores
  • --chunk-size-render chunk-size-of-pixels