home *** CD-ROM | disk | FTP | other *** search
/ Die Multimedia Power-CD / MULTIMEDIA.bin / fli_play / flimaker / flimaker.doc next >
Text File  |  1991-01-22  |  14KB  |  372 lines

  1.                        Autodesk AutoFlix Version II
  2.                         Autodesk Animator FLImaker
  3.                       .SLD or .RND to .FLI compiler
  4.  
  5. The Autodesk Animator FLImaker program converts AutoCAD, AutoSketch,
  6. and AutoShade files into Autodesk Animator format. 
  7.  
  8. Use FLIMAKER.exe to convert slide (.sld) files and rendering (.rnd) files 
  9. to the animation (.fli) format of Autodesk Animator. AutoCAD, AutoSketch, 
  10. and AutoShade produce .sld files for FLIMAKER.exe conversion; AutoShade 
  11. produces .rnd files for FLIMAKER.exe conversion.
  12.  
  13. The general procedure for converting AutoCAD, AutoSketch, and AutoShade
  14. files to Autodesk Animator format is as follows:
  15.  
  16. 1. Open the AutoCAD, AutoSketch, or AutoShade file and create.sld
  17.    or .rnd files.
  18.  
  19. 2. Produce a script file to process a number of .sld or .rnd files
  20.    at once.
  21.  
  22. 3. Use FLIMAKER.exe to convert the .sld or .rnd files to Autodesk
  23.    Animator format.
  24.  
  25.  
  26.  
  27. CREATING .SLD AND .RND FILES
  28. ============================
  29. The first step in converting AutoCAD, AutoSketch, or AutoShade files to
  30. Autodesk Animator format is to enter the original file and create a
  31. .sld or .rnd file.
  32.  
  33. Note: The type of graphics display you have on your AutoCAD,
  34. AutoSketch, or AutoShade system does not influence the quality of the
  35. resulting .fli file produced by FLIMAKER.exe. All .sld files are
  36. converted to the 320-by-200 format used by Autodesk Animator. In other
  37. words, you do not need a VGA display to create a .sld file that is
  38. acceptable to FLIMAKER.exe. Using a higher resolution display when you
  39. create your .sld file does not result in a better-looking .fli file.
  40. You must create rendering files at 320-by-200 resolution.
  41.  
  42.  
  43. CREATING .SLD FILES
  44. ===================
  45. Use the following procedure to create a .sld file:
  46.  
  47. 1. Enter the AutoCAD, AutoSketch, or AutoShade file you want to 
  48.    convert.
  49.  
  50. 2. In AutoCAD do the following:
  51.  
  52.    o    Enter fill off at the command prompt.
  53.  
  54. Note: Autodesk Animator FLImaker cannot process solid-filled areas on
  55. an ACAD slide. These solid-filled areas include areas on entities like
  56. wide polylines, in addition to those produced by the Solid command.
  57. Always make sure that you turn off Fill mode before you make an .sld
  58. file. However, FLIMAKER.exe converts Fill Region areas on an
  59. AutoSketch slide.
  60.  
  61. 3. In AutoCAD, AutoSketch, or AutoShade, create the slide:
  62.  
  63.    o    In AutoCAD, enter mslide at the command prompt, and then enter
  64.         a name for the slide.
  65.  
  66.    o    In AutoSketch, select Make Slide from the File menu. In the
  67.         displayed dialogue box, enter a name for the slide and click OK.
  68.  
  69.    o    In AutoShade, select Make Slide from the Display menu. In the
  70.         displayed dialogue box, enter a name for the slide and click OK.
  71.  
  72. Suggestion: If you are creating a number of slide files for your anima-
  73. tion, rename the files so that the correct order is apparent. For exam-
  74. ple, you might include a digit in the name that increases incremen-
  75. tally: mary1, mary2, mary3, and so on.
  76.  
  77. 4. Exit the AutoCad, AutoSketch, or AutoShade program.
  78.  
  79.  
  80. CREATING .RND FILES IN AUTOSHADE
  81. ================================
  82. Autodesk Animator FLImaker can process .rnd files produced by AutoShade
  83. Version 1.1x and AutoShade Version 2, regardless of computer type.
  84.  
  85. Important:  The .rnd file must be a VGA resolution file. It is
  86. important to set the SHADERDFILE parameter at the operating system
  87. level so that AutoShade produces the correct resolution .rnd file.
  88.  
  89. Use the following procedure to create an .rnd file from AutoShade:
  90.  
  91. 1. Set the SHADERDFILE environment variable to produce the correct
  92. resolution .rnd file.
  93.  
  94. For DOS and DOS Extender versions of AutoShade, at the system prompt
  95. enter this command:
  96.  
  97. set shaderfile=320,200,10000,13100,256,63,64
  98.  
  99. For more information, see the AutoShade Version 2 Installation and Per-
  100. formance Guide or the AutoShade with Autodesk RenderMan Installation
  101. and Performance Guide.
  102.  
  103. 2. Configure AutoShade to have a 256-color hardcopy rendering
  104.    device.
  105.  
  106. o  At the DOS system prompt, enter shade -r.
  107.    This command lets you reconfigure AutoShade.
  108.  
  109. o  Answer the Select Pointing Device, Select Display Device, and
  110.    Select Rendering Display Device prompts.
  111.  
  112. o  At the Select Rendering Hard Copy Device prompt, choose the
  113.    Rendering File (256-color map) option.
  114.  
  115. 3. Open the AutoShade filmroll file you want to convert to a .rnd
  116.    file.
  117.  
  118. Note: This procedure describes how to convert one file to use with
  119. FLIMAKER.exe. You normally use the AutoFlix LISP routines in AutoCAD to
  120. create AutoShade script files and run AutoShade in "batch" mode to
  121. process several files.
  122.  
  123. 4. Activate the Hard Copy option on the Display menu.
  124.    A check mark appears next to the Hard Copy option.
  125.  
  126. 5. Select Full Shade or Fast Shade on the Display menu.
  127.    The .rnd file is created.
  128.  
  129. Warning: FLIMAKER.exe does not currently support the AutoShade Smooth
  130. Shade option. However, smooth shading is supported by the Tgafli
  131. utility (see TGAFLI.zip).
  132.  
  133. To verify that your .rnd file has the correct SHADERDFILE settings, use
  134. the Readrnd program supplied with AutoShade to examine the file's
  135. contents.  This program is explained in more detail in the AutoShade
  136. Version 2 Installation and Performance Guide and the AutoShade with
  137. Autodesk RenderMan Installation and Performance Guide.
  138.  
  139.  
  140. CREATING A SCRIPT FILE FOR FLIMAKER.EXE
  141. =======================================
  142. After you've created .sld or .rnd files from your AutoCAD, AutoSketch,
  143. or AutoShade files, the next step is to create a script to process a
  144. large number of.sld or .rnd files. The script, which is an ASCII text file,
  145. instructs FLIMAKER.exe to process the .sld/.rnd files in the order in which you
  146. want them to appear in the Autodesk Animator .fli file.
  147.  
  148. To create the script, use any text editor that can produce unformatted
  149. text files (without control characters or other extraneous information).
  150.  
  151. In creating the script, follow these rules:
  152.  
  153.    o  List each file using its full name and extension (e.g., mary1.sld).
  154.  
  155.    o  Put the first file to be processed at the top of the list.
  156.  
  157.    o  Put the last file to be processed at the bottom of the list.
  158.  
  159. For example here is a script file called myfile, ready for FLIMAKER.exe
  160. to process:
  161.  
  162.    myslide1.sld 
  163.    myslide2.sld 
  164.    vga_rnd1.rnd 
  165.    vga_rnd2.rnd
  166.  
  167. This script file produces a four-frame .fli file for Autodesk Animator.
  168. The first two frames of the .fli file are from myslide1 and myslide2.
  169. The last two frames are from the AutoShade renderings vga_rnd1 and
  170. vga_rnd2.
  171.  
  172. Note: If you have just a single .sld or .rnd file to convert to a .fli
  173. file, you may supply it to FLIMAKER.exe as an argument without creating
  174. a script file.
  175.  
  176.  
  177. CONVERTING FILES WITH FLIMAKER.EXE
  178. ==================================
  179. After you've created the .sld and .rnd files and placed their names in
  180. a script, you're ready to use FLIMAKER.exe to perform the actual
  181. conversion.
  182.  
  183. To view Autodesk Animator FLImaker's usage information and options,
  184. enter FLImaker at the DOS prompt.
  185.  
  186. The following information appears:
  187.  
  188. FLImaker V1.02s (C) 1989, 1990 Autodesk, Inc.
  189.  
  190. Usage: FLImaker [-v]<filelist><fliname>[speed]
  191.  
  192.    Use the -v option to use the VGA screen while converting.
  193.  
  194.    If [speed] is omitted, the default is 5.
  195.  
  196. You can use the following options with FLIMAKER.exe:
  197.  
  198. -V 
  199. Displays the converted files on a VGA screen. This option displays
  200. how each .sld or .rnd file actually appears in the resulting .fli file.
  201. Files are displayed on a VGA screen in the 320-by-200 mode immediately
  202. after being converted.
  203.  
  204. <speed setting>   
  205. Sets a speed between 0 and 70. You can specify this speed to set the default
  206. playback speed setting in the .fli file. If you don't supply this option, the 
  207. speed setting is 5 jiffies. (A jiffy is the shortest unit of pause between 
  208. frames during playback in Autodesk Animator.)
  209.  
  210. Enter this text at the prompt:
  211.  
  212. C:\> FLIMAKER
  213.  
  214. An information screen appears.
  215.  
  216. The script filename is the minimum requirement for a valid command line
  217. argument following the FLImaker command. For example:
  218.  
  219. C:\>FLIMAKER [-v] <filelist>
  220.  
  221. A prompt asks for the .fli name. The prefix of the script filename
  222. serves as a default title.
  223.  
  224. Note:  If a script file has an extension, you must include it on the
  225. FLIMAKER.exe command line. For example:
  226.  
  227. C:\>FLIMAKER -v myfile.scr newfile 6
  228.  
  229. You can compile a single .rnd or .sld file without a script. For
  230. example:
  231.  
  232. C:\>FLIMAKER [-v] myfile.rnd
  233.  
  234. A prompt asks for the .fli name. The prefix of the .rnd or the .sld
  235. filename serves as a default title.
  236.  
  237. A file extension is not required within a script file. Autodesk
  238. Animator FLImaker searches first for a .rnd then a .sld file. If it
  239. finds neither, it reports the following message:
  240.  
  241. >>[filename] File not found, skipping...
  242.  
  243. The program continues to read the file.
  244.  
  245. Note:  If both .rnd and .sld files are included in the script without
  246. extensions and with the same filename, Autodesk Animator FLImaker
  247. processes them both as .rnd files.
  248.  
  249. You can add comments to the script file with an asterisk (*) at the
  250. beginning and end to identify the comment line. For example:
  251.  
  252.  * this script file results in a four-frame .fli file.*
  253.  
  254. Once FLIMAKER.exe processes a script file, it displays the total number
  255. of frames compiled. For example:
  256.  
  257.    4 frames compiled.
  258.    Autodesk Animator file <filename>.fli successfully created.
  259.  
  260. You can install the AutoShade RDVGA ADI driver and use it with the
  261. Record option in AutoShade to create .rnd files. This driver
  262. automatically sets the correct SHADERDFILE settings.
  263.  
  264. If an incorrect SHADERDFILE rendering is displayed, the following
  265. message appears:
  266.  
  267. **ERROR: Improper render file format. [640,444,1,1,256,15,16] ** Please
  268. replace bad.rnd **
  269.  
  270. A .bat file is created that sets the proper SHADERDFILE setting in the
  271. current directory.
  272.  
  273. Autodesk Animator FLImaker 1.02s can process only .rnd files produced by
  274. AutoShade 1.1 or greater, regardless of computer type. The .rnd file
  275. must be a VGA 320-by-200-by-256 resolution file. See appendix F, "The
  276. Autodesk Animator FLImaker," in your Autodesk Animator Reference
  277. Manual.
  278.  
  279. Note:  For your convenience, setrnd.bat is in this directory. Enter
  280. setrnd to set SHADERDFILE correctly for AutoShade.
  281.  
  282. The following message appears if the program doesn't find a file during
  283. processing:
  284.  
  285. >>[fliname] File not found, skipping.......  Nothing to process.
  286.  
  287. The script file continues to compile as long as files are found.
  288.  
  289. The program accepts carriage returns and blank lines within script
  290. files. The default speed setting is 5 jiffies.
  291.  
  292. The [-v] and [speed] options are the only options available for
  293. Autodesk Animator FLImaker 1.02s.
  294.  
  295. Example
  296.  
  297. Suppose you want to convert the script myfile to a .FLI file called
  298. newfile. You also want to use the -V option and have a speed setting of
  299. 6. To convert the files, follow these steps:
  300.  
  301. 1. Move the .SLD files, .RND files, and script to the directory
  302.    containing FLIMAKER.exe.
  303.  
  304. 2. At the DOS prompt, enter the following command:
  305.  
  306.    FLIMAKER -V myfile newfile 6
  307.  
  308. Note: If the script has an extension, you must include it on the
  309. FLIMAKER.exe command line. For example:
  310.  
  311.    FLIMAKER -V myfile.scr newfile 6
  312.  
  313. Do not enter a .FLI extension for newfile; FLIMAKER.exe does so
  314. automatically.
  315.  
  316. The myfile script is converted to a .fli file called newfile. Its speed
  317. setting is 6.  Immediately after the conversion, each frame of newfile
  318. appears on screen, exactly as it will appear in Autodesk Animator.
  319.  
  320. Caution:  If a .fli file already exists with the same name as newfile,
  321. FLIMAKER.exe automatically overwrites the existing file without
  322. warning.
  323.  
  324. IF YOU HAVE PROBLEMS
  325. ====================
  326. If Autodesk Animator FLImaker will not process your script, check for
  327. the following:
  328.  
  329.    o The files have been properly converted to .sld or .rnd files.
  330.  
  331.    o The script correctly lists each .sld or .rnd file you want, and
  332.      all of the .sld and .rnd files exist.
  333.  
  334.    o The script is in the proper format (i.e., no unusual spaces or
  335.      characters).
  336.  
  337.    o The script is an ASCII text file.
  338.  
  339.    o The script, .sld, and .rnd files are in the same directory as
  340.      FLIMAKER.exe.
  341.  
  342.    o You have sufficient hard disk space.
  343.  
  344. ======================================================================
  345.  
  346.                           S H A R E W A R E
  347.  
  348.  
  349. License is granted for the use of this software and documentation on a 
  350. no charge, sharing basis. You may distribute and copy this software and 
  351. documentation freely as long as it remains a complete unaltered package 
  352. and is not sold for profit.  
  353.  
  354. If you find AutoFlix version 2 a useful tool in your work, a contribution 
  355. of $35 would be appreciated.  When we receive your payment, we will send
  356. you a  package containing the latest version of AutoFlix, a typeset and
  357. printed  manual  describing  AutoFlix, and  several sample  movies  which 
  358. illustrate  what  you can do with  AutoFlix. Your contribution helps continue
  359. the development of low-cost design tools like AutoFlix. 
  360.  
  361. Please mail contributions to:
  362.      Autodesk, Inc.
  363.      Customer Service
  364.      Attention: AutoFlix
  365.      2320 Marinship Way
  366.      Sausalito, CA  94965  U.S.A.
  367.  
  368. Or, in the United States, call (800) 525-2763 to charge to your credit card.  
  369. Please feel  free  to  share  copies  of  AutoFlix  with  your colleagues.      
  370. (C) 1987, 1988, 1989, 1990, 1991 Autodesk, Inc. 
  371.  
  372.