为什么要Ray Tracing?
光线:
Tracing:从相机出发,向场景投射光线
Ray Casting:
Generate an image by casting one ray per pixel
从眼睛出发,经过像素点,射向场景
判断最近碰撞物体,Shading计算颜色
Check for shadows by sending a ray to the light
光线弹射多次:Recursive (Whitted-Style) Ray Tracing