
File list:
Examples
.......\Examples
.......\........\Chapter 10
.......\........\..........\Example 10.1
.......\........\..........\............\Debug
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\heightmaps
.......\........\..........\............\.....\..........\four_players.jpg

.......\........\..........\............\.....\..........\Thumbs.db
.......\........\..........\............\.....\meshes
.......\........\..........\............\.....\......\barracks.dds
.......\........\..........\............\.....\......\barracks.X
.......\........\..........\............\.....\......\roof.dds
.......\........\..........\............\.....\......\stone.jpg

.......\........\..........\............\.....\......\stone.x
.......\........\..........\............\.....\......\Thumbs.db
.......\........\..........\............\.....\......\tower.dds
.......\........\..........\............\.....\......\tower.X
.......\........\..........\............\.....\......\townhall.dds
.......\........\..........\............\.....\......\townhall.x
.......\........\..........\............\.....\......\tree.jpg

.......\........\..........\............\.....\......\tree.x
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\FogOfWar.ps
.......\........\..........\............\.....\.......\lighting.vs
.......\........\..........\............\.....\.......\objects.ps
.......\........\..........\............\.....\.......\objects.vs
.......\........\..........\............\.....\.......\teamCol.ps
.......\........\..........\............\.....\.......\terrain.ps
.......\........\..........\............\.....\.......\terrain.vs
.......\........\..........\............\.....\.......\visited.ps
.......\........\..........\............\.....\textures
.......\........\..........\............\.....\........\grass.jpg

.......\........\..........\............\.....\........\mountain.jpg

.......\........\..........\............\.....\........\snow.jpg

.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\Units
.......\........\..........\............\.....\.....\drone.dds
.......\........\..........\............\.....\.....\drone.X
.......\........\..........\............\.....\.....\magician.dds
.......\........\..........\............\.....\.....\magician.X
.......\........\..........\............\.....\.....\soldier.dds
.......\........\..........\............\.....\.....\soldier.X
.......\........\..........\............\.....\Example 10-1.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\building.cpp
.......\........\..........\............\building.h
.......\........\..........\............\camera.cpp
.......\........\..........\............\camera.h
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\Example 10.1.vcproj
.......\........\..........\............\heightMap.cpp
.......\........\..........\............\heightMap.h
.......\........\..........\............\intpoint.h
.......\........\..........\............\mapObject.cpp
.......\........\..........\............\mapObject.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\object.cpp
.......\........\..........\............\object.h
.......\........\..........\............\player.cpp
.......\........\..........\............\player.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\..........\............\terrain.cpp
.......\........\..........\............\terrain.h
.......\........\..........\............\unit.cpp
.......\........\..........\............\unit.h
.......\........\Chapter 11
.......\........\..........\Example 11.1
.......\........\..........\............\Debug
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\heightmaps
.......\........\..........\............\.....\..........\four_players.jpg

.......\........\..........\............\.....\..........\Thumbs.db
.......\........\..........\............\.....\meshes
.......\........\..........\............\.....\......\barracks.dds
.......\........\..........\............\.....\......\barracks.X
.......\........\..........\............\.....\......\roof.dds
.......\........\..........\............\.....\......\stone.jpg

.......\........\..........\............\.....\......\stone.x
.......\........\..........\............\.....\......\Thumbs.db
.......\........\..........\............\.....\......\tower.dds
.......\........\..........\............\.....\......\tower.X
.......\........\..........\............\.....\......\townhall.dds
.......\........\..........\............\.....\......\townhall.x
.......\........\..........\............\.....\......\tree.jpg

.......\........\..........\............\.....\......\tree.x
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\FogOfWar.ps
.......\........\..........\............\.....\.......\lighting.vs
.......\........\..........\............\.....\.......\minimap.ps
.......\........\..........\............\.....\.......\objects.ps
.......\........\..........\............\.....\.......\objects.vs
.......\........\..........\............\.....\.......\teamCol.ps
.......\........\..........\............\.....\.......\terrain.ps
.......\........\..........\............\.....\.......\terrain.vs
.......\........\..........\............\.....\.......\visited.ps
.......\........\..........\............\.....\textures
.......\........\..........\............\.....\........\grass.jpg

.......\........\..........\............\.....\........\minimap.dds
.......\........\..........\............\.....\........\mountain.jpg

.......\........\..........\............\.....\........\snow.jpg

.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\Units
.......\........\..........\............\.....\.....\drone.dds
.......\........\..........\............\.....\.....\drone.X
.......\........\..........\............\.....\.....\magician.dds
.......\........\..........\............\.....\.....\magician.X
.......\........\..........\............\.....\.....\soldier.dds
.......\........\..........\............\.....\.....\soldier.X
.......\........\..........\............\.....\Example 11-1.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\building.cpp
.......\........\..........\............\building.h
.......\........\..........\............\camera.cpp
.......\........\..........\............\camera.h
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\Example 11.1.vcproj
.......\........\..........\............\heightMap.cpp
.......\........\..........\............\heightMap.h
.......\........\..........\............\intpoint.h
.......\........\..........\............\mapObject.cpp
.......\........\..........\............\mapObject.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\object.cpp
.......\........\..........\............\object.h
.......\........\..........\............\player.cpp
.......\........\..........\............\player.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\..........\............\terrain.cpp
.......\........\..........\............\terrain.h
.......\........\..........\............\unit.cpp
.......\........\..........\............\unit.h
.......\........\Chapter 12
.......\........\..........\Example 12.1
.......\........\..........\............\Debug
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\effect.ps
.......\........\..........\............\.....\.......\effect.vs
.......\........\..........\............\.....\.......\lighting.vs
.......\........\..........\............\.....\.......\teamCol.ps
.......\........\..........\............\.....\Textures
.......\........\..........\............\.....\........\cloud.dds
.......\........\..........\............\.....\........\runes.dds
.......\........\..........\............\.....\Units
.......\........\..........\............\.....\.....\magician.dds
.......\........\..........\............\.....\.....\magician.X
.......\........\..........\............\.....\Example 12-1.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\effect.cpp
.......\........\..........\............\effect.h
.......\........\..........\............\Example 12.1.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\..........\Example 12.2
.......\........\..........\............\Debug
.......\........\..........\............\.....\Meshes
.......\........\..........\............\.....\......\target.X
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\effect.ps
.......\........\..........\............\.....\.......\effect.vs
.......\........\..........\............\.....\.......\lighting.vs
.......\........\..........\............\.....\.......\teamCol.ps
.......\........\..........\............\.....\Textures
.......\........\..........\............\.....\........\cloud.dds
.......\........\..........\............\.....\........\fireball.dds
.......\........\..........\............\.....\........\runes.dds
.......\........\..........\............\.....\Units
.......\........\..........\............\.....\.....\magician.dds
.......\........\..........\............\.....\.....\magician.X
.......\........\..........\............\.....\Example 12-2.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\effect.cpp
.......\........\..........\............\effect.h
.......\........\..........\............\Example 12.2.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\..........\Example 12.3
.......\........\..........\............\Debug
.......\........\..........\............\.....\Meshes
.......\........\..........\............\.....\......\floor.X
.......\........\..........\............\.....\......\stone.jpg

