[ Pobierz całość w formacie PDF ]
.cpp file, 190slide-show applications, DirectSound, 124 D3DUtil_SetProjection-46-47 GetData method, 120-122 Matrix function, 201cleanup function, 49 GetDataLen method, 122 D3DUtil_SetViewMatrixdrawing slides, 49 GetFomat method, 121 function, syntax, 194full-screen display, 48 IsValid method, 118 D3DVECTOR structure,loading slides, 48 sound buffers, 127 186, 316-317slide navigation, 51 Play method, 121 D3DVERTEX format, 212sound buffers, 102 playing sounds, 124 D3DVIEWPORT7 struc-3D, 380-381 Wave.h header file, ture, 202wave sounds, 127 117-118 DAC (Digital to Analogspecial effects (DirectX Converter), 18Transform), 470 DADDSample project, 506 37 1634x index 11/13/99 11:10 AM Page 551devices 551DAImage behaviors, 500 dead zones, 351-352.See destination color keying, 76damping 3D objects, 315 also joysticks destination rectangles,DANumber objects, 491 Debug window (Visual streaming video, 461daquid.lib static link Studio), 505 deterministic data, 421libraries, 497 declaring devicesDASample project, 495 CWave class, 117-118 accessing, 340data smart pointer classes, 499 acquiring, 3383D sound (loading), 394 decrementing counters, 10 advanced, 334amounts affecting network deferred settings (sound), attached, 337latency, 421 384 behavior, 340deterministic, 421 DEFINE_GUID macro, 408 configuring, 337formats defining creating, 336, 344DirectInput devices, 3D coordinates, 186 joysticks, 350338 index arrays, 219 keyboards, 341keyboard devices, 341 INITGUID, 29 DIPROP_BUFFERSIZEgame state, 404 meshes, 213-214 property, 345inputting from keyboards, triangle fans, 214 DirectInput, data formats,342 triangle lists, 213 338music, 137 pre-lit vertices, 220-221 enumerating, 339, 348non-deterministic, 421 scenes, 189 input, 334relaying game data across structures for storing layer buffers, 345a network, 403 information, 83-84 capabilities, 339retrieving mouse, 346-347 surfaces creating, 339streams (audio), 100 parameters, 25 properties, 339translating between filters, for storing layer joysticks, 348-350455 images, 84 enumerating, 348DAViewerControl object, triangles in 3D space, 204 setting data formats,495 viewing parameters, 199 351initializing, 497-498 viewports, 202 setting properties, 351MeterLibrary property, degrees, 201 keyboards499 degrees of freedom (kine- acquiring, 342DDRAW.LIB file, 27 matics) setting behavior, 341DDSCAPS_TEXTURE angular, 312-313 latency, 334surface capability, 257 linear, 312-313 MIDI, 141DDSCL_EXCLUSIVE flag, number of, 330 modifying the control40 orbital, 313 panel, 337DDSCL_FULLSCREEN translational, 312 mouse, 344flag, 40 depth, 81 acquiring, 346DDSD_BACKBUFFER- effect of field of view, 200 querying for, 337COUNT flag, 44 parallax, 82 releasing, 337-339, 343DDSD_CAPS flag, 25 Perspective transforms, sharing, 341DDSD_HEIGHT flag, 25 183 state blocks, 261DDSD_WIDTH flag, 25 relative motion, 82 unacquiring, 343dead reckoning, 421 describing sound data, 137 37 1634x index 11/13/99 11:10 AM Page 552552 DICONSTANTFORCE structureDICONSTANTFORCE binary-based, 286 DirectAnimation, 7, 487structure, 368-369 Cleanup function, 305 #import directive, 494DIDEVTYPE_JOYSTICK formats, 286 addingparameter, 348 frame hierarchy, 296-297, library to projects, 497DIEDFL_FORCEFEED- 302-304 sound to scenes, 503BACK flag, 363 header templates, 290 architecture, 490DIEFFECT structure, 369 headers, 287-288 behaviorsDIEFT_CONSTANT- loading, 300-302 classes, 491FORCE flag, 366 primitive data types, 288 modifying, 492DIENUM_CONTINUE reading (CD3DFile objects, 491message, 350 object), 300-302 blitting surface to updateDIES_DOWNLOAD flag, rendering, 300-305 screens, 506370 sample code, 286-292 C++, 488, 493DIES_SOLO flag, 370 structure, 286-292 camera and lightingdiffuse color, 221, 266.See templates, 288-289 effects, 503also colors AnimationKey, cleanup, 505Digital to Analog Converter 297-299 code, 496(DAC), 18 ColorRGB, 293-294 COM interfaces, 492DIJOYSTATE structure, ColorRGBA, 293-294 controls failure to run, 505352 Coords2d, 295-296 creatingDIPROPDWORD header FloatKeys, 297-299 applications, 493structure, 345 FrameTransformMat- classes, 497DIPROP_BUFFERSIZE rix, 296-297 scenes, animating, 504property, 345 Material, 293-294 DAGeometry behavior,Direct3D, 198 Matrix4x4, 296-297 501configuring viewing Mesh, 292-293 DAImage behaviors, 500frustum, 199 MeshFace, 292-293 DANumber behaviors, 492defining MeshNormals, 294-295 DirectAnimation control,3D coordinates, 186 MeshTextureCoords, 489viewports, 202 295-296 DirectAnimationgraphics engine, 199 TextureFileName, Windowed control, 489initializing, 230-231 295-296 disadvantages, 489initializing DirectDraw, TimedFloatKeys, embedding elements as228-230 297-299 ActiveX controls, 493lighting pipeline, 265, Vector, 292-293 flexibility, 488277-278 text-based, 286, 306 IDABehavior interface,limitations, 244 texture maps, 295-296 491-492measurements, 201 vertexes IDAStatics interface,Direct3D Immediate Mode, colors, 293-294 491-4926 normals, 294-295 importing images, 500Direct3D Retained Mode, 7 storage, 292-293 incompatibility issues, 490Direct3D X files Direct3DRMMeshBuilder3 initializing, 495-4963D Studio files, format meshes, 478 integrating DirectDraw,conversion utility, 300 Direct3DRMMeshBuilder3:: 505animation paths, 297-299 Load function, 478 37 1634x index 11/13/99 11:10 AM Page 553DirectMusic 553interfaces, 490-491 DirectInput, 7, 333-334, 359 directional sound, 383-384 [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • funlifepok.htw.pl
  •