Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
Get Started Quickly with DirectX 3D Programming: No 3D Experience NeededIntroduction 1
PART I: AN INTRODUCTION TO 3D RENDERING 5
Chapter 1 Introducing DirectX 7
A Bit of History 8
The Direct3D 11 Graphics Pipeline 9
Summary 21
Chapter 2 A 3D/Math Primer 23
Vectors 24
Matrices 27
Transformations 31
DirectXMath 35
Summary 41
Chapter 3 Tools of the Trade 43
Microsoft Visual Studio 44
NVIDIA FX Composer 47
Visual Studio Graphics Debugger 53
Graphics Debugging Alternatives 55
Summary 56
Exercises 56
PART II: SHADER AUTHORING WITH HLSL 57
Chapter 4 Hello, Shaders! 59
Your First Shader 60
Hello, Structs! 68
Summary 70
Exercises 71
Chapter 5 Texture Mapping 73
An Introduction to Texture Mapping 74
A Texture Mapping Effect 75
Texture Filtering 81
Texture Addressing Modes 86
Summary 89
Exercises 89
Chapter 6 Lighting Models 91
Ambient Lighting 92
Diffuse Lighting 97
Specular Highlights 105
Summary 114
Exercises 114
Chapter 7 Additional Lighting Models 115
Point Lights 116
Spotlights 124
Multiple Lights 130
Summary 139
Exercises 139
Chapter 8 Gleaming the Cube 141
Texture Cubes 142
Skyboxes 145
Environment Mapping 149
Fog 154
Color Blending 159
Summary 167
Exercises 168
Chapter 9 Normal Mapping and Displacement Mapping 169
Normal Mapping 170
Displacement Mapping 178
Summary 181
Exercises 181
PART III: RENDERING WITH DIRECTX 183
Chapter 10 Project Setup and Window Initialization 185
A New Beginning 186
Project Setup 186
The Game Loop 195
Window Initialization 199
Summary 204
Exercise 204
Chapter 11 Direct3D Initialization 205
Initializing Direct3D 206
Putting It All Together 219
Summary 232
Exercise 232
Chapter 12 Supporting Systems 233
Game Components 234
Device Input 248
Software Services 265
Summary 268
Exercises 268
Chapter 13 Cameras 269
A Base Camer
