home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p055 / 2.ddi / SUPPORT.LIF / 055.KA.DOC < prev    next >
Encoding:
Text File  |  1990-05-17  |  3.3 KB  |  71 lines

  1. KA.DOC - KENETIC ANIMATION MODULE FOR BIG D
  2.  
  3. This file gives a brief description of the kenetic animation module for BIG D.  
  4. The module consists of the following files:
  5.  
  6.         KA.LSP        AutoLisp routines for describing the animation.
  7.         KA.DOC        This file.
  8.         BD3.EXE        The animation control program.
  9.  
  10. This is an alpha version of the program and most likely contains several bugs.  
  11. So proceed at your own risk and please report any problems you may find.
  12.  
  13. PROCEDURE FOR GENERATING AN ANIMATION
  14.  
  15. First, load your drawing into AutoCAD.  Make a block out of each object you wish 
  16. to animate.  You can animate multiple blocks at a time and each block can 
  17. contain multiple entities.  Do not insert the blocks into the drawing.
  18.  
  19. Draw a 2D polyline for each block which describes the motion each block is to 
  20. follow.  The polyline can consist of straight and curved segments, but do not 
  21. curve fit the polyline.
  22.  
  23. Load the animation lisp routine into AutoCAD with the command:
  24.  
  25.         (load "ka")
  26.  
  27. If you are not in the BIG D directory, you will have to include the path to 
  28. KA.LSP.  For example:
  29.  
  30.         (load "c:/bigd/ka")
  31.  
  32. Note the use of forward slashes instead of back slashes in the path.  The
  33. animation routine consists of four commands: SETTIME, SETPATH, DELPATH, and PV.
  34.  
  35. SETTIME sets three global variables: the start time of the animation, the ending 
  36. time of the animation, and the number for frames per second you wish to 
  37. generate.  Start time and end time are entered in seconds.
  38.  
  39. SETPATH must be run for each block you wish to animate.  SETPATH asks you for 
  40. the name of the block and the polyline path the block is to follow.  Then it 
  41. will prompt you a set of values which describe the blocks orientation at each 
  42. vertex of the polyline: the time (must be >= start time and <= end time),
  43. elevation (z distance), rotation (z-axis rotation), the pitch (y-axis rotation),
  44. and the roll (x-axis rotation).
  45.  
  46. DELPATH allows you to delete a previously define animation path.
  47.  
  48. PV allows you to PreView the motion of each block in AutoCAD.  PV will generate 
  49. a series of AutoCAD slides and a script file with the same name as the drawing.  
  50. When it finishes, type SCRIPT and the name of the drawing to run the animation 
  51. preview.
  52.  
  53. SETTIME, SETPATH, and DELPATH will each ask you if you want to save the current 
  54. animation.  If you answer yes, they will write the current animation parameters 
  55. to a file with the same name and the drawing and a BDA extension.  They will 
  56. also write a batch (.BAT) file with the same name as the drawing.
  57.  
  58. When you are satisfied with the animation preview, use DXFOUT to write a DXF 
  59. file.  Then END the drawing and exit AutoCAD.
  60.  
  61. Next, load BIG D and open the DXF file.  Set up all of your rendering options, 
  62. light sources, and material assignments.  You must also define a single view.  
  63. This view will be the only view used during the animation.  Exit BIG D and save 
  64. your changes.
  65.  
  66. From the DOS prompt, type the name of the drawing you are working with (without 
  67. an extension).  This command will run the batch file created by KA.LSP.  The 
  68. batch file will execute all of the commands required to generation the 
  69. animation.  The finished animation will consist of a series of TGA or PCX files 
  70. which you can output to video or import into the Autodesk Animator.
  71.