.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\effect.ps
.......\........\..........\............\.....\.......\effect.vs
.......\........\..........\............\.....\Textures
.......\........\..........\............\.....\........\star.dds
.......\........\..........\............\.....\Example 12-3.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\effect.cpp
.......\........\..........\............\effect.h
.......\........\..........\............\Example 12.3.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\particles.cpp
.......\........\..........\............\particles.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\..........\Example 12.4
.......\........\..........\............\Debug
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\effect.ps
.......\........\..........\............\.....\.......\effect.vs
.......\........\..........\............\.....\Textures
.......\........\..........\............\.....\........\skybox_BK.jpg

.......\........\..........\............\.....\........\skybox_DN.jpg

.......\........\..........\............\.....\........\skybox_FR.jpg

.......\........\..........\............\.....\........\skybox_LF.jpg

.......\........\..........\............\.....\........\skybox_RT.jpg

.......\........\..........\............\.....\........\skybox_UP.jpg

.......\........\..........\............\.....\Example 12-4.exe
.......\........\..........\............\Skybox
.......\........\..........\............\......\heightmap.bmp

.......\........\..........\............\......\skybox.max
.......\........\..........\............\......\skybox_BK.jpg

.......\........\..........\............\......\skybox_DN.jpg

.......\........\..........\............\......\skybox_FR.jpg

.......\........\..........\............\......\skybox_LF.jpg

.......\........\..........\............\......\skybox_RT.jpg

.......\........\..........\............\......\skybox_UP.jpg

.......\........\..........\............\......\Thumbs.db
.......\........\..........\............\app.cpp
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\Example 12.4.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\skybox.cpp
.......\........\..........\............\skybox.h
.......\........\..........\Example 12.5
.......\........\..........\............\Debug
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\meshes
.......\........\..........\............\.....\......\stone.jpg

.......\........\..........\............\.....\......\stone.x
.......\........\..........\............\.....\......\Thumbs.db
.......\........\..........\............\.....\......\tree.jpg

.......\........\..........\............\.....\......\tree.x
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\objects.ps
.......\........\..........\............\.....\.......\objects.vs
.......\........\..........\............\.....\.......\terrain.ps
.......\........\..........\............\.....\.......\terrain.vs
.......\........\..........\............\.....\textures
.......\........\..........\............\.....\........\grass.jpg

.......\........\..........\............\.....\........\mountain.jpg

.......\........\..........\............\.....\........\snow.jpg

.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\Example 12-5.exe
.......\........\..........\............\.....\Thumbs.db
.......\........\..........\............\app.cpp
.......\........\..........\............\camera.cpp
.......\........\..........\............\camera.h
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\Example 12.5.vcproj
.......\........\..........\............\heightMap.cpp
.......\........\..........\............\heightMap.h
.......\........\..........\............\intpoint.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\object.cpp
.......\........\..........\............\object.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skybox.cpp
.......\........\..........\............\skybox.h
.......\........\..........\............\terrain.cpp
.......\........\..........\............\terrain.h
.......\........\..........\Example 12.6
.......\........\..........\............\Debug
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\effect.ps
.......\........\..........\............\.....\.......\effect.vs
.......\........\..........\............\.....\Textures
.......\........\..........\............\.....\........\lensflare.dds
.......\........\..........\............\.....\........\skybox_BK.jpg

.......\........\..........\............\.....\........\skybox_DN.jpg

.......\........\..........\............\.....\........\skybox_FR.jpg

.......\........\..........\............\.....\........\skybox_LF.jpg

.......\........\..........\............\.....\........\skybox_RT.jpg

.......\........\..........\............\.....\........\skybox_UP.jpg

.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\Example 12-6.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\effect.cpp
.......\........\..........\............\effect.h
.......\........\..........\............\Example 12.6.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\..........\............\skybox.cpp
.......\........\..........\............\skybox.h
.......\........\..........\Example 12.7
.......\........\..........\............\Building
.......\........\..........\............\........\townhall_b.max
.......\........\..........\............\........\townhall_b.x
.......\........\..........\............\........\wood.dds
.......\........\..........\............\Debug
.......\........\..........\............\.....\Meshes
.......\........\..........\............\.....\......\roof.dds
.......\........\..........\............\.....\......\townhall.dds
.......\........\..........\............\.....\......\townhall.x
.......\........\..........\............\.....\......\townhall_b.x
.......\........\..........\............\.....\......\wood.dds
.......\........\..........\............\.....\Example 12-7.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\Example 12.7.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\Example 12.8
.......\........\..........\............\Debug
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\Meshes
.......\........\..........\............\.....\......\roof.dds
.......\........\..........\............\.....\......\townhall.dds
.......\........\..........\............\.....\......\townhall.x
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\effect.ps
.......\........\..........\............\.....\.......\effect.vs
.......\........\..........\............\.....\.......\fire.ps
.......\........\..........\............\.....\.......\fire.vs
.......\........\..........\............\.....\.......\lighting.vs
.......\........\..........\............\.....\.......\teamCol.ps
.......\........\..........\............\.....\Textures
.......\........\..........\............\.....\........\fire.dds
.......\........\..........\............\.....\........\noise.dds
.......\........\..........\............\.....\........\smoke.dds
.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\Example 12-8.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\camera.cpp
.......\........\..........\............\camera.h
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\effect.cpp
.......\........\..........\............\effect.h
.......\........\..........\............\Example 12.8.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\particles.cpp
.......\........\..........\............\particles.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\Chapter 13
.......\........\..........\Example 13.1
.......\........\..........\............\Debug
.......\........\..........\............\.....\cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\Sounds
.......\........\..........\............\.....\......\sound1.wav
.......\........\..........\............\.....\......\sound2.wav
.......\........\..........\............\.....\......\sound3.wav
.......\........\..........\............\.....\textures
.......\........\..........\............\.....\........\sounds.jpg

.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\Example 13-1.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\Example 13.1.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\sound.cpp
.......\........\..........\............\sound.h
.......\........\..........\Example 13.2
.......\........\..........\............\Debug
.......\........\..........\............\.....\cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\Music
.......\........\..........\............\.....\.....\song1.mp3
.......\........\..........\............\.....\.....\song2.mp3
.......\........\..........\............\.....\Textures
.......\........\..........\............\.....\........\mp3Player.bmp

.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\Example 13-2.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\Example 13.2.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\sound.cpp
.......\........\..........\............\sound.h
.......\........\Chapter 14
.......\........\..........\Example 14.1
.......\........\..........\............\Debug
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\heightmaps
.......\........\..........\............\.....\..........\four_players.jpg

.......\........\..........\............\.....\..........\Thumbs.db
.......\........\..........\............\.....\meshes
.......\........\..........\............\.....\......\barracks.dds
.......\........\..........\............\.....\......\barracks.X
.......\........\..........\............\.....\......\barracks_b.X
.......\........\..........\............\.....\......\roof.dds
.......\........\..........\............\.....\......\stone.jpg

