![]() |
download files |
|
|
Simple Window
This program creates a simple window, also it creates our CGameMain class that will be used to manage our direct x examples.
login to download the source files
|
|
|
|
|
Init Direct 3D
This code will create Direct3D device 9, use F1 to toggle between window/fullscreen mode.
login to download the source files
|
|
|
|
|
CTimerAndCFont
This code will build our CFont class that it will be used to display draw our texts, CTimer class is very important class that it will be used as a timing class to animate our objects, make rotations, movements...etc. also it will return how many frame per second our application is displaying.
login to download the source files
|
|
|
|
|
Untextured animated cube
This code will use vertex/index buffer, new classes were added to the code, cube animation.
login to download the source files
|
|
|
|
|
Textured animated cube, First person shooter camera & Direct input
This code contain first person shooter camera, textured cube, ground, the user inputs are managed by Direct input.
login to download the source files
|
|
|
|
|
Sky Box
This code will construct and render skybox as a 6 texutred quads.
login to download the source files
|
|
|
|
|
Simple House
This code will load a direct x file( static mesh ), a useful functions were
added, this scene will be rendered using LOD( level of detail ) rendering.
login to download the source files
|
|
|
|
|
Simple Car
This code will load mesh hierarchy and applying frame of reference.
login to download the source files
|
|
|
Gptutors.com © 2009 - 2012 all rights reserved
