mgAutomata node is an implementation of MGL interpreter. Performs transformation of input data upon code defined in external text file. Node in first phase of execution parses the script and creates the program. Next – when output requested – program is evaluated performing data transformations. If value of node attribute time is smaller or equal to startTime, then script is reinterpreted. Defines interface between Maya environment and interpreter scope through array attributes of node.

defaultNetworkExample mgAutomata network: read mesh data from input attribute inMesh, perform transformations of vertices, output result to instancer.

Back to nodes