This is my attempt at The Ray Tracer Challenge following this book: The Ray Tracer Challenge - A Test-Driven Guide to Your First 3D Renderer.
My goals are to learn Ray Tracing, math, performance & profiling, and implementing BDD with SpecFlow.
I want to give a shout out to The Morning Brew for having a link to the CodeClimber by Simone Chiaretta. Which was the kick off to this journey.
Naming Convention For primitive objects that collide with .Net BCL will be prefixed with Rt
(Ray Tracer). This started with Color
and Tuple
. Even though the BCL does not have a Matrix
for consistency matrix will have Rt
therefore it is RtMatrix
. Using System
namespace can cause some issues.
Tools CodeRush for refactoring and code clean. NCrunch to automate running test and to provide information relating to code coverage.
- Using .Net 3.0 I was able to implements Intel Intrinsics. I rewrote the Matrix4x4 to use
double
instead offloat
- Linear Algebra from MIT Quality is bad, but great videos and it is MIT need I say more. I pulled to test for Matrices from here.