2 ms·
Ray tracing is relatively easy to understand, it's not ray tracing that is actually complicated. Ray tracing is simply sending out rays from the virtual camera,
by zamadatix 8y ago
Ray tracing is relatively easy to understand, it's not ray tracing that is actually complicated. Ray tracing is simply sending out rays from the virtual camera, seeing what they hit along the way, and calculating the lighting effects of the materials and light sources when you hit those things. In the end you've simulated a sample of light that hit the camera. Repeat a couple million times and you've got an accurate picture of what the virtual scene looks like.
"Normal" computer graphics is comprised of doing every dirty shortcut trick you can imagine to avoid tracing hundreds of millions of rays per second while still having some semblance of lighting effects in the virtual scene.
- sdwisely 8y agosome good eli5s here, just adding for the grandparent post to remember that light bounces so the calculations get rather iterative and expensive.
- signa11 8y agoalso, don't forget that the nature of material also influences how light behaves e.g. scattering, reflection, refraction etc. etc. and depending on the scene, computations can be quite expensive...