Situation Based Approach for Virtual Crowd Simulation Ph.D Preliminary talk Mankyu Sung.

Slides:



Advertisements
Similar presentations
Chapter Thirteen Conclusion: Where We Go From Here.
Advertisements

Flocking Behaviors Presented by Jyh-Ming Lien. Flocking System What is flocking system? – A system that simulates behaviors of accumulative objects (e.g.
 Mankyu Sung Scalable, Controllable, Efficient and convincing crowd simulation (2005)  Michael Gleicher “I have a bad case of Academic Attention Deficit.
Artificial Intelligence in Game Design Intelligent Decision Making and Decision Trees.
Crowd Simulation Sai-Keung Wong. Crowd Simulation A process of simulating the movement of a large number of entities or characters. While simulating these.
DESIGN OF A GENERIC PATH PATH PLANNING SYSTEM AILAB Path Planning Workgroup.
1 Reactive Pedestrian Path Following from Examples Ronald A. Metoyer Jessica K. Hodgins Presented by Stephen Allen.
Outline Objectives Related Work Modeling Framework Model Application: Tawaf in Makkah Experimental Design Results Demo.
2008/03/25 Unified Modeling Lanauage 1 Introduction to Unified Modeling Language (UML) – Part One Ku-Yaw Chang Assistant Professor.
Technical Advisor : Mr. Roni Stern Academic Advisor : Dr. Meir Kalech Team members :  Amit Ofer  Liron Katav Project Homepage :
Introduction to Data-driven Animation Jinxiang Chai Computer Science and Engineering Texas A&M University.
Brent Dingle Marco A. Morales Texas A&M University, Spring 2002
UNC Chapel Hill M. C. Lin Reading Assignments Principles of Traditional Animation Applied to 3D Computer Animation, by J. Lasseter, Proc. of ACM SIGGRAPH.
Crowds Andrew Kaufman Michael Welsman-Dinelle. What is a crowd? A group of agents performing actions. Agents can affect each other. Agent actions may.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Crowd Simulation Ilknur Kaynar – Kabul COMP 259 – Spring 2006.
Randomized Planning for Short Inspection Paths Tim Danner Lydia E. Kavraki Department of Computer Science Rice University.
Continuum Crowds Adrien Treuille, Siggraph 王上文.
From Scenarios to Paper Prototypes Chapter 6 of About Face Defining requirements Defining the interaction framework.
Composition of complex optimal multi-character motions C. Karen Liu Aaron Hertzmann Zoran Popović.
Design and Decision Support Systems in Architecture, Building and Planning Human Behaviour Simulation B. de Vries.
05/09/02(c) 2002 University of Wisconsin Last Time Global illumination algorithms Grades so far.
L/O/G/O Ant Colony Optimization M1 : Cecile Chu.
People in multimedia Systems. Multimedia Systems Multimedia systems are designed by a team of people who specialise in a particular field, For example:
Ioannis Karamouzas, Roland Geraerts, Mark Overmars Indicative Routes for Path Planning and Crowd Simulation.
Chapter 5.4 Artificial Intelligence: Pathfinding.
Team 1 Jesus Weibo Mina Yunming. Client’s Needs  Short term, medium term, long term plans  Simulation of energy system to provide affordable future.
Artificial Intelligence in Game Design Problems and Goals.
1 Scalable and transparent parallelization of multiplayer games Bogdan Simion MASc thesis Department of Electrical and Computer Engineering.
1 State Space of a Problem Lecture 03 ITS033 – Programming & Algorithms Asst. Prof.
REAL-TIME NAVIGATION OF INDEPENDENT AGENTS USING ADAPTIVE ROADMAPS Avneesh Sud 1, Russell Gayle 2, Erik Andersen 2, Stephen Guy 2, Ming Lin 2, Dinesh Manocha.
Leslie Luyt Supervisor: Dr. Karen Bradshaw 2 November 2009.
Computer Graphics 2 In the name of God. Outline Introduction Animation The most important senior groups Animation techniques Summary Walking, running,…examples.
제 6 주. 응용 -2: Graphics Artificial Life for Computer Graphics D. Terzopoulos, Communications of the ACM, vol. 42, no. 8, pp. 33~42, 1999 학습목표 Understanding.
Evolving Virtual Creatures & Evolving 3D Morphology and Behavior by Competition Papers by Karl Sims Presented by Sarah Waziruddin.
Artificial Intelligence in Game Design N-Grams and Decision Tree Learning.
Fast and Accurate Goal- Directed Motion Synthesis For Crowds Mankyu Sung Lucas Kovar Michael Gleicher University of Wisconsin- Madison
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
University of Windsor School of Computer Science Topics in Artificial Intelligence Fall 2008 Sept 11, 2008.
A Multi-agent Approach for the Integration of the Graphical and Intelligent Components of a Virtual Environment Rui Prada INESC-ID.
Artificial Intelligence in Game Design Complex Steering Behaviors and Combining Behaviors.
A Computationally Efficient Framework for Modeling Soft Body Impact Sarah F. Frisken and Ronald N. Perry Mitsubishi Electric Research Laboratories.
Neural Networks and Machine Learning Applications CSC 563 Prof. Mohamed Batouche Computer Science Department CCIS – King Saud University Riyadh, Saudi.
Controlling Individual Agents in High-Density Crowd Simulation
Crowds (and research in animation and games) CSE 3541 Matt Boggus.
Agent-Based Modeling of Crowd Behaviors Pedestrian crowds assembling at a concert arena Presented by: J. Randy Hancock.
UNC Chapel Hill M. C. Lin Basics of Motion Generation let X i = position,orient. of O i at t k = t 0,  i END = false while (not END) do display O i, 
Animating Idle Gaze Humanoid Agents in Social Game Environments Angelo Cafaro Raffaele Gaito
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Behavioral Animation: Crowds.
Scalable, Controllable, Efficient and Convincing Crowd Simulation Mankyu Sung University of Wisconsin-Madison.
Crowd Self-Organization, Streaming and Short Path Smoothing 學號: 姓名:邱欣怡 日期: 2007/1/2 Stylianou Soteris & Chrysanthou Yiorgos.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Behavioral Animation: Crowds.
Scalable Behaviors for Crowd Simulation Mankyu Sung Michael Gleicher Stephen Chenney University of Wisconsin- Madison
Interactive Control of Avatars Animated with Human Motion Data By: Jehee Lee, Jinxiang Chai, Paul S. A. Reitsma, Jessica K. Hodgins, Nancy S. Pollard Presented.
Artificial Intelligence in Game Design Lecture 8: Complex Steering Behaviors and Combining Behaviors.
Planning Tracking Motions for an Intelligent Virtual Camera Tsai-Yen Li & Tzong-Hann Yu Presented by Chris Varma May 22, 2002.
DRILL Answer the following question’s about yesterday’s activity in your notebook: 1.Was the activity an example of ACO or PSO? 2.What was the positive.
Constrained Synthesis of Textural Motion for Animation Shmuel Moradoff Dani Lischinski The Hebrew University of Jerusalem.
Constraint-Based Motion Planning for Multiple Agents Luv Kohli COMP259 March 5, 2003.
Animation Animation is about bringing things to life Technically: –Generate a sequence of images that, when played one after the other, make things move.
CSCE 552 Fall 2012 AI By Jijun Tang. Homework 3 List of AI techniques in games you have played; Select one game and discuss how AI enhances its game play.
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
University of Maryland College Park
Animation.
Reading Assignments Principles of Traditional Animation Applied to 3D Computer Animation, by J. Lasseter, Proc. of ACM SIGGRAPH 1987 Computer Animation:
Crowds (and research in computer animation and games)
Basics of Motion Generation
CIS 488/588 Bruce R. Maxim UM-Dearborn
Application to Animating a Digital Actor on Flat Terrain
Presentation transcript:

Situation Based Approach for Virtual Crowd Simulation Ph.D Preliminary talk Mankyu Sung

Crowds In Different Environments Sports event Street Museum

Features in Crowds Large number of people Share same environment Anonymity Importance of short term crowd behavior Importance of locational factor in crowd behavior Importance of social-relational factor in crowd behavior

Applications of Crowd Simulation Training Education Entertainment Architecture

Why Crowd Simulation is Hard? -Conflicting Goals -Simple agent with simple behaviors vs. Complex agent with realistic behaviors -Control over action of crowd vs. Not control over every agent individually -Fast simulation of the small number of characters vs. Slow simulation of the large number of characters

Talk Outline 1. Research Goal 2. Related Works 3. Works to Date 4. Demo 5. Future Plan

The Goal of Research Set three demands that are able to solve these problems. Scalability Controllability Convincingness

Scalability Two Specific Scalabilities –Memory Scalability The amount of memory for a character does not proportionally increase as the complexity of environment increases. –Performance Scalability The overall performance (frame-rate) does not proportionally increase as the complexity of environment increases.

Convincingness Visually Convincing Behaviors –Visually realistic motion of characters Semantically Convincing Behaviors –Plausible behaviors for given time e.g.) At a crosswalk, crowds are crossing or standing depending on a traffic sign.

