home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / Direct3D / Tutorials / Tut02_Vertices / readme.txt next >
Encoding:
Text File  |  2001-10-10  |  992 b   |  28 lines

  1. //-----------------------------------------------------------------------------
  2. // Name: Vertices Direct3D Tutorial
  3. // 
  4. // Copyright (c) 2000-2001 Microsoft Corporation. All rights reserved.
  5. //-----------------------------------------------------------------------------
  6.  
  7.  
  8. Description
  9. ===========
  10.    The Vertices tutorial demonstrates the necessary API to render vertices
  11.    using Direct3D.
  12.  
  13.    
  14. Path
  15. ====
  16.    Source:     DXSDK\Samples\Multimedia\D3D\Tutorials\Tut02_Vertices
  17.  
  18.  
  19. Programming Notes
  20. =================
  21.    To render geometry in Direct3D, a vertex buffer must be created and filled
  22.    with vertices that described the geometry. Vertices can have many components
  23.    including positions, normals, blend weights, colors, and texture
  24.    coordinates. This simple tutorial uses vertices with only positions and
  25.    colors. The important parts of the tutorial are vertex buffer creation,
  26.    locking and filling the vertex buffer, and rendering the vertex buffer.
  27.  
  28.