.......\........\..........\............\.....\......\stone.x
.......\........\..........\............\.....\......\Thumbs.db
.......\........\..........\............\.....\......\tower.dds
.......\........\..........\............\.....\......\tower.X
.......\........\..........\............\.....\......\tower_b.X
.......\........\..........\............\.....\......\townhall.dds
.......\........\..........\............\.....\......\townhall.x
.......\........\..........\............\.....\......\townhall_b.x
.......\........\..........\............\.....\......\tree.jpg

.......\........\..........\............\.....\......\tree.x
.......\........\..........\............\.....\......\wood.dds
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\effect.ps
.......\........\..........\............\.....\.......\effect.vs
.......\........\..........\............\.....\.......\fire.ps
.......\........\..........\............\.....\.......\fire.vs
.......\........\..........\............\.....\.......\FogOfWar.ps
.......\........\..........\............\.....\.......\lighting.vs
.......\........\..........\............\.....\.......\minimap.ps
.......\........\..........\............\.....\.......\objects.ps
.......\........\..........\............\.....\.......\objects.vs
.......\........\..........\............\.....\.......\teamCol.ps
.......\........\..........\............\.....\.......\terrain.ps
.......\........\..........\............\.....\.......\terrain.vs
.......\........\..........\............\.....\.......\visited.ps
.......\........\..........\............\.....\textures
.......\........\..........\............\.....\........\cloud.dds
.......\........\..........\............\.....\........\fire.dds
.......\........\..........\............\.....\........\fireball.dds
.......\........\..........\............\.....\........\grass.jpg

.......\........\..........\............\.....\........\lensflare.dds
.......\........\..........\............\.....\........\minimap.dds
.......\........\..........\............\.....\........\mountain.jpg

.......\........\..........\............\.....\........\noise.dds
.......\........\..........\............\.....\........\runes.dds
.......\........\..........\............\.....\........\selected.dds
.......\........\..........\............\.....\........\smoke.dds
.......\........\..........\............\.....\........\snow.jpg

.......\........\..........\............\.....\........\star.dds
.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\........\training.dds
.......\........\..........\............\.....\........\ui.dds
.......\........\..........\............\.....\Units
.......\........\..........\............\.....\.....\drone.dds
.......\........\..........\............\.....\.....\drone.X
.......\........\..........\............\.....\.....\magician.dds
.......\........\..........\............\.....\.....\magician.X
.......\........\..........\............\.....\.....\soldier.dds
.......\........\..........\............\.....\.....\soldier.X
.......\........\..........\............\.....\Example 14-1.exe
.......\........\..........\............\action.cpp
.......\........\..........\............\action.h
.......\........\..........\............\app.cpp
.......\........\..........\............\building.cpp
.......\........\..........\............\building.h
.......\........\..........\............\camera.cpp
.......\........\..........\............\camera.h
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\effect.cpp
.......\........\..........\............\effect.h
.......\........\..........\............\Example 14.1.vcproj
.......\........\..........\............\GroupAI.cpp
.......\........\..........\............\GroupAI.h
.......\........\..........\............\heightMap.cpp
.......\........\..........\............\heightMap.h
.......\........\..........\............\intpoint.h
.......\........\..........\............\mapObject.cpp
.......\........\..........\............\mapObject.h
.......\........\..........\............\MasterAI.cpp
.......\........\..........\............\MasterAI.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\object.cpp
.......\........\..........\............\object.h
.......\........\..........\............\particles.cpp
.......\........\..........\............\particles.h
.......\........\..........\............\player.cpp
.......\........\..........\............\player.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\..........\............\StrategyMap.cpp
.......\........\..........\............\StrategyMap.h
.......\........\..........\............\terrain.cpp
.......\........\..........\............\terrain.h
.......\........\..........\............\unit.cpp
.......\........\..........\............\unit.h
.......\........\Chapter 15
.......\........\..........\Example 15.1
.......\........\..........\............\Debug
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\Textures
.......\........\..........\............\.....\........\background.jpg

.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\........\UI.dds
.......\........\..........\............\.....\Example 15-1.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\Example 15.1.vcproj
.......\........\..........\............\intpoint.h
.......\........\..........\............\lobby.cpp
.......\........\..........\............\lobby.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\network.cpp
.......\........\..........\............\network.h
.......\........\..........\............\network_messages.h
.......\........\..........\Example 15.2
.......\........\..........\............\Debug
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\heightmaps
.......\........\..........\............\.....\..........\four_players.jpg

.......\........\..........\............\.....\..........\Thumbs.db
.......\........\..........\............\.....\meshes
.......\........\..........\............\.....\......\barracks.dds
.......\........\..........\............\.....\......\barracks.X
.......\........\..........\............\.....\......\roof.dds
.......\........\..........\............\.....\......\stone.jpg

.......\........\..........\............\.....\......\stone.x
.......\........\..........\............\.....\......\Thumbs.db
.......\........\..........\............\.....\......\tower.dds
.......\........\..........\............\.....\......\tower.X
.......\........\..........\............\.....\......\townhall.dds
.......\........\..........\............\.....\......\townhall.x
.......\........\..........\............\.....\......\tree.jpg

.......\........\..........\............\.....\......\tree.x
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\lighting.vs
.......\........\..........\............\.....\.......\objects.ps
.......\........\..........\............\.....\.......\objects.vs
.......\........\..........\............\.....\.......\teamCol.ps
.......\........\..........\............\.....\.......\terrain.ps
.......\........\..........\............\.....\.......\terrain.vs
.......\........\..........\............\.....\Textures
.......\........\..........\............\.....\........\background.jpg

.......\........\..........\............\.....\........\grass.jpg

.......\........\..........\............\.....\........\mountain.jpg

.......\........\..........\............\.....\........\snow.jpg

.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\........\UI.dds
.......\........\..........\............\.....\Units
.......\........\..........\............\.....\.....\drone.dds
.......\........\..........\............\.....\.....\drone.X
.......\........\..........\............\.....\.....\magician.dds
.......\........\..........\............\.....\.....\magician.X
.......\........\..........\............\.....\.....\soldier.dds
.......\........\..........\............\.....\.....\soldier.X
.......\........\..........\............\.....\Example 15-2.exe
.......\........\..........\............\app.cpp
.......\........\..........\............\app.h
.......\........\..........\............\building.cpp
.......\........\..........\............\building.h
.......\........\..........\............\camera.cpp
.......\........\..........\............\camera.h
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\Example 15.2.vcproj
.......\........\..........\............\heightMap.cpp
.......\........\..........\............\heightMap.h
.......\........\..........\............\intpoint.h
.......\........\..........\............\lobby.cpp
.......\........\..........\............\lobby.h
.......\........\..........\............\mapObject.cpp
.......\........\..........\............\mapObject.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\network.cpp
.......\........\..........\............\network.h
.......\........\..........\............\network_messages.h
.......\........\..........\............\object.cpp
.......\........\..........\............\object.h
.......\........\..........\............\player.cpp
.......\........\..........\............\player.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\..........\............\terrain.cpp
.......\........\..........\............\terrain.h
.......\........\..........\............\unit.cpp
.......\........\..........\............\unit.h
.......\........\Chapter 16
.......\........\..........\Example 16.1
.......\........\..........\............\Debug
.......\........\..........\............\.....\Avi
.......\........\..........\............\.....\...\intro.avi
.......\........\..........\............\.....\Cursor
.......\........\..........\............\.....\......\cursor.dds
.......\........\..........\............\.....\heightmaps
.......\........\..........\............\.....\..........\four_players.jpg

