SlideShare a Scribd company logo
1 of 27
Alberto Boccardo, Rosario De Chiara, Vittorio Scarano
                          ISISLab
Dipartimento di Informatica ed Applicazioni “R.M. Capocelli”
             Università degli Studi di Salerno
Agenda
•   Introduction
•   Boid Model
•   Coordinated movement
•   Conclusion
Introduction
• The simulation of groups of characters moving
  in a virtual world is a topic that has been
  investigated since the 1980s.
  – Early works take inspiration from particles system
    [3, 4]
Introduction

              Gravity




 Initial                Aging
velocity




           Emitter      Death
Introduction
• The particle system model can be expanded
  with the purpose of simulating a group of
  more complex entities, dubbed autonomous
  agents:
  – Movements are related to social interactions
    among group members:
     • Example: the simulation a flock (e.g. birds, fishes,
       aliens, people…) in the most natural possible way.
Introduction

             Gravity
                                               Social
                                            interactions

 Initial               Aging
velocity




           Emitter     Death
                                 Fly                       Aging
                               around




                                        Birth              Death
Introduction
We implemented a system capable of animating
 autonomous agents with the purpose of
 reconstructing interactive scenes from a
 battlefield showing a number platoons
Introduction
Platoons are able to march following a path;
Introduction
Platoons are capable of engaging a fight with
  enemy platoons:
Introduction
Platoons present different soldier topologies
  deploying different kinds of weapons;
The Idea
• We expanded the boid model in order to reach an
  higher degree of complexity of the behaviors:
   – The initial idea of simulating a flock of boids will
     be expanded to simulate platoons of soldiers
     obeying to commands imparted by a leader.
Boid model
• The boid model simulates the coordinated
  animal motion such as bird flocks and fish
  schools
  – The basic flocking model consists of three
    simple steering behaviors which describe how an
    individual boid maneuvers based on the positions
    and velocities its nearby flockmates:




  Separation          Alignment            Cohesion
Boid model
• The boid model can be expanded by
  assembling basic behaviors to obtain more
  complex behaviors:
   – Seek and Flee
   – Pursuit and Evade
   – Obstacle Avoidance




 Seek and Flee      Pursuit and Evade   Obstacle avoidance
Boid model


                                                  Enemy pursuit, shooting,      Combat
                                                         evasion               commands


                                                  L/R flank, L/R Face, March   Directional
                                                        forward, at ease       commands


                          Flee, Pursuit, Offset     Flee, Pursuit, Offset       Basic
                          Pursuit, Seek, Evade      Pursuit, Seek, Evade       behaviors


Alignment, Separation,   Alignment, Separation,    Alignment, Separation,      Boid model
      Cohesion                 Cohesion                  Cohesion               behaviors


    Reynolds 1987 [3]        Reynolds 1988               This paper
                             Reynolds 1999 [4]
Coordinated movement
Our system handles 4 elements that made up a
 simulation:
  – The map: an heightmap
  – Obstacles: solid 3d objects
  – The Leader: one unit per platoon in charge of the
    decisions on directions and battle
  – Units: soldier divided in one or more platoons
Coordinated movement
The leader
• The leader knows the path the platoon has to
  follow and will impart suitable commands to
  units
  – The path is just a sequence of checkpoints
Coordinated movement
The leader
To choose the correct directional command the
  leader compares platoon current direction
  and the position of next checkpoint on path
                                Forward
             Next               march
       checkpoint               Right
         direction              flank




                                Platoon front



                                Right
                                face
                                Rear
                                march
Coordinated movement
Assembling Behaviors
Each directional command
  is translated to a series




                                                                              SCRIPT
                                                                              SCRIPT
  of basic behaviors




                                                                              LEADER
                              Fall in
                              Forward march
                              Right flank
                              Left flank




                                                                              UNITS
                                          AVOIDANCE
                                          AVOIDANCE
                               ROTATION




                                           OBSTACLE




                                                             PURSUIT
                                                              OFFSET
                                                              OFFSET
                                                      SEEK
                                                      SEEK




                                                                       FLEE
                              BASIC BEHAVIORS LIBRARY
