SlideShare a Scribd company logo
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

Viewers also liked

Monitoramento e pesquisa em midias sociais parte 3
Monitoramento e pesquisa em midias sociais parte 3Monitoramento e pesquisa em midias sociais parte 3
Monitoramento e pesquisa em midias sociais parte 3
Instituto Brasileiro de Pesquisa e Análise de Dados
 
Vedic
VedicVedic
Social interactions
Social interactionsSocial interactions
Social interactions
Francisco Restivo
 
THE LITTLE ROUND RED HOUSE
THE LITTLE ROUND RED HOUSETHE LITTLE ROUND RED HOUSE
THE LITTLE ROUND RED HOUSE
MEENUSREEE
 
Temples & Treasures of South India
Temples & Treasures of South IndiaTemples & Treasures of South India
Temples & Treasures of South India
Indo Asia Tours
 
NELA S12: Learning to Make Inferences
NELA S12: Learning to Make InferencesNELA S12: Learning to Make Inferences
NELA S12: Learning to Make Inferences
NC State University
 
3 eco. josé alberto bron torres estrategia procompite
3 eco. josé alberto bron torres estrategia procompite3 eco. josé alberto bron torres estrategia procompite
3 eco. josé alberto bron torres estrategia procompiteJose Alberto Bron Torres
 
Inventarios de habitaciòn
Inventarios de habitaciònInventarios de habitaciòn
Inventarios de habitaciòn
Patricia Dueñas
 
Sistema constructivo del adobe
Sistema constructivo del adobeSistema constructivo del adobe
Sistema constructivo del adobe
verykool2
 
Adobe
AdobeAdobe
Adobe
franciac
 
Green chemistry
Green chemistryGreen chemistry
Green chemistry
Pooja Thakral
 
4.2.3 como se determinan los costos de una habitacion
4.2.3  como se determinan los costos de una habitacion4.2.3  como se determinan los costos de una habitacion
4.2.3 como se determinan los costos de una habitacion
vivekely
 

Viewers also liked (12)

Monitoramento e pesquisa em midias sociais parte 3
Monitoramento e pesquisa em midias sociais parte 3Monitoramento e pesquisa em midias sociais parte 3
Monitoramento e pesquisa em midias sociais parte 3
 
Vedic
VedicVedic
Vedic
 
Social interactions
Social interactionsSocial interactions
Social interactions
 
THE LITTLE ROUND RED HOUSE
THE LITTLE ROUND RED HOUSETHE LITTLE ROUND RED HOUSE
THE LITTLE ROUND RED HOUSE
 
Temples & Treasures of South India
Temples & Treasures of South IndiaTemples & Treasures of South India
Temples & Treasures of South India
 
NELA S12: Learning to Make Inferences
NELA S12: Learning to Make InferencesNELA S12: Learning to Make Inferences
NELA S12: Learning to Make Inferences
 
3 eco. josé alberto bron torres estrategia procompite
3 eco. josé alberto bron torres estrategia procompite3 eco. josé alberto bron torres estrategia procompite
3 eco. josé alberto bron torres estrategia procompite
 
Inventarios de habitaciòn
Inventarios de habitaciònInventarios de habitaciòn
Inventarios de habitaciòn
 
Sistema constructivo del adobe
Sistema constructivo del adobeSistema constructivo del adobe
Sistema constructivo del adobe
 
Adobe
AdobeAdobe
Adobe
 
Green chemistry
Green chemistryGreen chemistry
Green chemistry
 
4.2.3 como se determinan los costos de una habitacion
4.2.3  como se determinan los costos de una habitacion4.2.3  como se determinan los costos de una habitacion
4.2.3 como se determinan los costos de una habitacion
 

More from FOCUS K3D

FOCUS K3D Research Road Map
FOCUS K3D Research Road MapFOCUS K3D Research Road Map
FOCUS K3D Research Road MapFOCUS K3D
 
FOCUS K3D Newsletter (Feb 2010)
FOCUS K3D Newsletter (Feb 2010)FOCUS K3D Newsletter (Feb 2010)
FOCUS K3D Newsletter (Feb 2010)
FOCUS K3D
 
Feature preserving Delaunay mesh generation from 3D multi-material images
Feature preserving Delaunay mesh generation from 3D multi-material imagesFeature preserving Delaunay mesh generation from 3D multi-material images
Feature preserving Delaunay mesh generation from 3D multi-material images
FOCUS K3D
 