.......\........\..........\............\.....\..........\Thumbs.db
.......\........\..........\............\.....\meshes
.......\........\..........\............\.....\......\barracks.dds
.......\........\..........\............\.....\......\barracks.X
.......\........\..........\............\.....\......\barracks_b.X
.......\........\..........\............\.....\......\roof.dds
.......\........\..........\............\.....\......\stone.jpg

.......\........\..........\............\.....\......\stone.x
.......\........\..........\............\.....\......\Thumbs.db
.......\........\..........\............\.....\......\tower.dds
.......\........\..........\............\.....\......\tower.X
.......\........\..........\............\.....\......\tower_b.X
.......\........\..........\............\.....\......\townhall.dds
.......\........\..........\............\.....\......\townhall.x
.......\........\..........\............\.....\......\townhall_b.x
.......\........\..........\............\.....\......\tree.jpg

.......\........\..........\............\.....\......\tree.x
.......\........\..........\............\.....\......\wood.dds
.......\........\..........\............\.....\Music
.......\........\..........\............\.....\.....\intro.mp3
.......\........\..........\............\.....\.....\song1.mp3
.......\........\..........\............\.....\.....\song2.mp3
.......\........\..........\............\.....\Shaders
.......\........\..........\............\.....\.......\effect.ps
.......\........\..........\............\.....\.......\effect.vs
.......\........\..........\............\.....\.......\fire.ps
.......\........\..........\............\.....\.......\fire.vs
.......\........\..........\............\.....\.......\FogOfWar.ps
.......\........\..........\............\.....\.......\lighting.vs
.......\........\..........\............\.....\.......\minimap.ps
.......\........\..........\............\.....\.......\objects.ps
.......\........\..........\............\.....\.......\objects.vs
.......\........\..........\............\.....\.......\teamCol.ps
.......\........\..........\............\.....\.......\terrain.log
.......\........\..........\............\.....\.......\terrain.ps
.......\........\..........\............\.....\.......\terrain.vs
.......\........\..........\............\.....\.......\visited.ps
.......\........\..........\............\.....\textures
.......\........\..........\............\.....\........\cloud.dds
.......\........\..........\............\.....\........\fire.dds
.......\........\..........\............\.....\........\fireball.dds
.......\........\..........\............\.....\........\grass.jpg

.......\........\..........\............\.....\........\lensflare.dds
.......\........\..........\............\.....\........\menu.jpg

.......\........\..........\............\.....\........\menuButtons.dds
.......\........\..........\............\.....\........\minimap.dds
.......\........\..........\............\.....\........\mountain.jpg

.......\........\..........\............\.....\........\noise.dds
.......\........\..........\............\.....\........\runes.dds
.......\........\..........\............\.....\........\selected.dds
.......\........\..........\............\.....\........\smoke.dds
.......\........\..........\............\.....\........\snow.jpg

.......\........\..........\............\.....\........\star.dds
.......\........\..........\............\.....\........\Thumbs.db
.......\........\..........\............\.....\........\training.dds
.......\........\..........\............\.....\........\ui.dds
.......\........\..........\............\.....\Units
.......\........\..........\............\.....\.....\drone.dds
.......\........\..........\............\.....\.....\drone.X
.......\........\..........\............\.....\.....\magician.dds
.......\........\..........\............\.....\.....\magician.X
.......\........\..........\............\.....\.....\soldier.dds
.......\........\..........\............\.....\.....\soldier.X
.......\........\..........\............\.....\debug.txt
.......\........\..........\............\.....\Example 16-1.exe
.......\........\..........\............\action.cpp
.......\........\..........\............\action.h
.......\........\..........\............\app.cpp
.......\........\..........\............\avi.cpp
.......\........\..........\............\avi.h
.......\........\..........\............\building.cpp
.......\........\..........\............\building.h
.......\........\..........\............\camera.cpp
.......\........\..........\............\camera.h
.......\........\..........\............\debug.cpp
.......\........\..........\............\debug.h
.......\........\..........\............\effect.cpp
.......\........\..........\............\effect.h
.......\........\..........\............\Example 16.1.vcproj
.......\........\..........\............\GroupAI.cpp
.......\........\..........\............\GroupAI.h
.......\........\..........\............\heightMap.cpp
.......\........\..........\............\heightMap.h
.......\........\..........\............\intpoint.h
.......\........\..........\............\mapObject.cpp
.......\........\..........\............\mapObject.h
.......\........\..........\............\MasterAI.cpp
.......\........\..........\............\MasterAI.h
.......\........\..........\............\mesh.cpp
.......\........\..........\............\mesh.h
.......\........\..........\............\mouse.cpp
.......\........\..........\............\mouse.h
.......\........\..........\............\object.cpp
.......\........\..........\............\object.h
.......\........\..........\............\particles.cpp
.......\........\..........\............\particles.h
.......\........\..........\............\player.cpp
.......\........\..........\............\player.h
.......\........\..........\............\shader.cpp
.......\........\..........\............\shader.h
.......\........\..........\............\skinnedMesh.cpp
.......\........\..........\............\skinnedMesh.h
.......\........\..........\............\sound.cpp
.......\........\..........\............\sound.h
.......\........\..........\............\StrategyMap.cpp
.......\........\..........\............\StrategyMap.h
.......\........\..........\............\terrain.cpp
.......\........\..........\............\terrain.h
.......\........\..........\............\unit.cpp
.......\........\..........\............\unit.h
.......\........\Chapter 3
.......\........\.........\Example 3.1
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Example 3-1.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 3.1.vcproj
.......\........\.........\...........\intpoint.h
.......\........\Chapter 4
.......\........\.........\Example 4.1
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Images
.......\........\.........\...........\.....\......\abe.jpg

.......\........\.........\...........\.....\......\heightmap.jpg

.......\........\.........\...........\.....\......\smiley.bmp

.......\........\.........\...........\.....\......\Thumbs.db
.......\........\.........\...........\.....\Example 4-1.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 4.1.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\Example 4.10
.......\........\.........\............\Debug
.......\........\.........\............\.....\meshes
.......\........\.........\............\.....\......\stone.jpg

.......\........\.........\............\.....\......\stone.x
.......\........\.........\............\.....\......\Thumbs.db
.......\........\.........\............\.....\......\tree.jpg