Coordinated movement
Combat Mode
• The system simulates scenarios in which two
  or more adversary platoons are present
  – Each platoon belongs to an army; this is used to
    discriminate among friend and foe platoons
  – Soldiers deploy one out of three available models
    of weapons: melee weapon model, mortar
    weapon model and rifle weapon model;
Coordinated movement
Combat Mode
• Once an enemy platoon is visible by the leader
  tells the platoon to switch to combat mode
  – Each soldiers will decide on its own when to shoot
    and who to aim to, depending on its position and
    the model of weapon it is deploying
Conclusion
• Massive Battle is a framework
  – Written in C++
  – Scenarios are described by a script file
     • The script file contains a full description of the initial
       setting of the parameters for each platoon
     • Once a file is parsed the simulation starts
  – Every behavior is controlled by
    configuration/script files
Conclusion
• Massive Battle is a framework
  – Does not depends on how the scene is rendered
     • Current demo uses Ogre3D
  – It uses a library of basic behaviors
     • Took from [11]
     • It is compatible with OpenSteer
Conclusion
Performances
• On a off-the-shelf PC:
  – AMD Athlon 64 x2 4200+
  – 2GB of RAM
  – ATI X1900 with 512MB
  The system animates a scene containing 3000
  units on an interactive framerate of 25 fps
Conclusion
Future Work
• We are currently working at a GPU
  accellerated version of the system
  – You may want to check :
    “A GPU-based Method for Massive Simulation of
    Distributed Behavioral Models with CUDA”
    Ugo Erra, Bernardino Frola, Vittorio Scarano
    CASA09 short paper !! ☺
Alberto Boccardo, Rosario De Chiara, Vittorio Scarano

http://www.isislab.it
References [1]
[1] Couzin ID, Krause J, Franks NR, Levin SA. Nature. 2005 Feb 3;433(7025):513-6.
    Effective leadership and decision-making in animal groups on the move.
[2] USA Marine Corps Drill and Ceremonies Manual MCO P5060.20
[3] Reeves, W., T., “Particle Systems-A Technique for Modeling a Class of Fuzzy
    Objects”, ACM Transactions on Graphics, V2–2, April 1983. and reprinted in
    Computer Graphics. V17–3, July 1983, (ACM SIGGRAPH ’83 Proceedings), pp. 359-
    376.
[4] Reynolds C. Flocks, herds and schools: a distributed behavioral model. In
    SIGGRAPH’87: Proceedings of the 14th Annual Conference on Computer Graphics
    and Interactive Techniques, ACM, New York, NY, USA, 1987.
[5] Reynolds C. Steering behaviors for autonomous characters. In Game Developers
    Conference, Miller Freeman Game Group, San Francisco, CA, USA, 1999.
[6] Reynolds C. Big fast crowds on PS3. In Sandbox’06: Proceedings of the 2006 ACM
    SIGGRAPH Symposium on Videogames, ACM, New York, NY, USA, 2006.
[7] http://opensteer.sourceforge.net/
References [2]
[8] Balch T, Hybinette M. Social potentials for scalable multirobot formations. In IEEE
    International Conference on Robotics and Automation (ICRA 2000), San Francisco,
    2000.
[9] Kamphuis A., Overmars M. H. Motion planning for coherent groups of entities. In
    IEEE Int. Conf. on Robotics and Automation. IEEE Press, San Diego, CA, 2004.
[10] Silveira, R., Prestes, E., and Nedel, L. P. 2008. Managing coherent groups. Comput.
    Animat. Virtual Worlds 19, 3-4 (Sep. 2008), 295-305.
