To begin, I decided to take my original ray tracer I wrote in csc305 and rewrite. I modularized the code by splitting it into classes. In total, I have the following classes: Scene, SceneObject, Camera, Lights, Color and Vector. Hopefully this will make implementing a kd-tree easier.
Below is an image produced by my ray tracer.
So far, I have only implemented spheres and planes. I wish to later include triangles.
No comments:
Post a Comment