Wednesday, April 23, 2008

Checkpoint 5: Let us reflect on what we have done

Conrad and I got on this one pretty quickly, and got the two images produced. Nasty floating point error slowed this submission down a bit.


The above image is our required image, showing the reflecting sphere.


We also have the extra, whether we need them or not at this point, we are still doing them. Our Ray Tracer allows us to specify the average deviation of the cone of rays, and I've turned it up pretty high so that the effect can be seen.

Thursday, April 17, 2008

GPU Ray Tracing Project Midterm Update



Con and I sat down and did our mid term update for our project. To this point, we've mostly got images that are the equivalent of checkpoint 2 running entirely on the GPU. The above image demonstrates this. The obvious differences is that we've compromised (so far at least) on using an Infinite plane due to data packing restrictions. Getting scene data into a pixel shader in HLSL is one of the challenges of this implementation.

The app runs at approximately 50 frames per second on my desktop machine, which has a Geforce 6600GT. We find that benchmark to be promising, and we're hoping to maintain real-time frame rates on the final version.

Testing is kind of a pain, since it primarily involves rendering different types of data as color information and reading the maps to see what's going wrong. We've rendered pixel perfect depth maps like that so far to diagnose one error we had in implementation.

We're pretty much on track at this point in the quarter for where we wanted to be on this project.

Thursday, April 10, 2008

Checkpoint 4: We don't waste any time!

The above image is our main submission for checkpoint 4. It demonstrates our procedurally textured red/yellow checkboard plane.

The above image is our texture mapped extra, textured with a somewhat pixalated image of Ramona Flowers dancing the Charleston with Scott Pilgrim.

Wednesday, April 9, 2008

Checkpoint 3: Shading Wow

Conrad and I went to work, and produced the following 3 images for this checkpoint.The above image is our required Phong Shaded image.
The above is a Phong-Blinn shaded image, giving us our first extra on this check point.
Finally, we support multiple light sources. The above image has 3 lights, one pure red, one pure blue, and one pure green. This gives us our second extra for this check point.