home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / Media / STILL.XTL < prev    next >
Encoding:
Text File  |  2001-10-08  |  1.6 KB  |  33 lines

  1. <!-- In this example, a sequence of bmps are used in motion, as well as   -->
  2. <!-- some individual stills.  The project is authored at 15fps, so the    -->
  3. <!-- first bmp sequence will play each bitamp for 3 frames, since it is   -->
  4. <!-- told the sequence is supposed to play at 5fps to achieve normal      -->
  5. <!-- playback speed. Then we'll see some still images, with aspect ratios -->
  6. <!-- preserved, then we'll see the tga sequence 3 times faster (normal speed) -->
  7. <!-- since it is told 15fps is the correct frame rate for that sequence.  -->
  8.  
  9. <!-- NOTE: If you install the DirectX SDK to a path other than c:\dxsdk,  -->
  10. <!-- then you must change the media path for each clip src below.         -->
  11.  
  12. <timeline>
  13.  
  14.   <group type="video" framerate="15" width="480" height="360" previewmode="0">
  15.     <track>
  16.     <clip src="c:\dxsdk\samples\multimedia\media\shine0.bmp"   start="0" stop="2" framerate="5"/>
  17.     <clip src="c:\dxsdk\samples\multimedia\media\lake.jpg"     start="2" stop="4" stretchmode="PreserveAspectRatio"/>
  18.     <clip src="c:\dxsdk\samples\multimedia\media\lake2.jpg"    start="4" stop="6" stretchmode="PreserveAspectRatio"/>
  19.     <clip src="c:\dxsdk\samples\multimedia\media\lake3.jpg"    start="6" stop="8" stretchmode="PreserveAspectRatio"/>
  20.     <clip src="c:\dxsdk\samples\multimedia\media\caust00.tga"  start="8" stop="10" stretchmode="PreserveAspectRatio" framerate="15"/>
  21.     <clip src="c:\dxsdk\samples\multimedia\media\dx5_logo.bmp" start="10" stop="13"/>
  22.  
  23.     </track>
  24.   </group>
  25.  
  26.   <group type="audio">
  27.     <track>
  28.     <clip src="c:\dxsdk\samples\multimedia\media\piano.mp3"    start="0" stop="13" />
  29.     </track>
  30.   </group>
  31. </timeline>
  32.  
  33.