home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the 3D Game Programming Gurus / gurus.iso / readme.txt
Text File  |  2003-05-15  |  8KB  |  166 lines

  1. Main README.TXT file for "Tricks of the 3D Game Programming Gurus - Advanced 3D Graphics and Rasterization"
  2. Created: 1.1.03
  3.  
  4. ------------
  5.  
  6. License Agreement
  7.  
  8. CD-ROM and software copyright (C) 2003 Sams Publishing & Pearson Education Inc., 
  9. Andre' LaMothe, Xtreme Games LLC, Nurve Networks LLC. All rights reserved. 
  10. Individual programs are copyrighted by their respective owners and may require 
  11. separate licensing. This CD-ROM may not be redistributed without prior written 
  12. permission from the publisher. The right to redistribute the individual programs 
  13. on the CD-ROM depends on each program's license. Consult each program for details.
  14.  
  15. ------------
  16.  
  17. Table of Contents:
  18.  
  19. I.   INTRODUCTION
  20. II.  INSTALLING DIRECTX
  21. III. INSTALLING THE SOURCE CODE FROM THE BOOK
  22. IV.  INSTALLING THE TOOLS
  23. V.   PROBLEMS YOU MIGHT ENCOUNTER (PLEASE READ!!!!!!)
  24. VI.  COMPATIBILITY.
  25.  
  26. I. INTRODUCTION
  27.  
  28.    Welcome to the wonderful world of Tricks II! On this CD is a
  29.    plethora of digital treasures from source code, games, and DirectX, to
  30.    applications, and electronic bonus books on 3D, Direct3D, and general topics.
  31.  
  32.    The first thing you might notice is that isn't any kind of main installation
  33.    program on the CD. I have found that 9 out of 10 times the best installer is
  34.    the reader since only he/she knows what and where to install things, so I'm
  35.    going to leave the actuall file copying and installation to you.
  36.  
  37.    However, within each directory there is a README.TXT file that explains what
  38.    the files are and what they are for. The CD is set up like this:
  39.  
  40.    T3DIICD <DIR> - The main directory/CD root.
  41.       |
  42.       \DIRECTX       <DIR> - Contains DirectX SDK.
  43.       \ARTICLES      <DIR> - Contains 3D articles by other authors.
  44.       \TOOLS         <DIR> - Contains all the tools and applications.
  45.       \MEDIA         <DIR> - Contains stock art/sound media for your use.
  46.       \SOURCE        <DIR> - Contains the entire source code for the book.
  47.       \GAMES         <DIR> - Some 3D software based game(s).      
  48.       \EBOOK         <DIR> - Appendixes A through F in PDF format.
  49.  
  50. II. INSTALLING DIRECTX
  51.  
  52.      To run the DirectX programs from this book and to create your own, you
  53.      must have the DirectX 8.1 (or better) Run-Time system and Software
  54.      Development Kit (SDK) loaded. Both the DirectX 9.0 Run-Time files 
  55.      and the SDK are contained on this CD within the DIRECTX\ directory
  56.      which is the newest DirectX version when this book went to print.
  57.  
  58.      The README.TXT within the DIRECTX\ sub-directory will give you more
  59.      details on the setup and installation of DirectX, but basically you
  60.      must first install the run-time files and then the SDK. The SDK is
  61.      needed by your compiler, so it can access the header, and library
  62.      files needed to build DirectX applications.
  63.  
  64.  
  65. III. INSTALLING THE SOURCE CODE FROM THE BOOK
  66.  
  67.      The source code and data for each chapter of this book are contained
  68.      within the SOURCE\ sub-directory. I suggest simply copying the entire
  69.      SOURCE\ directory as-is onto your hard drive by "dragging" it from
  70.      the this CD or by using XCOPY or other similar technique. You may
  71.      need to unzip the contents of each directory, if so make sure to
  72.      enable directories.
  73.      
  74. IV.   INSTALLING THE APPLICATIONS
  75.  
  76.      There are a number of awesome applications that are contained on this
  77.      CD such as TrueSpace, Paint Shop Pro, WinZip, sound editors, 3D tools, 
  78.      and Acrobat Reader which you need to read anything in .PDF format.
  79.  
  80.      Each one of these applications installs as a self extracting .EXE and
  81.      takes just a couple minutes. Take a look at the README.TXT file for
  82.      each application for details.
  83.  
  84. V.   PROBLEMS YOU MIGHT ENCOUNTER
  85.  
  86.      * Read Only Flag *
  87.  
  88.      This is a very important detail, so read on. When creating a CD ROM disk
  89.      all the files will be written with the READ-ONLY flag enabled. This is 
  90.      fine in most cases unless you copy the files to your hard drive (which you will)
  91.      and then edit and try to write the files back to disk. You will get a 
  92.      READ-ONLY protection error. 
  93.  
  94.      Fixing this is a snap. You simply need to clear the READ-ONLY flag on any 
  95.      files that you want to modify. There are 3 ways to do it. First, you can 
  96.      do it with Windows and simply navigate into the directory with the file 
  97.      you want to clear the READ-ONLY flag and then select the file, press 
  98.      the RIGHT mouse button to get the file properties and then clear the 
  99.      READ-ONLY flag and APPLY you change. You can do this will more than one 
  100.      file at once by selecting a group of files.
  101.  
  102.      The second way is to use the File Manager and perform a similar set of 
  103.      operations as in the example above. The third and best way is to the DOS 
  104.      ATTRIB command with a DOS prompt. Here's how: 
  105.  
  106.      Assume you have copied the entire SOURCE directory on your hard drive to the 
  107.      location C:\SOURCE. To reset all the READ-ONLY attributes in one fell 
  108.      swoop you can use the ATTRIB command. Here is the syntax:
  109.     
  110.      C:\SOURCE\ATTRIB -r *.* /s
  111.  
  112.      This says to clear the READ-ONLY flag "r" from all files "*.*" and all lower 
  113.      sub-directories "/s".
  114.                        
  115.      * DirectX Driver Problems *
  116.  
  117.      DirectX may not have a driver for your video or sound card. If this is the case, 
  118.      you will be notified during installation. But don't worry if DirectX doesn't 
  119.      install a driver, it will still work, just not as good. If this happens you'll 
  120.      have to go to the manufacturer of your video or sound card and look for DirectX 
  121.      drivers, or else, keep an eye out at the Microsoft DirectX site for new updates.
  122.  
  123.  
  124.      * Compilation Problems *
  125.  
  126.      99% of compiler problems are "pilot" errors. So before you think that something 
  127.      is wrong, make sure that you have all your DirectX library, and header paths 
  128.      set up in the compiler to point to the DirectX SDK directories as the first in
  129.      in the search list. Make sure that you are creating a standard Win32 .EXE 
  130.      (if you are making a DirectX app). Make sure you have manually included the 
  131.      DirectX .LIB files in your link list or you have included them in your source
  132.      tree. And finally, make sure that you can compile a basic "hello world" program
  133.      with Visual C++. Don't jump into DirectX Windows programming without getting 
  134.      your compiler and environment setup properly. 
  135.  
  136.      * Video Problems *
  137.  
  138.      There are some video cards that even with a DirectX driver, still don't work 
  139.      correctly. This will appear as a sudden flash of black or white video
  140.      when you try to run some of the demos. If this happens, try going into the
  141.      display properties and reseting your machine's video to the demos desired 
  142.      resolution and bit depth, for example: 640x480 in 256 colors, or 24-bit mode, 
  143.      etc. Also, you MUST have your desktop set to 16-bit mode for the 16-bit 
  144.      windowed mode demos since they can't change video modes and must use the 
  145.      current desktop mode. 
  146.  
  147. VI.  COMPATIBILITY
  148.  
  149.      The contents of this book were tested on Windows 98/ME/XP/2000 Pentium II, III, IV, 
  150.      and equivalent AMD processors. I highly recommend at least a Pentium III 1.0Ghz or
  151.      better since the demos are software accelerated only. Additionally, I suppose most
  152.      of the software will work on Windows 95. In general, you need:
  153.  
  154.      Pentium III+ @ 1.0Ghz, Pentium 4 @ 1.5+ Ghz recommended.
  155.      64 MB RAM, 128 MB recommended.
  156.      500 megs of free disk space.
  157.      2D graphics accelerator.
  158.      16-bit sound card.
  159.  
  160.  
  161. 2003 The year of the the MaTriX...
  162. Lord Necron
  163.  
  164.  
  165.  
  166.