home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / crane.zip / CRANE.DOC < prev    next >
Text File  |  1990-03-30  |  1KB  |  32 lines

  1. Sorry folks, there isn't a lot of documentation, because I don't
  2. intend to ask for any money for this program.  So I'm just including
  3. some pointers.
  4.  
  5. Depending on how fast (or slow) your machine is, you will probably want
  6. to use the recording feature.  This saves only the integer X/Y screen
  7. locations of the wire frame that makes up the crane to disk which can
  8. then be rapidly loaded and displayed during playback.
  9.  
  10. The best method to use the Record feature is to start the recorder
  11. going before starting the animation with Animate.  Then when you want
  12. to stop recording stop the animation first, then stop the recording. 
  13. Then you can use the playback feature.  If you want to use this
  14. program extensively you may want to add features like named recording
  15. files, and self-looping.
  16.  
  17. It should be fairly easy to extend the code to animate other three
  18. dimensional objects by loading their point lists from a disk file.
  19.  
  20. The way I cause movement is that I create a virtual point that is in
  21. "front" of the crane that also undergoes rotations.  (All of the
  22. crane points are centered around (0,0,0).)  Then I apply the
  23. offsets generated to the three dimensional location point I keep
  24. lying around.  Finally I add the location point to the rotated crane
  25. points.  I repeat this for each "frame" of movement.
  26.  
  27. Enjoy!
  28.  
  29. Mike
  30.  
  31.  
  32.