.......\........\.........\............\.....\......\tree.x
.......\........\.........\............\.....\Example 4.10.exe
.......\........\.........\............\app.cpp
.......\........\.........\............\debug.cpp
.......\........\.........\............\debug.h
.......\........\.........\............\Example 4.10.vcproj
.......\........\.........\............\mesh.cpp
.......\........\.........\............\mesh.h
.......\........\.........\Example 4.11
.......\........\.........\............\Debug
.......\........\.........\............\.....\meshes
.......\........\.........\............\.....\......\stone.jpg

.......\........\.........\............\.....\......\stone.x
.......\........\.........\............\.....\......\Thumbs.db
.......\........\.........\............\.....\......\tree.jpg

.......\........\.........\............\.....\......\tree.x
.......\........\.........\............\.....\Shaders
.......\........\.........\............\.....\.......\terrain.ps
.......\........\.........\............\.....\textures
.......\........\.........\............\.....\........\grass.jpg

.......\........\.........\............\.....\........\mountain.jpg

.......\........\.........\............\.....\........\snow.jpg

.......\........\.........\............\.....\........\Thumbs.db
.......\........\.........\............\.....\Example 4-11.exe
.......\........\.........\............\app.cpp
.......\........\.........\............\debug.cpp
.......\........\.........\............\debug.h
.......\........\.........\............\Example 4.11.vcproj
.......\........\.........\............\heightMap.cpp
.......\........\.........\............\heightMap.h
.......\........\.........\............\intpoint.h
.......\........\.........\............\mesh.cpp
.......\........\.........\............\mesh.h
.......\........\.........\............\object.cpp
.......\........\.........\............\object.h
.......\........\.........\............\shader.cpp
.......\........\.........\............\shader.h
.......\........\.........\............\terrain.cpp
.......\........\.........\............\terrain.h
.......\........\.........\Example 4.12
.......\........\.........\............\Debug
.......\........\.........\............\.....\meshes
.......\........\.........\............\.....\......\stone.jpg

.......\........\.........\............\.....\......\stone.x
.......\........\.........\............\.....\......\Thumbs.db
.......\........\.........\............\.....\......\tree.jpg

.......\........\.........\............\.....\......\tree.x
.......\........\.........\............\.....\Shaders
.......\........\.........\............\.....\.......\terrain.ps
.......\........\.........\............\.....\textures
.......\........\.........\............\.....\........\grass.jpg

.......\........\.........\............\.....\........\mountain.jpg

.......\........\.........\............\.....\........\snow.jpg

.......\........\.........\............\.....\........\Thumbs.db
.......\........\.........\............\.....\Example 4-12.exe
.......\........\.........\............\app.cpp
.......\........\.........\............\debug.cpp
.......\........\.........\............\debug.h
.......\........\.........\............\Example 4.12.vcproj
.......\........\.........\............\heightMap.cpp
.......\........\.........\............\heightMap.h
.......\........\.........\............\intpoint.h
.......\........\.........\............\mesh.cpp
.......\........\.........\............\mesh.h
.......\........\.........\............\object.cpp
.......\........\.........\............\object.h
.......\........\.........\............\shader.cpp
.......\........\.........\............\shader.h
.......\........\.........\............\terrain.cpp
.......\........\.........\............\terrain.h
.......\........\.........\Example 4.13
.......\........\.........\............\Debug
.......\........\.........\............\.....\meshes
.......\........\.........\............\.....\......\stone.jpg

.......\........\.........\............\.....\......\stone.x
.......\........\.........\............\.....\......\Thumbs.db
.......\........\.........\............\.....\......\tree.jpg

.......\........\.........\............\.....\......\tree.x
.......\........\.........\............\.....\Shaders
.......\........\.........\............\.....\.......\terrain.ps
.......\........\.........\............\.....\textures
.......\........\.........\............\.....\........\grass.jpg

.......\........\.........\............\.....\........\mountain.jpg

.......\........\.........\............\.....\........\snow.jpg

.......\........\.........\............\.....\........\Thumbs.db
.......\........\.........\............\.....\Example 4-13.exe
.......\........\.........\............\app.cpp
.......\........\.........\............\debug.cpp
.......\........\.........\............\debug.h
.......\........\.........\............\Example 4.13.vcproj
.......\........\.........\............\heightMap.cpp
.......\........\.........\............\heightMap.h
.......\........\.........\............\intpoint.h
.......\........\.........\............\mesh.cpp
.......\........\.........\............\mesh.h
.......\........\.........\............\object.cpp
.......\........\.........\............\object.h
.......\........\.........\............\shader.cpp
.......\........\.........\............\shader.h
.......\........\.........\............\terrain.cpp
.......\........\.........\............\terrain.h
.......\........\.........\Example 4.14
.......\........\.........\............\Debug
.......\........\.........\............\.....\meshes
.......\........\.........\............\.....\......\stone.jpg

.......\........\.........\............\.....\......\stone.x
.......\........\.........\............\.....\......\Thumbs.db
.......\........\.........\............\.....\......\tree.jpg

.......\........\.........\............\.....\......\tree.x
.......\........\.........\............\.....\Shaders
.......\........\.........\............\.....\.......\terrain.ps
.......\........\.........\............\.....\textures
.......\........\.........\............\.....\........\grass.jpg

.......\........\.........\............\.....\........\mountain.jpg

.......\........\.........\............\.....\........\snow.jpg

.......\........\.........\............\.....\........\Thumbs.db
.......\........\.........\............\.....\Example 4-14.exe
.......\........\.........\............\app.cpp
.......\........\.........\............\debug.cpp
.......\........\.........\............\debug.h
.......\........\.........\............\Example 4.14.vcproj
.......\........\.........\............\heightMap.cpp
.......\........\.........\............\heightMap.h
.......\........\.........\............\intpoint.h
.......\........\.........\............\mesh.cpp
.......\........\.........\............\mesh.h
.......\........\.........\............\object.cpp
.......\........\.........\............\object.h
.......\........\.........\............\shader.cpp
.......\........\.........\............\shader.h
.......\........\.........\............\terrain.cpp
.......\........\.........\............\terrain.h
.......\........\.........\Example 4.2
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Example 4-2.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 4.2.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\Example 4.3
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Example 4-3.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 4.3.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\heightMap3.cpp
.......\........\.........\...........\heightMap3.h
.......\........\.........\...........\intpoint.h
.......\........\.........\Example 4.4
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Images
.......\........\.........\...........\.....\......\abe.jpg

.......\........\.........\...........\.....\......\smiley.bmp

.......\........\.........\...........\.....\......\Thumbs.db
.......\........\.........\...........\.....\Example 4-4.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 4.4.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\terrain.cpp
.......\........\.........\...........\terrain.h
.......\........\.........\Example 4.5
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\textures
.......\........\.........\...........\.....\........\grass.jpg

.......\........\.........\...........\.....\........\stone.jpg

.......\........\.........\...........\.....\........\Thumbs.db
.......\........\.........\...........\.....\........\water.jpg

