@@ -24,7 +24,7 @@ Implement `Camera::generate_ray`. This function should return a ray **in world s
...
@@ -24,7 +24,7 @@ Implement `Camera::generate_ray`. This function should return a ray **in world s
Note that the camera maintains camera-space-to-world space transform matrix `iview` that you will need to use in order to get the new ray back into **world space**.
Note that the camera maintains camera-space-to-world space transform matrix `iview` that you will need to use in order to get the new ray back into **world space**.
Once you have implemented `Pathtracer::trace_pixel`, `Rect::Uniform::sample` and `Camera::generate_ray`ou should now have a camera that can shoot rays into the scene! See the
Once you have implemented `Pathtracer::trace_pixel`, `Samplers::Rect::sample` and `Camera::generate_ray`ou should now have a camera that can shoot rays into the scene! See the
**Raytracing Visualization** below to confirm this.
**Raytracing Visualization** below to confirm this.