https://github.com/matcool/raytracing-nim
Basic raytracer done in nim based off https://raytracing.github.io/
https://github.com/matcool/raytracing-nim
Last synced: 4 months ago
JSON representation
Basic raytracer done in nim based off https://raytracing.github.io/
- Host: GitHub
- URL: https://github.com/matcool/raytracing-nim
- Owner: matcool
- License: mit
- Created: 2019-10-10T18:11:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-12T04:24:55.000Z (over 5 years ago)
- Last Synced: 2024-12-28T16:44:48.813Z (5 months ago)
- Language: Nim
- Size: 3.89 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nim Raytracer
Nim implementation of an raytracer from the book [Ray tracing in one weekend](https://raytracing.github.io/books/RayTracingInOneWeekend.html).\
Code is also multithread
Default code renders a 1280x720 image with 128 samples (these values can be changed on line 62 of `raytracing.nim`).
# Building
As there is no external depdencies, you just compile with
```
nim compile -d:release --threads:on raytracing.nim
```