.......\........\.........\...........\.....\Example 4-5.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 4.5.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\terrain.cpp
.......\........\.........\...........\terrain.h
.......\........\.........\Example 4.6
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\textures
.......\........\.........\...........\.....\........\diffusemap.jpg

.......\........\.........\...........\.....\........\heightmap.jpg

.......\........\.........\...........\.....\........\Thumbs.db
.......\........\.........\...........\.....\Example 4.6.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 4.6.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\terrain.cpp
.......\........\.........\...........\terrain.h
.......\........\.........\Example 4.7
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\textures
.......\........\.........\...........\.....\........\grass.jpg

.......\........\.........\...........\.....\........\mountain.jpg

.......\........\.........\...........\.....\........\snow.jpg

.......\........\.........\...........\.....\........\Thumbs.db
.......\........\.........\...........\.....\Example 4-7.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 4.7.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\terrain.cpp
.......\........\.........\...........\terrain.h
.......\........\.........\Example 4.8
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Shaders
.......\........\.........\...........\.....\.......\terrain.ps
.......\........\.........\...........\.....\textures
.......\........\.........\...........\.....\........\grass.jpg

.......\........\.........\...........\.....\........\mountain.jpg

.......\........\.........\...........\.....\........\snow.jpg

.......\........\.........\...........\.....\........\Thumbs.db
.......\........\.........\...........\.....\Example 4-8.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 4.8.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\shader.cpp
.......\........\.........\...........\shader.h
.......\........\.........\...........\terrain.cpp
.......\........\.........\...........\terrain.h
.......\........\.........\Example 4.9
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\meshes
.......\........\.........\...........\.....\......\stone.jpg

.......\........\.........\...........\.....\......\stone.x
.......\........\.........\...........\.....\......\Thumbs.db
.......\........\.........\...........\.....\......\tree.jpg

.......\........\.........\...........\.....\......\tree.x
.......\........\.........\...........\.....\debug.txt
.......\........\.........\...........\.....\Example 4-9.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 4.9.vcproj
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\Chapter 5
.......\........\.........\Cursor1
.......\........\.........\.......\cursor.bmp

.......\........\.........\.......\cursor.dds
.......\........\.........\.......\cursor_alpha.bmp

.......\........\.........\.......\Thumbs.db
.......\........\.........\Cursor2
.......\........\.........\.......\cursor2.dds
.......\........\.........\.......\cursor2.psd
.......\........\.........\Cursor3
.......\........\.........\.......\cursor3.dds
.......\........\.........\.......\cursor3.max
.......\........\.........\Example 5.1
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\meshes
.......\........\.........\...........\.....\......\terrain.X
.......\........\.........\...........\.....\Example 5-1.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 5.1.vcproj
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\Example 5.10
.......\........\.........\............\Debug
.......\........\.........\............\.....\Cursor
.......\........\.........\............\.....\......\cursor.dds
.......\........\.........\............\.....\meshes
.......\........\.........\............\.....\......\stone.jpg

.......\........\.........\............\.....\......\stone.x
.......\........\.........\............\.....\......\Thumbs.db
.......\........\.........\............\.....\......\tree.jpg

.......\........\.........\............\.....\......\tree.x
.......\........\.........\............\.....\Shaders
.......\........\.........\............\.....\.......\objects.ps
.......\........\.........\............\.....\.......\objects.vs
.......\........\.........\............\.....\.......\terrain.ps
.......\........\.........\............\.....\.......\terrain.vs
.......\........\.........\............\.....\textures
.......\........\.........\............\.....\........\grass.jpg

.......\........\.........\............\.....\........\mountain.jpg

.......\........\.........\............\.....\........\snow.jpg

.......\........\.........\............\.....\........\Thumbs.db
.......\........\.........\............\.....\Example 5-10.exe
.......\........\.........\............\.....\Thumbs.db
.......\........\.........\............\app.cpp
.......\........\.........\............\camera.cpp
.......\........\.........\............\camera.h
.......\........\.........\............\debug.cpp
.......\........\.........\............\debug.h
.......\........\.........\............\Example 5.10.vcproj
.......\........\.........\............\heightMap.cpp
.......\........\.........\............\heightMap.h
.......\........\.........\............\intpoint.h
.......\........\.........\............\mesh.cpp
.......\........\.........\............\mesh.h
.......\........\.........\............\mouse.cpp
.......\........\.........\............\mouse.h
.......\........\.........\............\object.cpp
.......\........\.........\............\object.h
.......\........\.........\............\shader.cpp
.......\........\.........\............\shader.h
.......\........\.........\............\terrain.cpp
.......\........\.........\............\terrain.h
.......\........\.........\Example 5.2
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\cursor
.......\........\.........\...........\.....\......\cursor.dds
.......\........\.........\...........\.....\Example 5-2.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 5.2.vcproj
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mouse.cpp
.......\........\.........\...........\mouse.h
.......\........\.........\Example 5.3
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Cursor
.......\........\.........\...........\.....\......\cursor.dds
.......\........\.........\...........\.....\Objects
.......\........\.........\...........\.....\.......\dragon.jpg

.......\........\.........\...........\.....\.......\dragon.X
.......\........\.........\...........\.....\.......\footman.jpg

.......\........\.........\...........\.....\.......\footman01.X
.......\........\.........\...........\.....\.......\ring.jpg

.......\........\.........\...........\.....\.......\ring.X
.......\........\.........\...........\.....\Example 5-3.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 5.3.vcproj
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\mouse.cpp
.......\........\.........\...........\mouse.h
.......\........\.........\...........\object.cpp
.......\........\.........\...........\object.h
.......\........\.........\Example 5.4
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Cursor
.......\........\.........\...........\.....\......\cursor.dds
.......\........\.........\...........\.....\Units
.......\........\.........\...........\.....\.....\Thumbs.db
.......\........\.........\...........\.....\.....\warrior_gnome.jpg

.......\........\.........\...........\.....\.....\warrior_gnome.X
.......\........\.........\...........\.....\Example 5-4.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 5.4.vcproj
.......\........\.........\...........\functions.cpp
.......\........\.........\...........\functions.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\mouse.cpp
.......\........\.........\...........\mouse.h
.......\........\.........\...........\object.cpp
.......\........\.........\...........\object.h
.......\........\.........\Example 5.5
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Objects
.......\........\.........\...........\.....\.......\f1a.X
.......\........\.........\...........\.....\.......\f1b.X
.......\........\.........\...........\.....\.......\track.X
.......\........\.........\...........\.....\Example 5-5.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 5.5.vcproj
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\object.cpp
.......\........\.........\...........\object.h
.......\........\.........\Example 5.6
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Cursor
.......\........\.........\...........\.....\......\cursor.dds
.......\........\.........\...........\.....\Objects
.......\........\.........\...........\.....\.......\house.jpg

.......\........\.........\...........\.....\.......\house.X
.......\........\.........\...........\.....\.......\house2.jpg

.......\........\.........\...........\.....\.......\house2.X
.......\........\.........\...........\.....\.......\park.jpg

.......\........\.........\...........\.....\.......\park.X
.......\........\.........\...........\.....\.......\tile.jpg

