/ray_tracing_the_next_week

nim implementation of Ray Tracing: The Next Week

Primary LanguageNimMIT LicenseMIT

sample image of rendering

This repo. is implementation of Ray Tracing: The Next Week in Nim.

I appreciate the awesome authors for making this material open to the public.

Note

This programs need pixie.

nimble install pixie

The image size and sampling number are set a relatively small number. If you want to change it, edit the values in the src/scene.nim

Compile

cd src
make

Run

make run

Rendered image will be saved in src/outputs/rendered_img.ppm