3AMIGAS - Paper5: Feifei Huo
3AMIGAS - Paper5: Feifei Huo3AMIGAS - Paper5: Feifei Huo
3AMIGAS - Paper5: Feifei Huo
FOCUS K3D
 
3AMIGAS - Paper3: RM Smelik
3AMIGAS - Paper3: RM Smelik3AMIGAS - Paper3: RM Smelik
3AMIGAS - Paper3: RM Smelik
FOCUS K3D
 
3AMIGAS - Paper1: Chiara Catalano
3AMIGAS - Paper1: Chiara Catalano3AMIGAS - Paper1: Chiara Catalano
3AMIGAS - Paper1: Chiara Catalano
FOCUS K3D
 
3AMIGAS - Keynote: Pjotr Van Schothorst, VStep
3AMIGAS - Keynote: Pjotr Van Schothorst, VStep3AMIGAS - Keynote: Pjotr Van Schothorst, VStep
3AMIGAS - Keynote: Pjotr Van Schothorst, VStep
FOCUS K3D
 
FOCUS K3D Newsletter (Aug 09)
FOCUS K3D Newsletter (Aug 09)FOCUS K3D Newsletter (Aug 09)
FOCUS K3D Newsletter (Aug 09)
FOCUS K3D
 
FOCUS K3D Project Flyer
FOCUS K3D Project FlyerFOCUS K3D Project Flyer
FOCUS K3D Project Flyer
FOCUS K3D
 
FOCUS K3D AWG CAD/CAE
FOCUS K3D AWG CAD/CAEFOCUS K3D AWG CAD/CAE
FOCUS K3D AWG CAD/CAE
FOCUS K3D
 
The FOCUS K3D Project
The FOCUS K3D ProjectThe FOCUS K3D Project
The FOCUS K3D Project
FOCUS K3D
 

More from FOCUS K3D (11)

FOCUS K3D Research Road Map
FOCUS K3D Research Road MapFOCUS K3D Research Road Map
FOCUS K3D Research Road Map
 
FOCUS K3D Newsletter (Feb 2010)
FOCUS K3D Newsletter (Feb 2010)FOCUS K3D Newsletter (Feb 2010)
FOCUS K3D Newsletter (Feb 2010)
 
Feature preserving Delaunay mesh generation from 3D multi-material images
Feature preserving Delaunay mesh generation from 3D multi-material imagesFeature preserving Delaunay mesh generation from 3D multi-material images
Feature preserving Delaunay mesh generation from 3D multi-material images
 
3AMIGAS - Paper5: Feifei Huo
3AMIGAS - Paper5: Feifei Huo3AMIGAS - Paper5: Feifei Huo
3AMIGAS - Paper5: Feifei Huo
 
3AMIGAS - Paper3: RM Smelik
3AMIGAS - Paper3: RM Smelik3AMIGAS - Paper3: RM Smelik
3AMIGAS - Paper3: RM Smelik
 
3AMIGAS - Paper1: Chiara Catalano
3AMIGAS - Paper1: Chiara Catalano3AMIGAS - Paper1: Chiara Catalano
3AMIGAS - Paper1: Chiara Catalano
 
3AMIGAS - Keynote: Pjotr Van Schothorst, VStep
3AMIGAS - Keynote: Pjotr Van Schothorst, VStep3AMIGAS - Keynote: Pjotr Van Schothorst, VStep
3AMIGAS - Keynote: Pjotr Van Schothorst, VStep
 
FOCUS K3D Newsletter (Aug 09)
FOCUS K3D Newsletter (Aug 09)FOCUS K3D Newsletter (Aug 09)
FOCUS K3D Newsletter (Aug 09)
 
FOCUS K3D Project Flyer
FOCUS K3D Project FlyerFOCUS K3D Project Flyer
FOCUS K3D Project Flyer
 
FOCUS K3D AWG CAD/CAE
FOCUS K3D AWG CAD/CAEFOCUS K3D AWG CAD/CAE
FOCUS K3D AWG CAD/CAE
 
The FOCUS K3D Project
The FOCUS K3D ProjectThe FOCUS K3D Project
The FOCUS K3D Project
 

Recently uploaded

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 

Recently uploaded (20)

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 

3AMIGAS - Paper4: Rosario De Chiara

  • 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.