Presentation is loading. Please wait.

Presentation is loading. Please wait.

Prey Behavior through Influence Maps Alicia Yeargin CS380, Fall 2011.

Similar presentations


Presentation on theme: "Prey Behavior through Influence Maps Alicia Yeargin CS380, Fall 2011."— Presentation transcript:

1 Prey Behavior through Influence Maps Alicia Yeargin CS380, Fall 2011

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

3 What does a herd of prey do?

4 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. Hey, where ya going? I dunno, lol.

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

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

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

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

9 What does a herd of prey do? (Step 4) Run when theres a predator.

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

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

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

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

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

15 You may have the best-looking environments…

16 …but you need something to make it feel ALIVE…

17 …and something else to make it BELIEVABLE.

18 End.


Download ppt "Prey Behavior through Influence Maps Alicia Yeargin CS380, Fall 2011."

Similar presentations


Ads by Google