Simple DirectX demo

Another coursework. Just playing around and getting familiar with DirectX. Modified an example framework to show Planar shadows, Stencil reflections, with use of shaders (Vertex and Pixel shader) and .X model loading. Just simple transformation of the loaded model as well. The shader used was a standard Phong shader. Was pretty fun!!!

Keys for the demo :
W/S/A/D : Camera movement (front, back, left, right)
R/F : Camera up/down
K/L/N/M : Transform car model (up,down,left,right)
C : Reset Car position
V : Reset Camera position

Download the executables and source here :


Source Code

Oh and a sneak preview 😛

Note : If you are using Firefox you must download the Windows Media Plugin for Firefox here to be able to watch videos properly.

[local /wp-content/uploads/2010/05/DirectX-Demo-2010-05-17-18-31-30-49.wmv]


Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.