.......\........\.........\...........\.....\.......\tile.X
.......\........\.........\...........\.....\Example 5-6.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\city.cpp
.......\........\.........\...........\city.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 5.6.vcproj
.......\........\.........\...........\functions.cpp
.......\........\.........\...........\functions.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\mouse.cpp
.......\........\.........\...........\mouse.h
.......\........\.........\...........\object.cpp
.......\........\.........\...........\object.h
.......\........\.........\Example 5.7
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Cursor
.......\........\.........\...........\.....\......\cursor.dds
.......\........\.........\...........\.....\objects
.......\........\.........\...........\.....\.......\mech.jpg

.......\........\.........\...........\.....\.......\mech1.X
.......\........\.........\...........\.....\.......\mech2.X
.......\........\.........\...........\.....\.......\mech3.X
.......\........\.........\...........\.....\Example 5-7.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 5.7.vcproj
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\mouse.cpp
.......\........\.........\...........\mouse.h
.......\........\.........\...........\object.cpp
.......\........\.........\...........\object.h
.......\........\.........\Example 5.8
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\objects
.......\........\.........\...........\.....\.......\farmer.jpg

.......\........\.........\...........\.....\.......\farmer.x
.......\........\.........\...........\.....\.......\Thumbs.db
.......\........\.........\...........\.....\Example 5-8.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 5.8.vcproj
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\Example 5.9
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Cursor
.......\........\.........\...........\.....\......\cursor.dds
.......\........\.........\...........\.....\meshes
.......\........\.........\...........\.....\......\stone.jpg

.......\........\.........\...........\.....\......\stone.x
.......\........\.........\...........\.....\......\Thumbs.db
.......\........\.........\...........\.....\......\tree.jpg

.......\........\.........\...........\.....\......\tree.x
.......\........\.........\...........\.....\Shaders
.......\........\.........\...........\.....\.......\terrain.ps
.......\........\.........\...........\.....\textures
.......\........\.........\...........\.....\........\grass.jpg

.......\........\.........\...........\.....\........\mountain.jpg

.......\........\.........\...........\.....\........\snow.jpg

.......\........\.........\...........\.....\........\Thumbs.db
.......\........\.........\...........\.....\Example 5-9.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 5.9.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\mouse.cpp
.......\........\.........\...........\mouse.h
.......\........\.........\...........\object.cpp
.......\........\.........\...........\object.h
.......\........\.........\...........\shader.cpp
.......\........\.........\...........\shader.h
.......\........\.........\...........\terrain.cpp
.......\........\.........\...........\terrain.h
.......\........\Chapter 6
.......\........\.........\Example 6.1
.......\........\.........\...........\front.jpg

.......\........\.........\...........\scot model.max
.......\........\.........\...........\side.jpg

.......\........\.........\...........\Thumbs.db
.......\........\.........\Example 6.2
.......\........\.........\...........\scot texture.max
.......\........\.........\...........\scot.jpg

.......\........\.........\...........\Thumbs.db
.......\........\.........\Example 6.3
.......\........\.........\...........\scot skinning.max
.......\........\.........\...........\scot.jpg

.......\........\.........\...........\Thumbs.db
.......\........\.........\Example 6.4
.......\........\.........\...........\animations.txt
.......\........\.........\...........\magician.jpg

.......\........\.........\...........\magician.max
.......\........\.........\...........\soldier.jpg

.......\........\.........\...........\soldier.max
.......\........\.........\...........\worker.jpg

.......\........\.........\...........\worker.max
.......\........\Chapter 7
.......\........\.........\Example 7.1
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\mesh
.......\........\.........\...........\.....\....\drone.X
.......\........\.........\...........\.....\Example 7-1.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 7.1.vcproj
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\skinnedMesh.cpp
.......\........\.........\...........\skinnedMesh.h
.......\........\.........\Example 7.2
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\mesh
.......\........\.........\...........\.....\....\drone.X
.......\........\.........\...........\.....\Example 7-2.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 7.2.vcproj
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\skinnedMesh.cpp
.......\........\.........\...........\skinnedMesh.h
.......\........\.........\Example 7.3
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\mesh
.......\........\.........\...........\.....\....\drone.dds
.......\........\.........\...........\.....\....\drone.X
.......\........\.........\...........\.....\Shaders
.......\........\.........\...........\.....\.......\lighting.vs
.......\........\.........\...........\.....\.......\unit.ps
.......\........\.........\...........\.....\Example 7-3.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 7.3.vcproj
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\shader.cpp
.......\........\.........\...........\shader.h
.......\........\.........\...........\skinnedMesh.cpp
.......\........\.........\...........\skinnedMesh.h
.......\........\.........\Example 7.4
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\mesh
.......\........\.........\...........\.....\....\axe.X
.......\........\.........\...........\.....\....\club.X
.......\........\.........\...........\.....\....\drone.dds
.......\........\.........\...........\.....\....\drone.X
.......\........\.........\...........\.....\....\flowers.X
.......\........\.........\...........\.....\....\sword.X
.......\........\.........\...........\.....\Shaders
.......\........\.........\...........\.....\.......\lighting.vs
.......\........\.........\...........\.....\.......\unit.ps
.......\........\.........\...........\.....\Example 7-4.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 7.4.vcproj
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\shader.cpp
.......\........\.........\...........\shader.h
.......\........\.........\...........\skinnedMesh.cpp
.......\........\.........\...........\skinnedMesh.h
.......\........\Chapter 8
.......\........\.........\Example 8.1
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Shaders
.......\........\.........\...........\.....\.......\lighting.vs
.......\........\.........\...........\.....\.......\teamCol.ps
.......\........\.........\...........\.....\Units
.......\........\.........\...........\.....\.....\magician.dds
.......\........\.........\...........\.....\.....\magician.X
.......\........\.........\...........\.....\Example 8-1.exe
.......\........\.........\...........\Model + Texture
.......\........\.........\...........\...............\magician mesh.max
.......\........\.........\...........\...............\magician.psd
.......\........\.........\...........\...............\magician_original.bmp

.......\........\.........\...........\...............\magician_original.psd
.......\........\.........\...........\app.cpp
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 8.1.vcproj
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\shader.cpp
.......\........\.........\...........\shader.h
.......\........\.........\...........\skinnedMesh.cpp
.......\........\.........\...........\skinnedMesh.h
.......\........\Chapter 9
.......\........\.........\Example 9.1
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Cursor
.......\........\.........\...........\.....\......\cursor.dds
.......\........\.........\...........\.....\meshes
.......\........\.........\...........\.....\......\stone.jpg

.......\........\.........\...........\.....\......\stone.x
.......\........\.........\...........\.....\......\Thumbs.db
.......\........\.........\...........\.....\......\tree.jpg

