A few years ago in uni I wrote a ray tracer in C ++, but now I remember almost nothing. Just for fun, I decided to try writing a ray tracer again, this time in C #. But, unfortunately, I'm starting to start by translating from the camera coordinates to world coordinates.
Can anyone recommend me a good set of tutorials on writing rays from scratch? My knowledge of mathematics is quite simple, so I need to retrain the matrix multiplication involved in the development when the point on the screen is in 3D space to shed a ray through it.
Intersection with shapes and shading parts I think I can come up with, but I need to get back to the basics of translating the camera.
Thanks!
source share