Ray Tracing in One Weekend written in Scala
./make_jar.sh
./run_jar.sh > out.ppm
or
sbt "runMain io.github.nwtgck.ray_tracing_iow.Main out.ppm"
Then you will get out.ppm
image
(Why not sbt run
? Because it contains [info] ...
logs. They aren't useless to use >
redirect.)
Here is useful references.
- iyahoo/clj-ray-tracing (Clojure)
- petershirley/raytracinginoneweekend (C++)