home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TopWare 18: Liquid
/
Image.iso
/
liquid
/
top1023
/
flimaker.doc
next >
Wrap
Text File
|
1991-01-22
|
14KB
|
372 lines
Autodesk AutoFlix Version II
Autodesk Animator FLImaker
.SLD or .RND to .FLI compiler
The Autodesk Animator FLImaker program converts AutoCAD, AutoSketch,
and AutoShade files into Autodesk Animator format.
Use FLIMAKER.exe to convert slide (.sld) files and rendering (.rnd) files
to the animation (.fli) format of Autodesk Animator. AutoCAD, AutoSketch,
and AutoShade produce .sld files for FLIMAKER.exe conversion; AutoShade
produces .rnd files for FLIMAKER.exe conversion.
The general procedure for converting AutoCAD, AutoSketch, and AutoShade
files to Autodesk Animator format is as follows:
1. Open the AutoCAD, AutoSketch, or AutoShade file and create.sld
or .rnd files.
2. Produce a script file to process a number of .sld or .rnd files
at once.
3. Use FLIMAKER.exe to convert the .sld or .rnd files to Autodesk
Animator format.
CREATING .SLD AND .RND FILES
============================
The first step in converting AutoCAD, AutoSketch, or AutoShade files to
Autodesk Animator format is to enter the original file and create a
.sld or .rnd file.
Note: The type of graphics display you have on your AutoCAD,
AutoSketch, or AutoShade system does not influence the quality of the
resulting .fli file produced by FLIMAKER.exe. All .sld files are
converted to the 320-by-200 format used by Autodesk Animator. In other
words, you do not need a VGA display to create a .sld file that is
acceptable to FLIMAKER.exe. Using a higher resolution display when you
create your .sld file does not result in a better-looking .fli file.
You must create rendering files at 320-by-200 resolution.
CREATING .SLD FILES
===================
Use the following procedure to create a .sld file:
1. Enter the AutoCAD, AutoSketch, or AutoShade file you want to
convert.
2. In AutoCAD do the following:
o Enter fill off at the command prompt.
Note: Autodesk Animator FLImaker cannot process solid-filled areas on
an ACAD slide. These solid-filled areas include areas on entities like
wide polylines, in addition to those produced by the Solid command.
Always make sure that you turn off Fill mode before you make an .sld
file. However, FLIMAKER.exe converts Fill Region areas on an
AutoSketch slide.
3. In AutoCAD, AutoSketch, or AutoShade, create the slide:
o In AutoCAD, enter mslide at the command prompt, and then enter
a name for the slide.
o In AutoSketch, select Make Slide from the File menu. In the
displayed dialogue box, enter a name for the slide and click OK.
o In AutoShade, select Make Slide from the Display menu. In the
displayed dialogue box, enter a name for the slide and click OK.
Suggestion: If you are creating a number of slide files for your anima-
tion, rename the files so that the correct order is apparent. For exam-
ple, you might include a digit in the name that increases incremen-
tally: mary1, mary2, mary3, and so on.
4. Exit the AutoCad, AutoSketch, or AutoShade program.
CREATING .RND FILES IN AUTOSHADE
================================
Autodesk Animator FLImaker can process .rnd files produced by AutoShade
Version 1.1x and AutoShade Version 2, regardless of computer type.
Important: The .rnd file must be a VGA resolution file. It is
important to set the SHADERDFILE parameter at the operating system
level so that AutoShade produces the correct resolution .rnd file.
Use the following procedure to create an .rnd file from AutoShade:
1. Set the SHADERDFILE environment variable to produce the correct
resolution .rnd file.
For DOS and DOS Extender versions of AutoShade, at the system prompt
enter this command:
set shaderfile=320,200,10000,13100,256,63,64
For more information, see the AutoShade Version 2 Installation and Per-
formance Guide or the AutoShade with Autodesk RenderMan Installation
and Performance Guide.
2. Configure AutoShade to have a 256-color hardcopy rendering
device.
o At the DOS system prompt, enter shade -r.
This command lets you reconfigure AutoShade.
o Answer the Select Pointing Device, Select Display Device, and
Select Rendering Display Device prompts.
o At the Select Rendering Hard Copy Device prompt, choose the
Rendering File (256-color map) option.
3. Open the AutoShade filmroll file you want to convert to a .rnd
file.
Note: This procedure describes how to convert one file to use with
FLIMAKER.exe. You normally use the AutoFlix LISP routines in AutoCAD to
create AutoShade script files and run AutoShade in "batch" mode to
process several files.
4. Activate the Hard Copy option on the Display menu.
A check mark appears next to the Hard Copy option.
5. Select Full Shade or Fast Shade on the Display menu.
The .rnd file is created.
Warning: FLIMAKER.exe does not currently support the AutoShade Smooth
Shade option. However, smooth shading is supported by the Tgafli
utility (see TGAFLI.zip).
To verify that your .rnd file has the correct SHADERDFILE settings, use
the Readrnd program supplied with AutoShade to examine the file's
contents. This program is explained in more detail in the AutoShade
Version 2 Installation and Performance Guide and the AutoShade with
Autodesk RenderMan Installation and Performance Guide.
CREATING A SCRIPT FILE FOR FLIMAKER.EXE
=======================================
After you've created .sld or .rnd files from your AutoCAD, AutoSketch,
or AutoShade files, the next step is to create a script to process a
large number of.sld or .rnd files. The script, which is an ASCII text file,
instructs FLIMAKER.exe to process the .sld/.rnd files in the order in which you
want them to appear in the Autodesk Animator .fli file.
To create the script, use any text editor that can produce unformatted
text files (without control characters or other extraneous information).
In creating the script, follow these rules:
o List each file using its full name and extension (e.g., mary1.sld).
o Put the first file to be processed at the top of the list.
o Put the last file to be processed at the bottom of the list.
For example here is a script file called myfile, ready for FLIMAKER.exe
to process:
myslide1.sld
myslide2.sld
vga_rnd1.rnd
vga_rnd2.rnd
This script file produces a four-frame .fli file for Autodesk Animator.
The first two frames of the .fli file are from myslide1 and myslide2.
The last two frames are from the AutoShade renderings vga_rnd1 and
vga_rnd2.
Note: If you have just a single .sld or .rnd file to convert to a .fli
file, you may supply it to FLIMAKER.exe as an argument without creating
a script file.
CONVERTING FILES WITH FLIMAKER.EXE
==================================
After you've created the .sld and .rnd files and placed their names in
a script, you're ready to use FLIMAKER.exe to perform the actual
conversion.
To view Autodesk Animator FLImaker's usage information and options,
enter FLImaker at the DOS prompt.
The following information appears:
FLImaker V1.02s (C) 1989, 1990 Autodesk, Inc.
Usage: FLImaker [-v]<filelist><fliname>[speed]
Use the -v option to use the VGA screen while converting.
If [speed] is omitted, the default is 5.
You can use the following options with FLIMAKER.exe:
-V
Displays the converted files on a VGA screen. This option displays
how each .sld or .rnd file actually appears in the resulting .fli file.
Files are displayed on a VGA screen in the 320-by-200 mode immediately
after being converted.
<speed setting>
Sets a speed between 0 and 70. You can specify this speed to set the default
playback speed setting in the .fli file. If you don't supply this option, the
speed setting is 5 jiffies. (A jiffy is the shortest unit of pause between
frames during playback in Autodesk Animator.)
Enter this text at the prompt:
C:\> FLIMAKER
An information screen appears.
The script filename is the minimum requirement for a valid command line
argument following the FLImaker command. For example:
C:\>FLIMAKER [-v] <filelist>
A prompt asks for the .fli name. The prefix of the script filename
serves as a default title.
Note: If a script file has an extension, you must include it on the
FLIMAKER.exe command line. For example:
C:\>FLIMAKER -v myfile.scr newfile 6
You can compile a single .rnd or .sld file without a script. For
example:
C:\>FLIMAKER [-v] myfile.rnd
A prompt asks for the .fli name. The prefix of the .rnd or the .sld
filename serves as a default title.
A file extension is not required within a script file. Autodesk
Animator FLImaker searches first for a .rnd then a .sld file. If it
finds neither, it reports the following message:
>>[filename] File not found, skipping...
The program continues to read the file.
Note: If both .rnd and .sld files are included in the script without
extensions and with the same filename, Autodesk Animator FLImaker
processes them both as .rnd files.
You can add comments to the script file with an asterisk (*) at the
beginning and end to identify the comment line. For example:
* this script file results in a four-frame .fli file.*
Once FLIMAKER.exe processes a script file, it displays the total number
of frames compiled. For example:
4 frames compiled.
Autodesk Animator file <filename>.fli successfully created.
You can install the AutoShade RDVGA ADI driver and use it with the
Record option in AutoShade to create .rnd files. This driver
automatically sets the correct SHADERDFILE settings.
If an incorrect SHADERDFILE rendering is displayed, the following
message appears:
**ERROR: Improper render file format. [640,444,1,1,256,15,16] ** Please
replace bad.rnd **
A .bat file is created that sets the proper SHADERDFILE setting in the
current directory.
Autodesk Animator FLImaker 1.02s can process only .rnd files produced by
AutoShade 1.1 or greater, regardless of computer type. The .rnd file
must be a VGA 320-by-200-by-256 resolution file. See appendix F, "The
Autodesk Animator FLImaker," in your Autodesk Animator Reference
Manual.
Note: For your convenience, setrnd.bat is in this directory. Enter
setrnd to set SHADERDFILE correctly for AutoShade.
The following message appears if the program doesn't find a file during
processing:
>>[fliname] File not found, skipping....... Nothing to process.
The script file continues to compile as long as files are found.
The program accepts carriage returns and blank lines within script
files. The default speed setting is 5 jiffies.
The [-v] and [speed] options are the only options available for
Autodesk Animator FLImaker 1.02s.
Example
Suppose you want to convert the script myfile to a .FLI file called
newfile. You also want to use the -V option and have a speed setting of
6. To convert the files, follow these steps:
1. Move the .SLD files, .RND files, and script to the directory
containing FLIMAKER.exe.
2. At the DOS prompt, enter the following command:
FLIMAKER -V myfile newfile 6
Note: If the script has an extension, you must include it on the
FLIMAKER.exe command line. For example:
FLIMAKER -V myfile.scr newfile 6
Do not enter a .FLI extension for newfile; FLIMAKER.exe does so
automatically.
The myfile script is converted to a .fli file called newfile. Its speed
setting is 6. Immediately after the conversion, each frame of newfile
appears on screen, exactly as it will appear in Autodesk Animator.
Caution: If a .fli file already exists with the same name as newfile,
FLIMAKER.exe automatically overwrites the existing file without
warning.
IF YOU HAVE PROBLEMS
====================
If Autodesk Animator FLImaker will not process your script, check for
the following:
o The files have been properly converted to .sld or .rnd files.
o The script correctly lists each .sld or .rnd file you want, and
all of the .sld and .rnd files exist.
o The script is in the proper format (i.e., no unusual spaces or
characters).
o The script is an ASCII text file.
o The script, .sld, and .rnd files are in the same directory as
FLIMAKER.exe.
o You have sufficient hard disk space.
======================================================================
S H A R E W A R E
License is granted for the use of this software and documentation on a
no charge, sharing basis. You may distribute and copy this software and
documentation freely as long as it remains a complete unaltered package
and is not sold for profit.
If you find AutoFlix version 2 a useful tool in your work, a contribution
of $35 would be appreciated. When we receive your payment, we will send
you a package containing the latest version of AutoFlix, a typeset and
printed manual describing AutoFlix, and several sample movies which
illustrate what you can do with AutoFlix. Your contribution helps continue
the development of low-cost design tools like AutoFlix.
Please mail contributions to:
Autodesk, Inc.
Customer Service
Attention: AutoFlix
2320 Marinship Way
Sausalito, CA 94965 U.S.A.
Or, in the United States, call (800) 525-2763 to charge to your credit card.
Please feel free to share copies of AutoFlix with your colleagues.
(C) 1987, 1988, 1989, 1990, 1991 Autodesk, Inc.