Thursday, March 7, 2013

Graphics Assignment 8

This assignment was pretty cool and my meshes looks really awesome, especially the medieval looking cube.

Here's my code

Changes:
- Modified the vertex format, mesh file format, MayaExporter and MeshBuilder to add support for tangents and binormals.
- Made changes to the MayaExporter so that the mesh exported is left-handed.
- Modified the material format, to hold normal map texture.
- Changed vertex and fragment shader to calculate light based on the normal map.

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.

Screenshot ( Man, that medieval wall texture looks awesome. ) 


No comments:

Post a Comment