Crowd Simulation (INFOMCRWS) - Introduction to Crowd Simulation

Slides:



Advertisements
Similar presentations
Lecture 7: Potential Fields and Model Predictive Control
Advertisements

A predictive Collision Avoidance Model for Pedestrian Simulation Author: Ioannis Karamouzas et al. Presented by: Jessica Siewert.
Controlling Individual Agents in High Density Crowd Simulation N. Pelechano, J.M. Allbeck and N.I. Badler (2007)
ORGANIZING THE CONTENT Physical Structure
Motion Planning for Point Robots CS 659 Kris Hauser.
Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006 Copyright 2006 BabelFlux LLC.
Crowds In A Polygon Soup Next-Gen Path Planning David Miles 3/23/2006.
By Lydia E. Kavraki, Petr Svestka, Jean-Claude Latombe, Mark H. Overmars Emre Dirican
Better Group Behaviors in Complex Environments using Global Roadmaps O. Burchan Bayazit, Jyh-Ming Lien and Nancy M. Amato Presented by Mohammad Irfan Rafiq.
Roland Geraerts and Mark Overmars ICRA 2007 The Corridor Map Method: Real-Time High-Quality Path Planning.
Way to go: A framework for multi-level planning in games Norman Jaklin Wouter van Toll Roland Geraerts Department of Information and Computing Sciences.
 Mankyu Sung Scalable, Controllable, Efficient and convincing crowd simulation (2005)  Michael Gleicher “I have a bad case of Academic Attention Deficit.