[11] Buckland M. Programming Game AI by Example. Wordware Publishing, 2005.
[12] Massive software http://www.massivesoftware.com. Accessed on May 2009.
[13] Pro OGRE 3D Programming, (Gregory Junker).
[14] R. De Chiara, U. Erra, M. Tatafiore and V. Scarano. Massive simulation using GPU
    of a distributed behavioral model of a flock with obstacle avoidance. Proceedings
    of Vision, Modeling, and Visualization 2004 (VMV 2004) (Stanford - California, USA,
    Nov 16 - 18, 2004). pp. 233-240.

More Related Content

Recently uploaded

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Recently uploaded (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Massive Battle: Coordinated Movement of Autonomous Agents

  • 1. Alberto Boccardo, Rosario De Chiara, Vittorio Scarano ISISLab Dipartimento di Informatica ed Applicazioni “R.M. Capocelli” Università degli Studi di Salerno
  • 2. Agenda • Introduction • Boid Model • Coordinated movement • Conclusion
  • 3. Introduction • The simulation of groups of characters moving in a virtual world is a topic that has been investigated since the 1980s. – Early works take inspiration from particles system [3, 4]
  • 4. Introduction Gravity Initial Aging velocity Emitter Death
  • 5. Introduction • The particle system model can be expanded with the purpose of simulating a group of more complex entities, dubbed autonomous agents: – Movements are related to social interactions among group members: • Example: the simulation a flock (e.g. birds, fishes, aliens, people…) in the most natural possible way.
  • 6. Introduction Gravity Social interactions Initial Aging velocity Emitter Death Fly Aging around Birth Death
  • 7. Introduction We implemented a system capable of animating autonomous agents with the purpose of reconstructing interactive scenes from a battlefield showing a number platoons
  • 8. Introduction Platoons are able to march following a path;
  • 9. Introduction Platoons are capable of engaging a fight with enemy platoons:
  • 10. Introduction Platoons present different soldier topologies deploying different kinds of weapons;
  • 11. The Idea • We expanded the boid model in order to reach an higher degree of complexity of the behaviors: – The initial idea of simulating a flock of boids will be expanded to simulate platoons of soldiers obeying to commands imparted by a leader.
  • 12. Boid model • The boid model simulates the coordinated animal motion such as bird flocks and fish schools – The basic flocking model consists of three simple steering behaviors which describe how an individual boid maneuvers based on the positions and velocities its nearby flockmates: Separation Alignment Cohesion
  • 13. Boid model • The boid model can be expanded by assembling basic behaviors to obtain more complex behaviors: – Seek and Flee – Pursuit and Evade – Obstacle Avoidance Seek and Flee Pursuit and Evade Obstacle avoidance
  • 14. Boid model Enemy pursuit, shooting, Combat evasion commands L/R flank, L/R Face, March Directional forward, at ease commands Flee, Pursuit, Offset Flee, Pursuit, Offset Basic Pursuit, Seek, Evade Pursuit, Seek, Evade behaviors Alignment, Separation, Alignment, Separation, Alignment, Separation, Boid model Cohesion Cohesion Cohesion behaviors Reynolds 1987 [3] Reynolds 1988 This paper Reynolds 1999 [4]
  • 15. Coordinated movement Our system handles 4 elements that made up a simulation: – The map: an heightmap – Obstacles: solid 3d objects – The Leader: one unit per platoon in charge of the decisions on directions and battle – Units: soldier divided in one or more platoons
  • 16. Coordinated movement The leader • The leader knows the path the platoon has to follow and will impart suitable commands to units – The path is just a sequence of checkpoints
  • 17. Coordinated movement The leader To choose the correct directional command the leader compares platoon current direction and the position of next checkpoint on path Forward Next march checkpoint Right direction flank Platoon front Right face Rear march
  • 18. Coordinated movement Assembling Behaviors Each directional command is translated to a series SCRIPT SCRIPT of basic behaviors LEADER Fall in Forward march Right flank Left flank UNITS AVOIDANCE AVOIDANCE ROTATION OBSTACLE PURSUIT OFFSET OFFSET SEEK SEEK FLEE BASIC BEHAVIORS LIBRARY
  • 19. Coordinated movement Combat Mode • The system simulates scenarios in which two or more adversary platoons are present – Each platoon belongs to an army; this is used to discriminate among friend and foe platoons – Soldiers deploy one out of three available models of weapons: melee weapon model, mortar weapon model and rifle weapon model;
  • 20. Coordinated movement Combat Mode • Once an enemy platoon is visible by the leader tells the platoon to switch to combat mode – Each soldiers will decide on its own when to shoot and who to aim to, depending on its position and the model of weapon it is deploying
  • 21. Conclusion • Massive Battle is a framework – Written in C++ – Scenarios are described by a script file • The script file contains a full description of the initial setting of the parameters for each platoon • Once a file is parsed the simulation starts – Every behavior is controlled by configuration/script files
  • 22. Conclusion • Massive Battle is a framework – Does not depends on how the scene is rendered • Current demo uses Ogre3D – It uses a library of basic behaviors • Took from [11] • It is compatible with OpenSteer
  • 23. Conclusion Performances • On a off-the-shelf PC: – AMD Athlon 64 x2 4200+ – 2GB of RAM – ATI X1900 with 512MB The system animates a scene containing 3000 units on an interactive framerate of 25 fps
  • 24. Conclusion Future Work • We are currently working at a GPU accellerated version of the system – You may want to check : “A GPU-based Method for Massive Simulation of Distributed Behavioral Models with CUDA” Ugo Erra, Bernardino Frola, Vittorio Scarano CASA09 short paper !! ☺
  • 25. Alberto Boccardo, Rosario De Chiara, Vittorio Scarano http://www.isislab.it
  • 26. References [1] [1] Couzin ID, Krause J, Franks NR, Levin SA. Nature. 2005 Feb 3;433(7025):513-6. Effective leadership and decision-making in animal groups on the move. [2] USA Marine Corps Drill and Ceremonies Manual MCO P5060.20 [3] Reeves, W., T., “Particle Systems-A Technique for Modeling a Class of Fuzzy Objects”, ACM Transactions on Graphics, V2–2, April 1983. and reprinted in Computer Graphics. V17–3, July 1983, (ACM SIGGRAPH ’83 Proceedings), pp. 359- 376. [4] Reynolds C. Flocks, herds and schools: a distributed behavioral model. In SIGGRAPH’87: Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques, ACM, New York, NY, USA, 1987. [5] Reynolds C. Steering behaviors for autonomous characters. In Game Developers Conference, Miller Freeman Game Group, San Francisco, CA, USA, 1999. [6] Reynolds C. Big fast crowds on PS3. In Sandbox’06: Proceedings of the 2006 ACM SIGGRAPH Symposium on Videogames, ACM, New York, NY, USA, 2006. [7] http://opensteer.sourceforge.net/
  • 27. References [2] [8] Balch T, Hybinette M. Social potentials for scalable multirobot formations. In IEEE International Conference on Robotics and Automation (ICRA 2000), San Francisco, 2000. [9] Kamphuis A., Overmars M. H. Motion planning for coherent groups of entities. In IEEE Int. Conf. on Robotics and Automation. IEEE Press, San Diego, CA, 2004. [10] Silveira, R., Prestes, E., and Nedel, L. P. 2008. Managing coherent groups. Comput. Animat. Virtual Worlds 19, 3-4 (Sep. 2008), 295-305. [11] Buckland M. Programming Game AI by Example. Wordware Publishing, 2005. [12] Massive software http://www.massivesoftware.com. Accessed on May 2009. [13] Pro OGRE 3D Programming, (Gregory Junker). [14] R. De Chiara, U. Erra, M. Tatafiore and V. Scarano. Massive simulation using GPU of a distributed behavioral model of a flock with obstacle avoidance. Proceedings of Vision, Modeling, and Visualization 2004 (VMV 2004) (Stanford - California, USA, Nov 16 - 18, 2004). pp. 233-240.