Controllability Specify crowd behaviors –User interfaces Control crowd flow –Predefined scenario –Interactive control –Density control

Proposed Approach Scalability –Situation based simulation Convincingness –STM(Snap-Together-Motion) –Composable behaviors Controllability –Painting interface –Situation graphs (Sung et al. EG2004) Situation Based Approach

Thesis Statement It is my thesis that the situation based approach is able to achieve the demand of scalability, convincingness and controllability.

Related Works Smart Environments –Smart Object (Kallman et al. 1998) –Informed environment (Farenc et al. 1999) –Informed hierarchical information (Thomas et al. 2000) –Apply Gibson’s “natural movement” theory (Michael et al. 2003) Computer Games –The Sims TM (EA games)

Related Works Character Animation –Non-human creature Flocking algorithm : Boids (Reynolds, 1987) Artificial fish by using synthetic vision (Tu et al. 1994) –Human animation Motion blending (Rose et al. 1996, Wiley et al. 1997, Kovar et al. 2003) STM(Snap-Together-Motion) (Gleicher et al. 2003)

Related works A1A2A3 Actions Time Behaviors in STM –Behavior is a series of actions over time –Specifying a behavior is to choose proper action one by one in time

Related Works Intelligent Agent –Cognitive architecture (Funge 1999) –Role-passing system (Horswill 1999, O’Sullivan et al. 2002, McNames et al. 2003) Crowd Modeling –Rule based system (Musse et al. 1987, 2001) –Cellular automata (Blue et al. 1998)

