Ziyi Wang
CSC 473 Ray Tracer

Features

Sphere Map 1 Sphere Map 1
Sphere Map 2 Sphere Map 2
Sphere Map 3 Sphere Map 3
Plane Map 1 Plane Map 1

Normal Mapping

The final project includes support for normal mapping on both sphere and plane objects. In 3D computer graphics, normal mapping, or Dot3 bump mapping, is a texture mapping technique used for faking the lighting of bumps and dents – an implementation of bump mapping. It is used to add details without using more polygons.

Short Focal Length Close Focal Length
Long Focal Length Far Focal Length
Small Aperture Small Aperture
Large Aperture Large Aperture

Depth of field

The depth of field is controlled by 2 variables: focal length and Aperture. The focal length of the lens is the distance between the lens and the image sensor when the subject is in focus. The aperture can add dimension to your photos by controlling depth of field.

Sandwich Refraction
Steak Reflection
Cherries Texture Mapping
Cherries Translate and Transform

Other features

Other features include refraction, reflection and texture mapping of the surface. A phong diffused rendering model is also supported by the program. In addition, the program also allows scale, rotate and translate for all objects.


Performance

Bounding Volume Hierarchy

A bounding volume hierarchy (BVH) is a tree structure on a set of geometric objects.It is used to support several operations on sets of geometric objects efficiently, such as in collision detection and ray tracing. After implementing the tree structure the raytracing has become a lot faster


Sample Renders

1 / 3
2 / 3
3 / 3