https://github.com/johnnovak/ao
Physically based ray tracer in Nim
https://github.com/johnnovak/ao
graphics graphics-programming nim nim-lang pbrt raytracing
Last synced: about 1 month ago
JSON representation
Physically based ray tracer in Nim
- Host: GitHub
- URL: https://github.com/johnnovak/ao
- Owner: johnnovak
- Created: 2017-06-07T09:41:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-21T09:51:12.000Z (almost 7 years ago)
- Last Synced: 2025-04-09T16:17:40.460Z (about 1 month ago)
- Topics: graphics, graphics-programming, nim, nim-lang, pbrt, raytracing
- Language: Nim
- Homepage:
- Size: 737 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ao
*Physically based ray tracer in Nim*
> "In the Polynesian mythology of the Maori, Ao ("daylight") is one of the
primal deities who are the unborn forces of nature. Ao is the
personification of light and the ordinary world, as opposed to darkness and
the underworld. He is spoken of under many forms or manifestations,
including Aoturoa, “enduring day, this world,” Aomarama, “bright day, world
of light and life”. With his companions, Ata, “morning,” and Whaitua,
“space,” Ao resists the forces of darkness."
[(source)](http://everythingunderthemoon.net/forum/comprehensive-list-gods-goddesses-worldwide-t20390.html)## Overview
**Ao** is a Nim implementation of [pbrt](http://www.pbrt.org/), the famous
physically based ray tracer. I am adding bits and pieces as I'm progressing
with reading the book, which is going at a leisurely pace as I'm doing this in
my free time for enjoyment.You can follow the development at [my blog](http://blog.johnnovak.net/tag/Ao)
if you're interested.Requires [devel branch Nim](https://github.com/nim-lang/Nim#compiling).
I regularly test the code on Windows, Linux and Mac OS X.## Tests
To run all the unit tests:
```
nim c -r test/allTests
```