Related Works Crowd Modeling –Physically Based Approach Fluid dynamics (Henderson, 1974) Particle system (Bouvier et al. 1997, Gipps et al. 1985) Social force model (Helbing et al. 1995, 2000) –Robotics Algorithm Use PRM for group behavior (Bayazit et al. 2002) Collision-free path planning for multiple robots (Furtney 2000) Leader-Following model (Li et al. 2001)

Situation Based Approach Scalability –Situation based simulation Convincingness –STM(Snap-Together-Motion) –Composable behaviors Controllability –Painting interface –Situation graphs

Situations Situation A1A2 A3A8 Agent Behavior 1 Behavior 2 Character Actions A1A2 A3 A4 A8 A7 A6A5 Behavior 1 Behavior 2 Behavior …

Situations (2) Example A man Actions singwalk turn sit climb dance standcross Zig-Zag walk Straight walk Sit down … At a crosswalk A man cross street stand Straight walk Checking cars

Situation Situations (3) Agent A1 A2 Behavior 1 Behavior 2 A3 A4 Behavior 3 Behavior 4 Behavior 5 Augmented Behaviors Augmented Actions Pluggable Agent Architecture Pluggable Agent Architecture

Situation (4) Spatial Situation –Has a region in the environment e.g.) ATM, Bus Stop, Bench, Ticket Booth, Crosswalk –The region is used for checking whether or not an agent is in the situation. Non-Spatial Situation –Social relationship between agents –Has no region in the environment –Directly set on crowds. e.g.) Friendship, Group member

