Difficulty |
2 |
Prerequisites |
|
Reading material |
|
1. Implementation
Your ray tracer comes with code that is able to read mesh files.
However, it does not translate the file data into an actual Primitive: you still need to write code yourself that creates the necessary Triangles and BoundingBoxAccelerators.
|
Create files
|
2. Evaluation
|
Recreate this scene using a mesh: You will have to manually create a mesh file to represent this pyramid. |
|
Show that if given a wrong path, this error is caught and a message |