walking on, 228-231 textures,
address modes, see address modes coordinates, 112
creating, 113 enabling, 113 filters, 114-115 mapping, 111 mipmaps, 115
transformations, combining, 23-25 matrix, 18-20 projection, 71 rays, 261-262
screen to projection window, 259-260 view, 67
viewport, 73 world, 64-66
TranslateMessage function, 373 translation matrix, 20-21 transparency, 124-125 transpose, see matrix transpose function, 291 triangle mesh, 60
triangles, 60
U
uniform variable prefix, 284 UpdateWindow function, 371 uv-coordinates, 112
V vectors, 2
addition, 7-8 components, 3
coordinate system independence, 2 cross product, 10-11 D3DVECTOR class, see
D3DVECTOR D3DXVECTOR3 class, see
D3DXVECTOR3 dot product, 9-10 equality, 5-6
functions, see D3DXVec3* magnitude, 6-7
normalizing, 7
scalar multiplication, 9 subtraction, 8-9 variable type, 281
vector-matrix multiplication, 16 velocity, 2, 239
vertex, 60 vertex buffer, 75
creating, 76-77 dynamic, 77 locking, 78-79 static, 77
vertex data usages, 298-299 vertex declaration, 294-297
creating, 297 enabling, 297-298
vertex formats, see D3DFVF vertex normals, 102-103 vertex processing, 44
hardware, 44 software, 44 vertex remap, 164
vertex shader, 293-294 creating, 300-301 destroying, 301 enabling, 301 version, 294
vertex weights, 187-188 view space, 66-67
view transform, 67
view transformation, 201-205 viewport, 72
viewport matrix, 73 virtual key code, 374
Visual Studio, setting up, xx volatile variable prefix, 285
W
while loop, 286 Win32 API, 359 winding order, 69
window coordinates, see screen space window message, 360
window procedure, 361, 373-374 window styles, 370