BIHC
  • HOME
  • ARTIFICIAL INTELLIGENCE
    • THE BIHC MODEL
    • VIDEOS OF AI AND CROWDS
  • HISTORICAL SIMULATIONS
    • MYRTULA >
      • Work in progress (some documentation)
    • XELB >
      • A Street of Xelb
      • Work in progress
      • Early attempt
    • VIDEOS OF HISTORICAL SIMULATIONS >
      • VIDEOS OF ARCHITECTURAL SIMULATIONS
      • VIDEOS OF POPULATED HISTORICAL SIMULATIONS
  • DELIVERABLES
    • PUBLICATIONS
    • VIDEOS
    • SOFTWARE
  • OUTREACH
    • Keynote presentation at VirtualReality2019
    • Keynote presentation at VJ17
  • ABOUT
    • PARTNERS
    • PEOPLE

Software

Easy-Population


Unity3d package

download the package with an empty scene 
download Pdf file with step-by-step tutorial on how to implement a scene with Easy-Population
Longer version of the Video tutorial  (deprecated)
Shorter version of the Video tutorial (deprecated)
The package is now published at the Asset Store of Unity3D. 
Picture

FAQ/Updates

There seems to be an issue with the new version of Unity 2018.3 [4/4/2019]

Error:
​ArgumentException: Invalid name character in 'Quantos:'.
Parameter name: name

Cause: 
It seems the value XmlAttribute admits has changed. 

Action:
In XmlManager.cs, replace the class *ActorData* with the following code : 
public class ActorData
{ [XmlAttribute("Quantos")] public int quantidade; [XmlArray("Citizens")] [XmlArrayItem("Adultos:")] public List<string> adults = new List<string>(); [XmlArray("Children")] [XmlArrayItem("Criancas:")] public List<string> children = new List<string>(); [XmlArrayItem("Anchors:")] [XmlArrayAttribute("Position:")] public List<Vector3> anchors = new List<Vector3>(); [XmlAttribute("AnchorRadius")] public int anchorRadius; [XmlAttribute("AnchorHeight")] public int anchorHeight; [XmlArrayItem("Workers:")] [XmlArrayAttribute("Trabalhador:")] public List<TrabalhadorData> worker = new List<TrabalhadorData>();
}

Improve Collision detection with buildings
[2/3/2018]
To improve collision detection, and prevent characters to penetrate some non intended areas:  
Before you create the Navmesh, create as many cubes as you need to cover all the non-walkable area being problematic. Make sure you define a good margin to the buildings. Define these boxes as *non-walkable*. 
Then, after baking the Navmesh, disable the boxes. 




 Sample scene 1

​download this demo scene

Sample scene 2 (first prototype of Silves )

download 'A street of Xelb' prototype scene

Powered by Create your own unique website with customizable templates.
  • HOME
  • ARTIFICIAL INTELLIGENCE
    • THE BIHC MODEL
    • VIDEOS OF AI AND CROWDS
  • HISTORICAL SIMULATIONS
    • MYRTULA >
      • Work in progress (some documentation)
    • XELB >
      • A Street of Xelb
      • Work in progress
      • Early attempt
    • VIDEOS OF HISTORICAL SIMULATIONS >
      • VIDEOS OF ARCHITECTURAL SIMULATIONS
      • VIDEOS OF POPULATED HISTORICAL SIMULATIONS
  • DELIVERABLES
    • PUBLICATIONS
    • VIDEOS
    • SOFTWARE
  • OUTREACH
    • Keynote presentation at VirtualReality2019
    • Keynote presentation at VJ17
  • ABOUT
    • PARTNERS
    • PEOPLE