Top Banner
Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006
40

Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Jan 21, 2016

Download

Documents

Melody

Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006. Automated Build Process. Voxelize Polygon Soup. Identify Walkable Surfaces. Simplify Surface Perimeter. Partition Into Convex Areas. Convex Partitioning. Convex Area Graph Complete. Holes in the Surfaces. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Crowds In A Polygon Soup

Next-Gen Path Planning

David Miles3/23/2006

Page 2: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006
Page 3: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006
Page 4: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006
Page 5: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Automated Build Process

Page 6: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Voxelize Polygon Soup

Page 7: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Identify Walkable Surfaces

Page 8: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Simplify Surface Perimeter

Page 9: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Partition Into Convex Areas

Page 10: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Convex Partitioning

Page 11: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Convex Area Graph Complete

Page 12: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Holes in the Surfaces

Page 13: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Splice Location

Page 14: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Single Polygon Surface

Page 15: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Convex Area Graph Complete

Page 16: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Overhead Obstacles

Page 17: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Walkable Surface Removal

Page 18: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Changing WorldsDynamic Obstacles

• Dynamic obstacles reconfigure world

• Dynamic areas added

• Pathfinding algorithm unchanged

Page 19: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Boolean Subtract

-

=

Page 20: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Boolean Subtract One Area

Page 21: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Non-Convex Dynamic Areas

Page 22: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Establish Connectivity

Page 23: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Match Up Remaining Edges

Page 24: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Dynamic Obstacle Summary

• Find areas affected by dynamic obstacle• Record any edges entering from outside• Boolean subtract• Partition any non-convex dynamic areas• Match up unconnected edges

Page 25: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Fluid AI Navigation

What can I do with my convex area graph?– Very fast navigational ray-casts– Distance to edge queries– Repulsion fields on edges– “Next corner” determination

Page 26: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Path Following in Flocking

Desired flocking behavior

Common approach attracts each flock member to the minimum distance path. Does not adapt to available freespace.

Repulsion from edges can easily trap individuals in local minima.

Page 27: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

For The Pathing Connoisseur

Unneeded return tothe original path annoys the pathing connoisseur

Ahhh, much better

Page 28: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

It’s Easy

Each member of the flock steers left or right to head towards the “next corner”.

Page 29: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Finding the Next Corner

Page 30: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

“Portals” Between Areas

Page 31: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Initializing the Loop

Page 32: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

First Update, Left Side

Page 33: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

First Update Complete

Page 34: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Second Update, Left Side

Page 35: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Second Update Complete

Page 36: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Third Update, Left Side

Page 37: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Final Output

Page 38: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

“Next Corner” Summary

• Easy to compute from convex graph

• < 2 cross-products per iteration

• Can limit iterations

• Never explicitly create min-dist path

• Fluid motion even with large disturbances

Page 39: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Conclusions• Automated build of convex area graph

– efficiently represents the walkable free space

– operates on polygon soup mesh– settable enemy size and shape

• Dynamic obstacles update graph– no speed overhead once updated

• Fluid AI navigation using the graph– Many useful queries performed rapidly

Page 40: Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006

Special Thanks

• Meilin Wong

• Hong Park and David Modiano

• Crystal Dynamics

[email protected]

• www.babelflux.com