CS 6620 - Fall 2017 - Ray Tracing for Graphics

Project 7 - Textures

Kevin Parker


Final image


Works in Progress

Texturing support to spheres and planes

At my first try, I was only able to get spheres and planes to texture correctly. Here's that result:

Texturing support to meshes

I realized two issues with my triangle mesh rendering support for textures. First, it turns out that the file path to the .obj file and textures were incorrect, so I resolved that. Next, I also resolved a bug that didn't allow the texture value found in individual triangle intersections to be copied over to the overall triangle mesh intersection.

Background image

Next, I got the background image working.

Environment

Finally at the end, I got the environment map working.


Timing

This scene took 1.1 seconds to render.


Machine Specs

MacBook Pro (15-inch, 2016)

2.7 GHz quad-core Intel Core i7 Skylake (6820HQ)

16 GB 2133 MHz LPDDR3 RAM