mgAutomata node is an implementation of MGL interpreter. Performs transformation of input data based on code defined in an 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 time attribute is smaller or equal to startTime, 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