Miarmy Crowd Simulation Documentation (English)

Advanced Geometries Randomize

Sub Root of Geometry Random Group

What is Geometry Random Root

  1. The nodes which name look like "Geometry_<XXX>" are the Geometry Roots of randomization.
  2. Each Geometry Random Root support only 1st level of Must Render and 2nd level of randomization
  3. For more deep randomize, it not support in single Geometry Random Root

Why we need Sub Root of Geometry Random Root

Sometimes we have several different types of agent such as man and woman, or 9 types of horse rider, and they can share very similar/same actions. At this time we want our different type of geometries can be randomized separately without mixing geometry sets.

Then, one Geometry Random Root is not enough for do this. Therefore we introduced a Sub Root of Geometry Random Group

How it work

  1. We need to create group node which name must contain keyword ("McdSubRoot")
  2. We need to put this node into the 2nd level of upper Root Geometry Random Group
  3. And the geometry selection rules in sub root, will be the same as first geometry random group (Simple Geometry Randomization). We just need treat the Sub Root as another "Geometry_XXX" group.
  • Note: It's infinity recursive design, that is means you can create infinity Sub Root in another Sub Root

Example

Here we're listing an example of how to put 2 types of agents together (man and woman) and randomize geometry each other without mixing.

  • Please take look at below picture, the Top Geometry Random Group is "Geoemtry_casual".
  • Based on the rule of randomize (Simple Geometry Randomization), our system will select only one from "RandomCharacters" group (2nd random level). Another words, one node of "McdSubRoot_Man" or "McdSubRoot_Woman" will be selected. (Note, we of course can apply Agent Variable for Geometry Selection or Geometry Weight Control as well)
  • Please notice the McdSubRoot_XXX contain the keyword "McdSubRoot", and our system will treat it like a Sub Root.
  • We can just treat the "McdSubRoot_XXX" the same as "Geometry_casual", the randomization will happen inside with all rules available.

 

 

  • One of the Sub Root "McdSubRoot_Man" or "McdSubRoot_Woman" will be ranodomly selected by system,
  • And geometries in each Sub Root will be treated like the same as in "Geometry_XXX" node
  • Then man and women will be randomize selected by Outer Group and Each geometries inside will be selected by Sub Root.
  • The render result is shown in below picture:

 

 

 

 

 

Basefount Technology