This assignment was pretty easy and I did not have any major problems completing it. There was a time when my objects would reflect everything even after setting the reflectivity to zero. I fixed that by negating the camera direction.
Here's the code.
Download
My effect turned out really cool. It starts of as a wobbly mass and slowly transforms into a sine wave of increasing frequency.

Instructions
- Move the light in the x and y plane using W,A,S,D
- Move the light forward and backward using R,F
- Move the camera using the arrow keys.
Changes:
- Modified the scene file format to hold the environment map.
- Modified the material format to hold reflectivity
- Added a new effect, vertex shader and fragment shader for the transparent wobbly effect.
- Made changes to the renderer flow so that the opaque entities are drawn first and rendered to a texture, which can be used by the translucent entities to perform interesting effects.
PIX Screenshot
Here's the code.
Download
My effect turned out really cool. It starts of as a wobbly mass and slowly transforms into a sine wave of increasing frequency.

Instructions
- Move the light in the x and y plane using W,A,S,D
- Move the light forward and backward using R,F
- Move the camera using the arrow keys.
Changes:
- Modified the scene file format to hold the environment map.
- Modified the material format to hold reflectivity
- Added a new effect, vertex shader and fragment shader for the transparent wobbly effect.
- Made changes to the renderer flow so that the opaque entities are drawn first and rendered to a texture, which can be used by the translucent entities to perform interesting effects.
PIX Screenshot