Crowd Simulation Sai-Keung Wong. Crowd Simulation A process of simulating the movement of a large number of entities or characters. While simulating these.
Motion planning, control and obstacle avoidance D. Calisi.
C ROWD P ATCHES : P OPULATING L ARGE - S CALE V IRTUAL E NVIRONMENTS FOR R EAL -T IME A PPLICATIONS Barbara Yersin, Jonathan Maïm, Julien Pettré, Daniel.
Presenter: Robin van Olst. Avneesh SudRussell Gayle Erik Andersen Stephen GuyMing Lin Dinesh Manocha.
Autonomous Robot Navigation Panos Trahanias ΗΥ475 Fall 2007.
Better Group Behaviors in Complex Environments using Global Roadmaps O. Burchan Bayazit, Jyh-Ming Lien and Nancy M. Amato Andreas Edlund.
Panos Trahanias: Autonomous Robot Navigation
Randomized Planning for Short Inspection Paths Tim Danner Lydia E. Kavraki Department of Computer Science Rice University.
CS 326A: Motion Planning Basic Motion Planning for a Point Robot.
Real-time Crowd Movement On Large Scale Terrains Speaker: Alvin Date:4/26/2004From:TPCG03.
Panos Trahanias: Autonomous Robot Navigation PATH PLANNING.
Crowd Simulations Guest Instructor - Stephen J. Guy.
Multi-Layered Navigation Meshes Wouter G. van Toll, Atlas F. Cook IV, Roland Geraerts ICT.OPEN 2011.
Ioannis Karamouzas, Roland Geraerts, Mark Overmars Indicative Routes for Path Planning and Crowd Simulation.
A Navigation Mesh for Dynamic Environments Wouter G. van Toll, Atlas F. Cook IV, Roland Geraerts CASA 2012.
Using the Corridor Map Method for Path Planning for a Large Number of Characters Roland Geraerts, Arno Kamphuis, Ioannis Karamouzas, Mark Overmars MIG’08.
Ioannis Karamouzas, Roland Geraerts and A. Frank van der Stappen Space-time Group Motion Planning.
Path Planning for a Point Robot
1 Distributed and Optimal Motion Planning for Multiple Mobile Robots Yi Guo and Lynne Parker Center for Engineering Science Advanced Research Computer.
Adrian Treuille, Seth Cooper, Zoran Popović 2006 Walter Kerrebijn
From Path Planning to Crowd Simulation
Crowds (and research in animation and games) CSE 3541 Matt Boggus.
Administration Feedback on assignment Late Policy
Wouter G. van Toll Atlas F. Cook IV Roland Geraerts Realistic Crowd Simulation with Density-Based Path Planning ICT.OPEN / ASCI October 22nd, 2012.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
Crowd Self-Organization, Streaming and Short Path Smoothing 學號: 姓名:邱欣怡 日期: 2007/1/2 Stylianou Soteris & Chrysanthou Yiorgos.
Roland Geraerts and Erik Schager CASA 2010 Stealth-Based Path Planning using Corridor Maps.
CG-UFRGS Real-Time Multi-Agent Path Planning on Arbitrary Surfaces Rafael P. Torchelsen 1, Luiz F. Scheidegger 1, Guilherme N. Oliveira 1, Rui Bastos 2,
Review IMGD Engine Architecture Types Broadly, what are the two architecture types discussed for game engines? What are the differences?
Sébastien Paris, Anton Gerdelan, Carol O’Sullivan {Sebastien.Paris, gerdelaa, GV2 group, Trinity College Dublin.
Crowds (and research in computer animation and games)
Computer Animation Algorithms and Techniques
COGNITIVE APPROACH TO ROBOT SPATIAL MAPPING
CS b659: Intelligent Robotics
Indicative Routes for Path Planning and Crowd Simulation
A Comparative Study of Navigation Meshes . Motion in Games 2016
A Comparative Study of Navigation Meshes . Motion in Games 2016
Motion Planning for a Point Robot (2/2)
Crowd Simulation (INFOMCRWS) - Course Introduction
Crowds (and research in computer animation and games)
A Comparative Study of Navigation Meshes
Roland Geraerts and Mark Overmars CASA’08
Navigation In Dynamic Environment
Crowd Simulation (INFOMCRWS) - UU Crowd Simulation Software
Workshop II UU Crowd Simulation Framework
Crowd Simulation (INFOMCRWS) - A* Search
Spline-Based Multi-Level Planning for Autonomous Vehicles
Presented By: Aninoy Mahapatra
Workshop 1: Crowd Simulation Software & Collision Avoidance
CIS 488/588 Bruce R. Maxim UM-Dearborn
Application to Animating a Digital Actor on Flat Terrain
Motion and Manipulation
Toward Solving Pathfinding
Workshop: A* Search.
Computer Graphics Lecture 15.
Robotics meet Computer Science
Planning.
Classic Motion Planning Methods
Presentation transcript:

Crowd Simulation (INFOMCRWS) - Introduction to Crowd Simulation Wouter van Toll November 15, 2017

INFOMCRWS: Introduction to Crowd Simulation Contents Recap Path planning and navigation meshes Overview of crowd simulation research Multi-level crowd simulation Other topics Open problems November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Recap Path planning and navigation meshes November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Virtual environment (3D) Crowd simulation (often 2D) Fancy visualization (3D) November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Crowd simulation Many applications (entertainment + serious) Large crowds  Many queries We want real-time performance Planet Coaster (Frontier) Grand Depart 2015 (Movares), using our software November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Region-based path planning Navigation mesh Many spatial subdivisions exist Grids are easiest, but imperfect Coverage, connectivity, storage = Regions + (Dual) Graph Trapezoidal map Triangulation Grid November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Region-based path planning Query  Sequence of regions  Indicative route (via funnel algorithm) Simulation loop  Shortest path in the graph Q: Shortest path? November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Path planning in games Trend Graphs, grids  Navigation meshes Manual  Automatic Static  Dynamic Increasingly large crowds Typical errors Incorrect graphs Unnatural paths Poor response to dynamic updates Insufficient local methods / collision avoidance November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Overview of crowd simulation methods Towards an Overview of crowd simulation methods A Generic Categorization of Research Areas November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Overview (1/6) Path planning Algorithms: Data structures: A*, Dijkstra, ... Data structures: Navigation meshes, grids, ... November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Path planning – Examples Shortest path Other criteria Funnel algorithm: Shortest path from a corridor Density-based (van Toll et al., 2012) Stealth-based (Schager & Geraerts, 2010) November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Overview (2/6) Path planning Local movement Algorithms: A*, Dijkstra, ... Data structures: Navigation meshes, grids, ... Local movement (“steering”) Collision avoidance Groups, coherence, social rules, ... November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Local movement: Examples Social forces (Helbing & Molnár, 1995) Flocking (Reynolds, 1987) Velocity obstacles (van den Berg et al., 2009+) Vision-based collision avoidance (Moussaïd et al, 2010) November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Local movement: More examples Streams (van Goethem et al., 2015) Social groups (Kremyzas et al., 2016) Coherent groups (Kamphuis & Overmars, 2004) November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Overview (3/6) Path planning Indicative route Path following Algorithms: A*, Dijkstra, ... Data structures: Navigation meshes, grids, ... Indicative route Path following Local movement Collision avoidance Groups, coherence, social rules, ... November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Intermezzo: Weighted regions What if the environment is more complex than “walkable + obstacles”? Polygonal areas with (personal) costs Find minimum-cost path? Unsolvable in the Algebraic Computation Model over the Rational Numbers Approximation algorithms Path following MIRAN (Jaklin et al., 2013) November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Overview (4/6) Visualization Path planning Animation Rendering Path following Local movement Simulation loop November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Overview (5/6) High-level planning Path planning Modelling Logic: BDI, rules, memory, ... Path following Fixed steps of 0.1 s Local movement Simulation loop As fast as possible Visualization Animation loop November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Overview (6/6) High-level planning Path planning Path planning Path following Path following Local movement Local movement Visualization November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Multi-level planning Advantages? Split a big problem into simpler components Mix and match various algorithms Different behaviour per character Disadvantages? Choices in one level affect behavior in lower levels When to reconsider these choices? (e.g. re-planning) Path planning Path following Local movement November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Alternative: Potential field Continuous field of forces Goal attracts, obstacles repel Follow the direction of steepest descent Common implementation: Grid In case of moving characters (obstacles): update potential field each frame Robot motion planning (Latombe, 1991) November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Alternative: Potential field Advantages Unifies global and local movement Re-usable for similar characters Good for high-density crowds Disadvantages Grid implementation Different potential field for each goal / each character type Local minima Can be avoided, but (even) more expensive Treuille et al., 2006 Narain et al., 2009 November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Other topics A mixed bag November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Coordination and re-planning Linear programming (Karamouzas et al., 2013) Dynamic updates + visibility-based re-planning (van Toll et al., 2015) November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Moving through a dense crowd Find a path that uses gaps between characters Global becomes local? Torso crowds (Stüvel et al., 2015) November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Multi-threading In a simulation step, many characters do “the same thing” at the same time Allows parallel programming GPU: thousands of tasks at the same time Advantage: performance Disadvantage (GPU): What about rendering? November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Evaluation How to compare different methods? Generic definitions Objective quality metrics Scenarios that cover the problem space Conclusions(?) SteerBench (Singh et al., 2009) A comparative study of navigation meshes (van Toll et al., 2016) November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Evaluation How to prove that a simulation is close to reality? Compare to reality! ...but how? Individual trajectories Global trends Density/speed relation When is a conclusion general enough? Lerner et al., 2009 November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Closing comments */ November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Summary Path planning Local movement Path following Visualization High-level planning Coordination, re-planning or: Potential fields Multi-threading / GPU Evaluation November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Remaining challenges Navigation: see previous lecture Problems within this paradigm Reconsider global paths due to local hazards High-level coordination Long-term goals Reliable validation Human-like simulation for any scenario? Huge crowds (≥1M) in real-time Crowd prediction during a real-time event November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

INFOMCRWS: Introduction to Crowd Simulation Next time Explanation of our crowd simulation software Tutorial to get started with Assignment 2 November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation

Preparation for next time If you haven’t done so yet... Choose a non-taken paper (1-20) to present Form teams for Assignments 1 and 2 Prepare for the tutorial Bring a (Windows) laptop! Install Unity Read up on basic Unity usage See website November 18, 2018 INFOMCRWS: Introduction to Crowd Simulation