**Final Project**
Student name: Ting Yan
Motivation
================================================================================
Theme: Something seems a little off.
* Include physical objects contrary to or disobey common sense and intuition.
* Try to find a way to combine two unrelated objects.
My original idea was to create an image where a branch grows from inside an iMac and breaks its screen to reach outside.
http://www.cadnav.com/3d-models/model-32317.html
Sketch of my original idea:
Environment Mapping (`environment.cpp`)
==================================
The environment map I use:
Validation of environment mapping:
Participating Media (`medium_homo.cpp`)
==================
I used phase function of one over four pi for the isotropic homogeneous participating media. Left sphere is lower scattering, right one is higher scattering.
The integrator I used is volumetric path tracer based on BRDF sampling.
Microfacet BRDF (`microfacet.cpp`)
==================
I implemented Beckmann Sampling in order to be used in microfacet BRDF.
Texture Mapping (`image_texture.cpp, diffuse_t.cpp`)
==================
I implemented Texture Mapping based on uv coords from Blender. I did wrapping for continuous surfaces (wood texture, wallpaper).
Final Image
================================================================================
Well, my original idea of the screen cracked by a branch seems too simple for a full image. Then I came up with the idea to substitute keyboard and mouse with...
Models:
* I built the iMac with the cracked glass, room settings in Maya, then exported them to Blender.
* Everything else is downloaded from http://turbosquid.com and http://free3d.com.
Final Image:
The image looks a little bit noisy because of not perfectly converged. This is because I did not use MIS in my integrator. I do have another MIS integrator but it is a little buggy so this is the result rendered based on BRDF sampling.
Materials:
* Texture: Dali's painting, wood floor, wall paper, leaves and stems, window.
* Microfacet: Black keytops of the piano keyboard, the board behind Dali's painting.
* Environment: Outside the window.
* Medium: Red wine.
* Blinn: Mouse surface, white keytops of the piano keyboard, wine glass, iMac screen.