Miarmy Crowd Simulation Documentation (English)

Command Line (Batch) Caching

Many task of Miarmy can be done in batch mode or command line. That is means we can do our job without open Maya, and this can save much time and memory of loading Maya editor and drawing OpenGL stuffs etc.
Also these command line task can be assigned to simulation/render farm and let the machines to do that without human resource.

Batch Simulation

We know that after caching agents, the crowd scene can be the real time. At this time we can summit the agent caching tasks to our machines instead of waiting on your machine.
Before run command line, we have to do some setup:

  1. The scene can be simulated normally
  2. Setup the exporting path and file name correctly
  3. Pre-test some frames and check is that cache can be generated properly.


Setup the agent cache path and name properly (Miarmy Tools)
Re-direct your start position into the Maya bin and Run command "McdBatchAgentCache"

Platform

Command Line

Windows

mayabatch "d:/test.ma" –command "McdBatchAgentCache"

Linux

maya –batch –file "/usr/test.ma" –command "McdBatchAgentCache"


If everything all right, the cache (.mmc) file will be created in specified folder.

Basefount Technology