It's a .NET implementation of the ray tracer described in the book. It supports multiple light sources, super-sampling and DOF sampling. But not all together yet. It supports nested and composite patterns as well.
Its main strength is that all horizontal lines are sampled in parallel. So it's pretty speedy even though it's running on a VM (.NET core in this case) and it even beats my Nim implementation (which was supposed to be pretty fast).
I've tried to keep inline with the book while not straying too far from .NET idioms. It should be fairly complete but if there's anything missing I gladly hear about it.
Thanks for the awesome ideas on this forum and the fabulous book. Kind regards,
Hehe, that focal blur turned out to be more of a struggle than I anticipated. Everywhere I looked people said: "it is easy" and it *was* easy once I sat down, drew a few simple lines on paper and thought about it clearly. However, I'm ashamed to admit that it did took me a few days on-and-off banging my head on this problem trying to naively hack it in before I finally "got" it right (more or less).
Also with the bonus material my area lights are in desperate need of an upgrade, I'm really gonna enjoy those extra chapters.