Wednesday, April 30, 2008

Checkpoint 5: Reflection

Here's an image with a perfectly reflected ball.



Here's an image with a semi-reflective ball.

Friday, April 18, 2008

Monday, April 14, 2008

Checkpoint 3: Basic Shading Bonus




We added support for multiple light sources.

Here's the data for the added light:

2nd Light position = { -2.0f, 4.0f, 15.0f }
2nd Light direction = { -0.2f, 1.2f, -1.0f }
2nd Light angle = 50 degrees

Checkpoint 3: Basic Shading




The following coordinates have changed for a better image:

lookAt = { 0.0f, 25.0f, 15.0f }

Light position = { 10.0f, 40.0f, 35.0f }