Introduction to 3D Game Engine Design Using DirectX 9 and C#

L

landscape

assembling the terrain, 129

drawing of terrain, 138

environmental effects, 152

ITerrainInfo interface, 129

line of sight query, 135

modeling, 123

populating with billboards, 142

setting up transformation matrices, 140

Terrain class, 123

TerrainQuad class, 124

lateral acceleration, 357

level editor, 387

level of detail. See LOD

LFI class, 318

Light class, 218

lighting effects

adjustment of rendered color , 213

ambient light, 213

attenuation formula, 223

directional light, 214

point light, 215

spotlight, 217

types of, 110

Limit method, Attitude class, 340

line of sight See LOS

line primitive, 104

linear function interpolation, 318

LineList type, 104

LineStrip type, 104

Listener class

attributes and properties, 289

constructor, 290

Device property, 289

format in buffer, 291

methods

Dispose method, 292

Update method, 291

Listener3D attribute, Listener class, 289

Listener3D class, 291

Listener3DSettings attribute, Listener class, 289

Load method, Image class, 38

LoadSoundFile method, SoundEffect

class, 295

local coordinate system, 6

Lock method, VertexBuffer class, 174

LockIndexBuffer method, Mesh class, 169

LockVertexBuffer method, Mesh class, 169

LOD (Level of Detail)

creating meshes, 181

description of technique, 3

selecting for nonculled objects, 97

Logic class

constructor, 242

default constructor, 241

defining, 240

implementing inference engine, 237

methods

Evaluate method, 242

Read method, 245

Write method, 244

properties, 241

LookAt method, Camera class, 205

LookAt vector, 200, 208

LookAtLH method, Matrix class, 210

Looping flag, BufferPlayFlags enumeration, 297

LOS (line of sight), 135

low ambient light, 214

Категории