Simple Ray-Tracing Based Renderer
A naive CPU-based ray-tracing renderer accelerated by OpenMP.
I implemented a CPU-based ray-tracing renderer as the third project of PKU CGI course. This renderer contained simple geometry, material and Monte-Carlo estimation. Though it was quite naive and slow, this project made me get a rough understanding of how ray tracing works.
BTW, this project made me realize the importance of numeric precision. When I used
float, the scene above showed weird result; usingdoublefixed it immediately.