Situation(5) Situation architecture Actions Sensors Behavior Functions Behavior Functions Event Rules Event Rules Walk Turn Sit Don’t’ turn Don’t overlap Path plan Empty sensor Empty sensor Proximity sensor Proximity sensor Signal sensor Signal sensor If(Empty) then Compose(Sitdown) If(Signal) then Compose(walk) If(Empty) then Compose(Sitdown) If(Signal) then Compose(walk)

Situation B Situation(6) Situation Composition –Union of all components of situations Situation A Composed Situation Situation C Agent can react to the situation A, B and C at the same time

Situation(7) Example Crossing to the other side of The road Traffic sign Crossing a street with checking traffic signs

Situation(8) Advantages of situation based simulation –Scalability Situation controls a small set of local behaviors. Agents keep only information of the situations that they are in at any given time. Situations can be composed/decomposed easily. –Ease of authoring –Re-usability –Efficiency

Situation Based Approach Scalability –Situation based simulation Convincingness –STM(Snap-Together-Motion) –Composable behaviors Controllability –Painting interface –Situation graphs

STM(Snap-Together-Motion) For visual convincingness, we use STM technique for animating characters. –From input motion clips, the STM produces a set of small motions that can be connected with each other with minimizing artifacts. [Gleicher et al. I3D 2003]

Composable Behaviors For semantically convincing behaviors, we propose the composable behavior technique based on the probability scheme. Agent A1 A2 A3 Probability Default Actions Action from a situation Actions

Composable Behaviors (2) Probability Scheme –Behavior functions compute the probability of each action based on its own criteria. –Returned probability distributions are composed by multiplication operation. –A sampling is performed on the final probability distribution result to select a final action.

Overlap Behavior Function Target Finding Behavior Function Composed Prob. Dist Re-normalization Actions P(action) Collision with Other agents Agent has a Target pos. ABC ABC ABC ABC Multiplication

Composable Behaviors (4) (B).19 (A).37 ( C) Sampling (0-1) Composed Prob. Dist Actions ABC Action selection through sampling

Composable Behaviors (5) Advantages –Gives a basic framework for scalability and controllability demands. –Provides randomness on simulation –Takes various kinds of factors into account for behaviors.

Situation Based Approach Scalability –Situation based simulation Convincingness –STM(Snap-Together-Motion) –Composable behaviors Controllability –Painting interface –Situation graphs (future work)

Painting Interfaces How to specify a particular situation in the environment. Spatial Situation Non-spatial Situation

Putting Pieces Together Preprocessing Create an environment Set situations Put crowds in the environment Simulation time Set run time situations Situations Plug-in information to agents Checking events with sensors Behavior composition Sampling on final prob. dist

Demos 1. Composable behaviors 2. Street environment 3. Theater environment 4. On-line situation setting 5. Painting interface 6. Visualization of crowds

Performance

Future Works (1) Smarter Situations –Problem Crowd flow planning –Solution Situation Graph –Represents aggregative relation between situations –Makes crowd follow a scenario –Provides interactive control –Controls the number of agents in a situation.

Situation Graph Ticket booth (start) Ticket booth (start) Gather and Talk Restroom Movie room (end) Example

Future works (2) Hierarchical Situations –Problem Need to organize situations efficiently –Solution Hierarchical situations –Organizes situations in a hierarchical way »e.g.) parent (queue), child (Vertical queue, Horizontal queue)

Future Works (3) Hierarchical Environments –Problem Not easy to make a massive environment –Solution Hierarchical environment Town Theater Lobby Bench Once we make a theater environment, we can copy and paste it to wherever we want.

Future Works (4) Adjustment of Discrete Action Choices –Problem Failed in satisfying constraints because of shortage of discrete choices –Solution Provides a way to adjust actions to satisfy constraints –e.g.) If an agent has a target position, we can adjust the action choices to make agent move to the exact spot.

Future Works in Timeline Adjustment Of Action Choices Hierarchical Situation Hierarchical Environment Situation Graph Jun/04 Sep/04 Dec/04 Mar/05

Thanks Financial support : NSF, MIC of Korea Motion donations : House of Moves, Demian Gordon, Ohio State Unviersity Intellectual and technical support : M. Gleicher, S. Chenney, H.J. Shin, L. Kovar and all graphics group members