| Home | Resume | Other Projects | Sample Source Code |
Sample Source Code |
| Download Code Samples |
| There are about 2,500 lines of sample code in this zip file spanning several different projects. You can see YouTube videos of several of the projects where these code samples come from over on my Projects page. |
|
Skinned Model Loader/Updater These files show me loading in a boned, skinned model from a DirectX .X file. I can animate the model and switch between different animation sets. |
|
Spline for Animation This Spline class creates a spline from many different curve segments. I build an arc-length table that is used when I want to move an object along the spline. It was used in a project to animate a character along a path. |
|
Reflective/Refractive Water This is the Water class and HLSL shader for creating reflective and refractive water. It also uses the Fresnel Effect and animates a bump map across the surface to give the appearance of ripples. |
|
Physics Simulation This is the creation and physics update of an object made up of mass points. It's all springy and elastic and will bounce around when the two anchor points are moved. It will eventually reach equilibrium and come to rest. |
|
Parallax Occlusion Mapping This is the Parallax Occlusion Mapping class and HLSL shader for creating 2D objects that look to have a 3D texture. |
|
Main Menu State This is the main menu game state for my Senior game. Our main menu is quite simple, but I'm handling it well with event handlers. |