home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Game Programming for Teens / VBGPFT.cdr / DirectX8 / dx8vbsdk.exe / samples / multimedia / vbsamples / direct3d / pointsprites / readme.txt < prev   
Encoding:
Text File  |  2000-09-22  |  2.0 KB  |  51 lines

  1. //-----------------------------------------------------------------------------
  2. // Name: PointSprites Direct3D Sample
  3. // 
  4. // Copyright (c) 1998-2000 Microsoft Corporation. All rights reserved.
  5. //-----------------------------------------------------------------------------
  6.  
  7.  
  8. Description
  9. ===========
  10.    The PointSprites sample shows how to use the new Direct3D point sprites
  11.    feature. A point sprite is simply a forward-facing, textured quad that is
  12.    referenced only by (x,y,z) position coordinates. Point sprites are most
  13.    often used for particle systems and related effects.
  14.  
  15.    Note that not all cards support all features for point sprites. For more
  16.    information on point sprites, refer to the DirectX SDK documentation. 
  17.  
  18.  
  19. Path
  20. ====
  21.    Source:     MSSDK\Samples\Multimedia\VBSamples\Direct3D\PointSprites
  22.    Executable: MSSDK\Samples\Multimedia\VBSamples\Direct3D\Bin
  23.  
  24.  
  25. User's Guide
  26. ============
  27.    The following keys are implemented. 
  28.  
  29.       <F2>        Prompts user to select a new rendering device or display mode
  30.       <Alt+Enter> Toggles between fullscreen and windowed modes
  31.       <Esc>       Exits the app.
  32.  
  33.  
  34. Programming Notes
  35. =================
  36.    Without Direct3D's support, point sprites can be implemented with four
  37.    vertices, that are oriented each frame towards the eyepoint (much like a
  38.    billboard). With Direct3D, though, you can refer to each point sprite by
  39.    just it's center position and a radius. This saves heavily on processor
  40.    computation time and on bandwidth uploading vertex information to the
  41.    graphics card.
  42.  
  43.    In this sample, a particle system is implemented using point sprites. Each
  44.    particle is actually implemented using multiple alpha-blended point sprites,
  45.    giving the particle a motion-blur effect.
  46.  
  47.    This sample makes use of common DirectX code (consisting of helper functions,
  48.    etc.) that is shared with other samples on the DirectX SDK. All common
  49.    classes and modules can be found in the following directory:
  50.       Mssdk\Samples\VBSamples\Multimedia\Common
  51.