What is the difference between Radiosity and Ray Tracing?
I found the below PDF material (Resource from MIT) provides a good answer to this question:
Radiosity and Ray Tracing?I found the below PDF material (Resource from MIT) provides a good answer to this question:
Ray tracer and Path tracerHere are the useful resources about ray tracing I found today:
CPU ray tracer using C++ (by Peter Shirley): https://raytracing.github.io/
(I also highly recommend his ray tracing book: Advanced Global Iluumination, which explained the theory of tracing in math-physical formula real nice.)
GPU ray tracer using Vulkan: https://github.com/grigoryoskin/vulkan-compute-ray-tracing
Instead of doing ray tracing, we can optimize the calculation by only caring about the camera's input - we get a method named path tracing. Let's see how Disney explains the theory: Disney's Hyperion Renderer
CUDA path tracer (by YINING KARL LI): https://www.yiningkarlli.com/projects/gpupathtracer.html
Try-catch"
Try-catchshould never replace proper control flow. Don’t use it to handle null references or check for empty lists. It’s not meant for regular logic — it’s meant for unpredictable failures like file I/O, networking, reflection, or untrusted input."