Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I...

20
Simulating Virtual Human Crowds with a Leader- Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and presented by Vishal Srivastava Original slides by Romain Thibaux, Benson Limketkai
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    216
  • download

    0

Transcript of Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I...

Page 1: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Simulating Virtual Human Crowds with a Leader-Follower Model

Tsai-Yen Li, Ying-Juin Jeng, Shih-I ChangNational Chengchi University

Slides updated and presented by Vishal SrivastavaOriginal slides by Romain Thibaux, Benson Limketkai

Page 2: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Problem Goal is to simulate the behavior of

crowds of people A crowd must navigate an

environment with: Obstacles Other moving crowds

Incredibly high degrees of freedom

Page 3: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.
Page 4: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Potential applications Virtual shopping in a 3D shopping

mall

Distributed networked games

Simulation of a tour group

Page 5: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Crowds Crowds contain one “leader” and

many “followers” Given a goal, the leader is in charge

of planning motions for its group Followers follow the leader closely as

it moves toward its goal

Page 6: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

General Approach Decoupled planning approach

Paths executed by other leaders become the motion constraint for the current leader

Path planner estimates the shape and space of each group

Motion for followers is determined by artificial steering forces

Page 7: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Planning for Two Leaders

1

2

Page 8: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

1

2

Page 9: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

1

2

Path is planned using artificial potential field

Page 10: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Planning for Two Leaders

1

2

Page 11: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Coordinated motions

Solid circles mark leader positions

Circle traces are planned paths

Numbers indicate planning order

Four snapshots…

Page 12: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Motion of the Followers

Separation

Cohesion

Alignment

Obstacles

Leader

Steering Forces

Page 13: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Local Minima

Solution: Modify the attractive force to the leader’s last seen location.

Page 14: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Model the shape of crowds Treat each crowd as an object with

variable shape Estimate the shape Extend in CT-space when planning

Motion Planning For Crowds

Page 15: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Crowd Region Estimation Leader’s path

forms an axis Draw a half-circle

with diameter D behind the leader

Sweep the half-circle backward along the axis until it can accommodate all the followers

Page 16: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Example of Crowd Region Estimation

Page 17: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Implementations and Experiments

Stand-alone simulation module in Java

128 x 128 grid “planning time … is usually

fractions of a second” “planning times … are 500ms and

2000ms … on a low-end PC”

Page 18: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Screen shots

Page 19: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Concerns Is motion really human-like?

Is planning too expensive for real applications?

Page 20: Simulating Virtual Human Crowds with a Leader-Follower Model Tsai-Yen Li, Ying-Juin Jeng, Shih-I Chang National Chengchi University Slides updated and.

Summary

A planning system for generating coordinated motion for multiple crowds

Planner features: Crowd shape estimation module Integrated view of crowd motion planning

Applications in shared virtual environments and computer animation