.......\........\.........\...........\.....\......\tree.x
.......\........\.........\...........\.....\Shaders
.......\........\.........\...........\.....\.......\lighting.vs
.......\........\.........\...........\.....\.......\objects.ps
.......\........\.........\...........\.....\.......\objects.vs
.......\........\.........\...........\.....\.......\teamCol.ps
.......\........\.........\...........\.....\.......\terrain.ps
.......\........\.........\...........\.....\.......\terrain.vs
.......\........\.........\...........\.....\textures
.......\........\.........\...........\.....\........\grass.jpg

.......\........\.........\...........\.....\........\mountain.jpg

.......\........\.........\...........\.....\........\snow.jpg

.......\........\.........\...........\.....\........\Thumbs.db
.......\........\.........\...........\.....\Units
.......\........\.........\...........\.....\.....\drone.dds
.......\........\.........\...........\.....\.....\drone.X
.......\........\.........\...........\.....\.....\magician.dds
.......\........\.........\...........\.....\.....\magician.X
.......\........\.........\...........\.....\.....\soldier.dds
.......\........\.........\...........\.....\.....\soldier.X
.......\........\.........\...........\.....\Example 9-1.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 9.1.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mapObject.cpp
.......\........\.........\...........\mapObject.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\mouse.cpp
.......\........\.........\...........\mouse.h
.......\........\.........\...........\object.cpp
.......\........\.........\...........\object.h
.......\........\.........\...........\shader.cpp
.......\........\.........\...........\shader.h
.......\........\.........\...........\skinnedMesh.cpp
.......\........\.........\...........\skinnedMesh.h
.......\........\.........\...........\terrain.cpp
.......\........\.........\...........\terrain.h
.......\........\.........\...........\unit.cpp
.......\........\.........\...........\unit.h
.......\........\.........\Example 9.2
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Cursor
.......\........\.........\...........\.....\......\cursor.dds
.......\........\.........\...........\.....\meshes
.......\........\.........\...........\.....\......\barracks.dds
.......\........\.........\...........\.....\......\barracks.X
.......\........\.........\...........\.....\......\roof.dds
.......\........\.........\...........\.....\......\stone.jpg

.......\........\.........\...........\.....\......\stone.x
.......\........\.........\...........\.....\......\Thumbs.db
.......\........\.........\...........\.....\......\tower.dds
.......\........\.........\...........\.....\......\tower.X
.......\........\.........\...........\.....\......\townhall.dds
.......\........\.........\...........\.....\......\townhall.x
.......\........\.........\...........\.....\......\tree.jpg

.......\........\.........\...........\.....\......\tree.x
.......\........\.........\...........\.....\Shaders
.......\........\.........\...........\.....\.......\lighting.vs
.......\........\.........\...........\.....\.......\objects.ps
.......\........\.........\...........\.....\.......\objects.vs
.......\........\.........\...........\.....\.......\teamCol.ps
.......\........\.........\...........\.....\.......\terrain.ps
.......\........\.........\...........\.....\.......\terrain.vs
.......\........\.........\...........\.....\textures
.......\........\.........\...........\.....\........\grass.jpg

.......\........\.........\...........\.....\........\mountain.jpg

.......\........\.........\...........\.....\........\snow.jpg

.......\........\.........\...........\.....\........\Thumbs.db
.......\........\.........\...........\.....\Example 9-2.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\building.cpp
.......\........\.........\...........\building.h
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 9.2.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mapObject.cpp
.......\........\.........\...........\mapObject.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\mouse.cpp
.......\........\.........\...........\mouse.h
.......\........\.........\...........\object.cpp
.......\........\.........\...........\object.h
.......\........\.........\...........\shader.cpp
.......\........\.........\...........\shader.h
.......\........\.........\...........\terrain.cpp
.......\........\.........\...........\terrain.h
.......\........\.........\Example 9.3
.......\........\.........\...........\Debug
.......\........\.........\...........\.....\Cursor
.......\........\.........\...........\.....\......\cursor.dds
.......\........\.........\...........\.....\heightmaps
.......\........\.........\...........\.....\..........\four_players.jpg

.......\........\.........\...........\.....\..........\Thumbs.db
.......\........\.........\...........\.....\meshes
.......\........\.........\...........\.....\......\barracks.dds
.......\........\.........\...........\.....\......\barracks.X
.......\........\.........\...........\.....\......\roof.dds
.......\........\.........\...........\.....\......\stone.jpg

.......\........\.........\...........\.....\......\stone.x
.......\........\.........\...........\.....\......\Thumbs.db
.......\........\.........\...........\.....\......\tower.dds
.......\........\.........\...........\.....\......\tower.X
.......\........\.........\...........\.....\......\townhall.dds
.......\........\.........\...........\.....\......\townhall.x
.......\........\.........\...........\.....\......\tree.jpg

.......\........\.........\...........\.....\......\tree.x
.......\........\.........\...........\.....\Shaders
.......\........\.........\...........\.....\.......\lighting.vs
.......\........\.........\...........\.....\.......\objects.ps
.......\........\.........\...........\.....\.......\objects.vs
.......\........\.........\...........\.....\.......\teamCol.ps
.......\........\.........\...........\.....\.......\terrain.ps
.......\........\.........\...........\.....\.......\terrain.vs
.......\........\.........\...........\.....\textures
.......\........\.........\...........\.....\........\grass.jpg

.......\........\.........\...........\.....\........\mountain.jpg

.......\........\.........\...........\.....\........\snow.jpg

.......\........\.........\...........\.....\........\Thumbs.db
.......\........\.........\...........\.....\Units
.......\........\.........\...........\.....\.....\drone.dds
.......\........\.........\...........\.....\.....\drone.X
.......\........\.........\...........\.....\.....\magician.dds
.......\........\.........\...........\.....\.....\magician.X
.......\........\.........\...........\.....\.....\soldier.dds
.......\........\.........\...........\.....\.....\soldier.X
.......\........\.........\...........\.....\Example 9-3.exe
.......\........\.........\...........\app.cpp
.......\........\.........\...........\building.cpp
.......\........\.........\...........\building.h
.......\........\.........\...........\camera.cpp
.......\........\.........\...........\camera.h
.......\........\.........\...........\debug.cpp
.......\........\.........\...........\debug.h
.......\........\.........\...........\Example 9.3.vcproj
.......\........\.........\...........\heightMap.cpp
.......\........\.........\...........\heightMap.h
.......\........\.........\...........\intpoint.h
.......\........\.........\...........\mapObject.cpp
.......\........\.........\...........\mapObject.h
.......\........\.........\...........\mesh.cpp
.......\........\.........\...........\mesh.h
.......\........\.........\...........\mouse.cpp
.......\........\.........\...........\mouse.h
.......\........\.........\...........\object.cpp
.......\........\.........\...........\object.h
.......\........\.........\...........\player.cpp
.......\........\.........\...........\player.h
.......\........\.........\...........\shader.cpp
.......\........\.........\...........\shader.h
.......\........\.........\...........\skinnedMesh.cpp
.......\........\.........\...........\skinnedMesh.h
.......\........\.........\...........\terrain.cpp
.......\........\.........\...........\terrain.h
.......\........\.........\...........\unit.cpp
.......\........\.........\...........\unit.h