home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / OTTSPAR2.DMS / in.adf / batflock_scn.lha / batflock_readme.txt < prev   
Encoding:
Text File  |  1994-03-01  |  900 b   |  18 lines

  1. 100 bats flapping and flocking  - JT
  2.  
  3. This is a sample flocking scene. It shows how a displacement map can be used
  4. to make an object move. In this case a map is projected on the y and
  5. slid along the z axis. As it move relative to the object, the body stays
  6. in a constant grey scale (127), while the wings hit from 0 to 255 in
  7. a sine wave type pattern. This makes the wings go above and below the bodies
  8. grey scale value hence a flapping motion occurs. This motion could be
  9. enhanced by remaking my map to produce a less linear flapping action. The
  10. value for centering the map on each bat was randomized in the z to throw
  11. the displacement out of phase, otherwise all would flap in unison.
  12. These controls are in the scene menu pulldown.
  13.  
  14. Unarchive and copy the bat object and displacement map to ram:.
  15.  
  16. Notice how the bats are whiteish for contrast against black. Hmmmm...
  17. a rare albino colony I guess.
  18.