Update rt to utilize new ray sampling functions #2
completed by: Andromeda Galaxy
mentors: Kesha Shah, Deepak
Our main ray tracing application is rt. There are new ray bundling API functions for shooting frustum and rectangular grids of rays. The rt application shoots both depending on whether perspective mode is set or not. For this task, just update one of the two to utilize the corresponding new sampling function.
The goal of this task is to make rt utilize the new ray bundling options instead of manually calculating the rays it needs to fire. You'll replace that main ray dispatch loop calculations with a call to the function and then modify the loop to iterate over the bundle instead.
Implement the "other" one for this task (perspective or orthogonal). Make sure you test rt. ;)