Re:Lines of bare C++: raytracing made simple
by dragontamer on Sunday January 20, 2019 @07:34PM
(#18956610)
Smallpt is another project which has been written and rewritten to demonstrate raytracing.
It really shows how simple the core concept is. All of these programs are well under 300 lines.
Faster ray tracers have better data structures and more bsdf functions. But regardless, the real benefit of raytracing is the simplicity of the concept.
It really shows how simple the core concept is. All of these programs are well under 300 lines.
Faster ray tracers have better data structures and more bsdf functions. But regardless, the real benefit of raytracing is the simplicity of the concept.