1 / 18

Prey Behavior through Influence Maps

Prey Behavior through Influence Maps. Alicia Yeargin CS380, Fall 2011. The Idea. How the idea came together… Big Cat Diary + Old, Useless Prototype = Idea. Behavior of Prey Animals. What does a herd of prey do?. Behavior of Prey Animals.

Télécharger la présentation

Prey Behavior through Influence Maps

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Prey BehaviorthroughInfluence Maps Alicia Yeargin CS380, Fall 2011

  2. The Idea • How the idea came together… • Big Cat Diary + Old, Useless Prototype = Idea.

  3. Behavior of Prey Animals • What does a herd of prey do?

  4. Behavior of Prey Animals • What does a herd of prey do? (According to Video Games) • Research into the subject showed that animal AI more often than not consisted of random wandering behaviors. I dunno, lol. Hey, where ya’ going?

  5. Behavior of Prey Animals • What does a herd of prey do? (Really.) Credit: Wildebeest herd, Flicker, h_savill http://www.flickr.com/photos/h_savill/209372013/

  6. Behavior of Prey Animals • What does a herd of prey do? (Step 1) • Migrate in a direction.

  7. Behavior of Prey Animals • What does a herd of prey do? (Step 2) • SOME migrate in a direction. • SOME eat.

  8. Behavior of Prey Animals • What does a herd of prey do? (Step 3) • SOME migrate in a direction. • SOME eat. • SOME face different directions.

  9. Behavior of Prey Animals • What does a herd of prey do? (Step 4) • Run when there’s a predator.

  10. Influence Map • What it is (in my implementation)… • 2D grid of values, ranging from -2.0 to 2.0. • The blue represents attracting forces (negative values). • The red represents repulsing forces (positive values).

  11. Influence Map • What I do (in my implementation)… • An array of particles serve as the representation for prey. • Simply have x, y for position and x, y for direction. • They start in a random direction and read from the map.

  12. Influence Map • What this does (in my implementation)… • Creates “guided” randomness. (Unpredictable + Logical) • Individual points move uniquely from one another. • Each point’s path across the map is different each time.

  13. Influence Map • How I used this (in my implementation)… • Used walls of red to mimic herding. • Used wall of blue to mimic migration. • Used special green squares to mimic stopping and eating.

  14. Influence Map • A special case (in my implementation)… • The map can be changed in real time to alter behavior. • A special predator mode can simulate predator presence. • Added in a trail of repulsing red squares to mouse.

  15. Why it matters… • You may have the best-looking environments…

  16. Why it matters… • …but you need something to make it feel ALIVE…

  17. Why it matters… • …and something else to make it BELIEVABLE.

  18. End. Demo...

More Related