Showcase » Ray Tracing Example

Im­ple­men­ta­tion of a sim­ple CPU ray trac­er adapt­ed from Pe­ter Shirley’s book Ray Trac­ing in One Week­end. The cur­rent im­ple­men­ta­tion runs on sin­gle thread and per­forms it­er­a­tive ren­der­ing to re­fine the re­sult. Typ­i­cal­ly, a high qual­i­ty im­age can be achieved af­ter around 100 it­er­a­tions.

Initialization...