home *** CD-ROM | disk | FTP | other *** search
- KA.DOC - KENETIC ANIMATION MODULE FOR BIG D
-
- This file gives a brief description of the kenetic animation module for BIG D.
- The module consists of the following files:
-
- KA.LSP AutoLisp routines for describing the animation.
- KA.DOC This file.
- BD3.EXE The animation control program.
-
- This is an alpha version of the program and most likely contains several bugs.
- So proceed at your own risk and please report any problems you may find.
-
- PROCEDURE FOR GENERATING AN ANIMATION
-
- First, load your drawing into AutoCAD. Make a block out of each object you wish
- to animate. You can animate multiple blocks at a time and each block can
- contain multiple entities. Do not insert the blocks into the drawing.
-
- Draw a 2D polyline for each block which describes the motion each block is to
- follow. The polyline can consist of straight and curved segments, but do not
- curve fit the polyline.
-
- Load the animation lisp routine into AutoCAD with the command:
-
- (load "ka")
-
- If you are not in the BIG D directory, you will have to include the path to
- KA.LSP. For example:
-
- (load "c:/bigd/ka")
-
- Note the use of forward slashes instead of back slashes in the path. The
- animation routine consists of four commands: SETTIME, SETPATH, DELPATH, and PV.
-
- SETTIME sets three global variables: the start time of the animation, the ending
- time of the animation, and the number for frames per second you wish to
- generate. Start time and end time are entered in seconds.
-
- SETPATH must be run for each block you wish to animate. SETPATH asks you for
- the name of the block and the polyline path the block is to follow. Then it
- will prompt you a set of values which describe the blocks orientation at each
- vertex of the polyline: the time (must be >= start time and <= end time),
- elevation (z distance), rotation (z-axis rotation), the pitch (y-axis rotation),
- and the roll (x-axis rotation).
-
- DELPATH allows you to delete a previously define animation path.
-
- PV allows you to PreView the motion of each block in AutoCAD. PV will generate
- a series of AutoCAD slides and a script file with the same name as the drawing.
- When it finishes, type SCRIPT and the name of the drawing to run the animation
- preview.
-
- SETTIME, SETPATH, and DELPATH will each ask you if you want to save the current
- animation. If you answer yes, they will write the current animation parameters
- to a file with the same name and the drawing and a BDA extension. They will
- also write a batch (.BAT) file with the same name as the drawing.
-
- When you are satisfied with the animation preview, use DXFOUT to write a DXF
- file. Then END the drawing and exit AutoCAD.
-
- Next, load BIG D and open the DXF file. Set up all of your rendering options,
- light sources, and material assignments. You must also define a single view.
- This view will be the only view used during the animation. Exit BIG D and save
- your changes.
-
- From the DOS prompt, type the name of the drawing you are working with (without
- an extension). This command will run the batch file created by KA.LSP. The
- batch file will execute all of the commands required to generation the
- animation. The finished animation will consist of a series of TGA or PCX files
- which you can output to video or import into the Autodesk Animator.