An Introduction to Ray Tracing (1989)
realtimerendering.com
realtimerendering.com
"I've decided to make pdf's of my ray tracing books available at "pay what you want". This can include zero, which I encourage for students and any other cash-strapped people. 50% of gross proceeds will go to programming education non-for-profits."
Peter Shirley
Understandable RayTracing in 256 lines of bare C++ https://github.com/ssloy/tinyraytracer/wiki
https://github.com/ssloy/tinyraytracer/blob/master/tinyraytr...
I think you could also submit it as a standalone post for more visibility. ;)
Back around 1992 or so I picked up a copy of this book, in hardcover, from a local bookstore (Bookstar - remember them?) - still in plastic wrap.
I was like 19 and naive. I paid something like $80.00 for it.
Opened it up - tried to understand it - the math was well beyond my pay grade.
Still is.
It's been sitting on my shelf every since. Probably the worst book purchase I ever made; had it not been in plastic I could have at least leafed thru it to see that I wouldn't understand it. At the time, $80.00 was a lot for me.
Live and learn, I guess!
:)
That's the very simplest form of raytracing that you could do, then you can add reflection and transparency and other niceties that lead to the splitting of the rays and a summation at each hit.
This is actually reverse raytracing, forward raytracing starts from the lightsource, doing it backwards is an optimization because a lot of the light would end up hitting absorbing surfaces long before it would hit the plane of projection.
https://github.com/melling/ComputerGraphics/blob/master/ray_...