Commit 2d773f6a authored by Hui Wang's avatar Hui Wang
Browse files

Update camera_rays.md

parent 9803c975
...@@ -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.
## Step 3: `Pathtracer::trace_pixel` → Super-sampling ## Step 3: `Pathtracer::trace_pixel` → Super-sampling
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment