CSE 168 Final Project

Chihlun Hu

Features

I use the miro base code as my base to improve. I added in several feature during the course as follows:

Path tracing

I implemented Monte Carlo sampling on both the distriution of the bounced ray and the generation of primary rays.

Procedural Texture and Bump Mapping

For the floor I used Fractional Brownian motion with multi-ocatave to create the texture. For the golf ball, what I am trying to do is putting dark spot evenly across the sphere so with bump mapping those spot will sink into the sphere to achieve a golf ball like effect.

Left image with bump mapping on, Middle image without bump mapping, Below are 2 clearer examples of bump mapping

Depth-of-field

Left with Depth-of-field and Right without

Environment Mapping and Specular Reflection

Here are 2 examples of specular reflection working with environment mapping

Misc image

Here is one image I like but with no technological importance.

Final Image

My final images is a picture of two golf like balls sitting on a marble floor at the Uffizi Gallery.