home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Graphics
/
graphics-16000.iso
/
msdos
/
animutil
/
tgafli
/
tgafli.doc
next >
Wrap
Text File
|
1991-01-21
|
4KB
|
106 lines
Autodesk AutoFlix Version 2
TGAFLI.EXE
Targa To .FLI Documentation
The primary use of the TGAFLI utility is to compile Targa images (.tga 16, 24,
or 32 bit) generated by AutoShade or Autodesk RenderMan into Autodesk
Animator .FLI format.
This program lets you convert any number of Targa picture files to VGA 256-
color, 320-by-200 pixel images and record them sequentially to an Autodesk
Animator .FLI file. The program performs this conversion automatically, mak-
ing the process of creating animations much less tedious.
In this program, you enter commands at the command line. The program runs
on VGA and non-VGA systems. If it is run on VGA, you may see the images as
they're converted to the FLI format; otherwise you just see text messages
describing the program's progress.
The TGAFLI program comes from the Autodesk Animator Convert program and
operates in a similar manner; if you use the /v option, it displays the Targa
image, reports during the conversion process, and then displays the converted
image as it will appear on the VGA monitor.
Format and Options
TGAFLI has two formats on the DOS command line:
o For Targa files listed in a file, the TGAFLI format is
TGAFLI @<filename> <.FLI filename> <.FLI file> [options]
o For Targa files ordered sequentially, the TGAFLI format is
TGAFLI <frames> <frame file prefix> <.FLI file> [options]
The following options are available:
/D Dither the VGA images (default is no dithering)
/P<palette filename> Fit all frames to this palette
/V Display process on VGA screen
If you do not use the /P option, you'll want to bring the compiled .FLI file
into Autodesk Animator and use the One Palette option to force all the frames
to have the same palette.
For best results, however, go one step further: after you've converted the ani-
mation to use one palette, save that palette to disk and exit Autodesk
Animator. Then rerun the TGAFLI program, this time using the /P option to
force the converter to use the optimized palette for the conversion.
Because this is a direct reduction of the palette from true-color format to the
256-color optimized palette, you'll note that the colors are far closer to
their originals and give a good representation of the true-color image.
A feature of the /P option is that it converts an image much faster than normal
because it fits the true-color image palette to the 256-color palette directly,
without having to calculate the optimum palette.
EXAMPLES
In the following example, TGAFLI reads atktut.mvi to produce lesson.FLI
and displays it on your VGA screen:
TGAFLI @atktut.mvi lesson /v
The following example of TGAFLI uses the files atk0001.tga through atk0027.tga
to create fun.FLI, dithering the frames:
TGAFLI 27 atk fun /d
The following example of TGAFLI creates the animation plane.FLI from
fly0001.tga through fly0100.tga, and forces all the frames in the .FLI file to
the palette in the file airplane.col:
TGAFLI 100 fly plane /pairplane.col
========================================================================
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.