30
MASH 3.0 Documentation 01 |Intro Introduction to MASH. 02 |Installation How to install MASH. 03 |Audio Power animation with sound. 04 |Blend Merge two MASH networks together. 05 |Curve Animating objects along a curve. 06 |Delay Inherit the animation of another object. 07 |Distribute Distributing objects. 08 |Falloff Affect your network using spherical volumes. 09 |Flight Flocking, Swarming and Schooling. 10 |ID Assigning objects to MASH points. 11 |Influence Influence scale and rotation with guide objects. 12 |Inherit Inherit the animation of multiple transforms. 13 |Initial State Referencing the current positions of your objects. 14 |Maths Use Python expressions to manipulate your objects. 15 |Multi-Curve Create animated curves based on MASH points. 16 |Mute Controlling the strength of other nodes. 17 |Noise Affect your objects with noise. 18 |Offset Offset or multiply values. 19 |Orient Point your objects in their direction of travel. 20 |Points Display your point locations. 21 |Random A random number generator. 22 |Replicator Duplicate your entire MASH network with ease.

MASH 3.0 Documentation

Embed Size (px)

DESCRIPTION

Mash 3

Citation preview

Page 1: MASH 3.0 Documentation

MASH 3.0 Documentation 01 |Intro

Introduction to MASH.

02 |Installation How to install MASH.

03 |Audio Power animation with sound.

04 |Blend Merge two MASH networks together.

05 |Curve Animating objects along a curve.

06 |Delay Inherit the animation of another object.

07 |Distribute Distributing objects.

08 |Falloff Affect your network using spherical volumes.

09 |Flight Flocking, Swarming and Schooling.

10 |ID Assigning objects to MASH points.

11 |Influence Influence scale and rotation with guide objects.

12 |Inherit Inherit the animation of multiple transforms.

13 |Initial State Referencing the current positions of your objects.

14 |Maths Use Python expressions to manipulate your objects.

15 |Multi-Curve Create animated curves based on MASH points.

16 |Mute Controlling the strength of other nodes.

17 |Noise Affect your objects with noise.

18 |Offset Offset or multiply values.

19 |Orient Point your objects in their direction of travel.

20 |Points Display your point locations.

21 |Random A random number generator.

22 |Replicator Duplicate your entire MASH network with ease.

Page 2: MASH 3.0 Documentation

23 |Spring Add spring to your animation.

24 |Trig Use Sin/Cos/Tan to animate your objects.

25 |Visibility Affect the visibility of your objects.

26 |Waiter MASH’s backbone.

27 |Caching Caching your network.

28 |Presets Save your favourite setups

29 |Utilities Bonus tools to help you along.

Intro MASH is a suite of Maya nodes developed in-house at Mainframe aimed at enabling our artists to create versatile ‘motion design’ style animations. It offers a selection of effector nodes which can be daisy chained together to generate a wide variety of customisable effects. It’s fully controllable from both Maya’s Attribute and Node Editors.

MASH is tested for Maya 2012, 2013 (.5) and 2014 for OSX 10.7+ & Windows (64 bit).

Check out our Vimeo channel for example videos and tutorials.

Installation Note: If you have MASH 1.x installed, please remove it. Simply move/ delete all of the .py files from your plug-ins folder and delete the shelf as this no longer works with MASH 3.0. If you’re upgrading from MASH 2.0 then just overwrite any existing .bundle or .mll and restart Maya.

We’ve slightly changed where the MASH plug-in installs to improve cross platform use. If you’ve got a previous version of MASH (2.x) installed on your machine then either remove this version manually or ensure it’s deactivated in Window > Settings/ Preferences > Plug-in Manager.

The 2.x plug-in will be located in /Users/Shared/Autodesk/maya/plug-ins unless you have moved it to a different location yourself.

Installation: Please use the installers to select your version of Maya and install MASH

New install directories:

OSX

Plug-in - /Users/Shared/Autodesk/Maya/20xx/plug-ins

Icons - /Users/Shared/Autodesk/Maya/icons

Presets - /Users/Shared/Autodesk/Maya/presets

PC

Plug-in - \My Documents\maya\20xx-x64\plug-ins

Icons - \My Documents\maya\20xx-x64\prefs\icons

Page 3: MASH 3.0 Documentation

Presets - \My Documents\maya\presets

libfftw3f-3.dll (required for audio node) - By default this is installed to Program Files\Autodesk\Maya\20xx\bin but can be moved to C:\Windows\System32\ (path may vary depending on your version of Windows)

Loading:

Once installed, open Maya and navigate to Window > Settings/ Preferences > Plug-in Manager.

Find MASH in the list, and check both auto-load and load.

There will now be a new MASH menu under the Create menu.

Registering:

Once you have installed MASH, you need to register it to disable the demo mode. Go to the Create Menu > MASH > Register/Unregister dialogue and enter your details.

Once done, we recommend you restart Maya, and you’re good to go!

Audio Power animation with an audio file.

Audio supports uncompressed WAV and AIFF files.

The sample rate is automatically detected.

Mode:

Spectrum: EQ frequencies will be used to drive the animation.

Average:The average volume will be used rather then individual frequencies.

Output Mode:

Normal: Results will be added to the incoming channel.

Multiply:Results will multiply the incoming values.

Filename:The audio file.

Amplitude:Amplifier for the effect.

Frequency Graph: Control which frequencies are used to get results.

Enable XYZ: Control which axis are driven by the audio file.

Thresholds: Set minimum and maximum amplifier values.

Time Offset: Offset the sound from the beginning of the timeline.

Time Step Average:Average volumes will be passed down the line, on by default.

Samples: How many times the file is sampled per second. Usually best left at 1024.

Max Bands: The maximum number of frequencies that will be processed.

Page 4: MASH 3.0 Documentation

Blend This multi-threaded node can merge two MASH networks together.

Merge Types:

Crossfade: Fades from one network to the other.

Add:Adds the attributes of the parent network to the child network.

Subtract:Subtracts the attributes of the child node from the parent network.

Strength: Standard strength controls allowing you to control the blend.

Connect Waiter/ Blend Node:

First select the child Waiter, then navigate to the Blend node and click this button to connect the child node. You will then be able to blend your networks.

Page 5: MASH 3.0 Documentation

Curve Animate objects along a curve:

Time Step: This controls how far apart the objects are.

Animation (slide): Use this to control the speed at which the objects travel along the curve. This is a fraction of the curve length.

Time Step Variation:Adds/ removes a random amount to the time step on a per object basis.

Velocity Random: Randomises the velocity of each point.

Velocity Noise: The velocity of each point changes over time.

Calculate Rotation: Objects will face down the curve when this is on. Pay attention to the up vector, and the direction of your original instances (they should be pointing down the X axis of the scene).

Stop At Curve End: With this on, objects will not be sent back to the beginning of the curve once they reach the end, and will instead stop.

Strength: Fades the node’s effect all the objects at the same time.

Random Strength: Smoothly fades the node’s effect on all the objects in a random order.

Step Strength: Turns the node’s effect off one object at a time.

Page 6: MASH 3.0 Documentation

Simple Mode:

U Value:The position of the objects on the curve.

Simple Strength: The strength of the simple mode (1 is on).

Clip Start/ End: Use these sliders to only use part of a curve.

Input Curves: The curves the objects will travel along. You can add several at once.

outAgePP: An attribute available through the Node Editor that you can use in combination with the Mute node’s inStrengthPP attribute. Age will be 0...1 depending on where the object is on the curve: 0 at the beginning, 1 at the end.

Delay Inherit the animation of an object, and offset it in time.

Time Step: This controls the total time of the delay (in frames).

Time Variance:An object by object randomiser for the time step.

Page 7: MASH 3.0 Documentation

Time Offset:A backward offset for the time step.

Strength: Fades the node’s effect all the objects at the same time.

Random Strength: Smoothly fades the node’s effect on all the objects in a random order.

Step Strength: Turns the node’s effect off one object at a time.

Self Delay: Uses the objects own position as a base for the delay, and as such, ignores the leader object. This mode can be slow with complex networks. Remember that time variance is set to 20 by default, and you might want it on 0 when using this mode.

Leader Object:The object to follow.

Connect leader:Connects the currently selected transform.

Create Leader:Creates a null, and uses it as the leader.

Distribute Distribute objects, also useful for ‘step’ effects:

Page 8: MASH 3.0 Documentation

Arrangement: A menu to determine the type of distribution, drop-down options are:

Linear: Distribution along a line.

Radial: Distributes objects around the circumference of a circle, or in a spiral/ helix.

Spherical: Places the objects randomly on the surface of an imaginary sphere. Auto-animates.

Mesh: See next page.

inPositionPP: A bridge to bring in scatter points or particle positions from SOuP or nParticles. Useful for goaling MASH controlled objects from one object to another.

Grid: A 2D or 3D matrix of objects

Settings: Several roll-downs with options for each distribution type, they are generally the same controls, just given names that are relevant to the current distribution type.

Distribute Gap: Groups the objects into fewer distribution steps.

Bias Ramp: An animatable graph to control the distribution of points. There are ramps for each axis.

Create Falloff Object: Creates a volume falloff object.

Strength: Fades the node’s effect all the objects at the same time.

Random Strength: Smoothly fades the node’s effect on all the objects in a random order.

Step Strength: Turns the node’s effect off one object at a time.

Mesh distribution:

There are several methods of mesh distribution:

Scatter: Places the points randomly on the surface of the connected mesh.

Mesh Vertex: Places the points on vertices (in order).

Random Vertex: Places the points on random vertices.

Face Centre: Places the points at the centre of faces (in order).

Random Face Centre: Places the points on random face centres.

Voxel: Fills the connected mesh with your objects (see voxel settings).

Vertex Selection Set: Places points on components belonging to a connected selection set.

Push along normal: Move the points along the normal of the surface.

UpVector:Used for calculating rotation. It defaults to Y-up.

Face Settings:

Use Face Scale: Objects will be scaled according to the area of the face on which they are placed.

Face Scale Multiplier: A multiplier for the face scale setting.

Voxel Settings:

Voxel Size: The size of the voxels, a smaller voxel size will create more objects and result in a slower calculation.

Pattern offset sliders: Use these sliders to offset the rows and columns.

Create container: Creates a voxel bounding box so that you can animate your mesh moving through a space filled with voxels.

Tip: To create a ‘hollow’ voxel shape, simply extrude your mesh inward.

Page 9: MASH 3.0 Documentation

Falloff A node to control falloff volumes.

Invert Falloff: Inverts the falloff area.

Shape: Spherical or cubic falloff shapes are supported. Cubic is slightly slower then spherical.

Mode:

Normal:The effect of the falloff object will be temporary.

Add: The effect of the falloff node will be permanent.

Remove:Removes the permanent effect.

Radius: Radius of the falloff volume in world units.

Inner Zone: Areas in this zone will be at full strength, it’s measured as a ratio of the radius.

Falloff Ramp: Customise the falloff curve.

Page 10: MASH 3.0 Documentation

Flight A multi-threaded simulation node that will give a very natural approximation of flocking/ schooling and swarming.

The Flight node needs playback speed setting to ‘play every frame’ as it is a simulation node. Your playback start and end frames should be set to whole numbers eg., 0 to 250, and not 0.04 to 249.96 for example.

Objects will face down the Z-axis once you’ve added an orient node.

Alignment Strength: How much the points want to travel in the same direction.

Cohesion Strength: How much the points want to stay together.

Separation Strength: How determined they are not to collide.

Search Distance: How far to search for other points.

Number of Companions: How many points to compare with when making the calculations.

Field of Vision: The angle (in degrees) within which the object can see it’s companions.

Alignment Zone: The size of the alignment area inside the search distance.

Separation Zone: The size of the separation area inside the search distance.

Minimum/ Maximum Speed: Control the speed of the points.

Mass: Used to exaggerate some of the calculations.

Mass Variance: A random variance on the mass.

Steering Force: Lower values give agile darting movements while higher values give swooping movements and result in overshoot.

Type of Gravitation: Given Location uses the float boxes andv GroupCentre uses the centre of the points.

Inertia: A constant force applied to all the points.

Page 11: MASH 3.0 Documentation

Avoidance Type: Various options to create a more natural flow to obstacle avoidance.

Input Mesh: The points can be constrained to a mesh, helpful for insects and people.

targetPP: A connection you can make in the node editor to make a PP array (such as one created by a Distribute node, or SOuP scatter node) an attractor point.

ID Easily assign different objects to your MASH points.

Note:This should be added to the ‘Instancer ID’ channel.

ID Type: The type of ID distribution, the options are:

Linear: Increments the ID of each object by 1. It loops if there aren’t enough objects.

Random: Each object gets a random ID.

Echo ID:Each Echo gets a different object.

Cycle: IDs are incremented by 1 per frame.

Fixed: Each ID is the same.

Page 12: MASH 3.0 Documentation

Randomise Cycle Start: When in Cycle mode each starting ID is random.

Stop At Cycle End: Each ID stops animating when it runs out of objects.

Cycle Gap: Stagger cycling starting points (doesn’t work when randomise is on).

Oscillate:The ID will reverse once it gets to the end of the sequence.

Influence Influence scale and rotation with guide objects.

Add Influence Locator: Add an extra influence locator to the scene. Two influence locators are created by default.

Influence Power: This setting controls how quickly the influence locator’s effect falls off. Higher values make the falloff more pronounced.\

Use Radius: When on, the maximum extent of influence locators is controled by the radius setting below, when this is off the influence node will automatically fade between multiple influence locators.

Influence Radius: The maximum extent of a locator’s influence.

Enable Scale/ Rotation/ Position: Enable or disable the effect of the locators on this channel.

Overwrite Scale/ Rotation: When enabled, the node will ignore any incoming values and overwrite them. Turn this off to preserve any incoming rotation or scale information.

Page 13: MASH 3.0 Documentation

Inherit Inherit the animation of multiple transforms.

Distribution Style:

Linear: Point 1 is assigned to input 1, point 2 to input 2 etc.

Random: All points are assigned randomly to the inputs.

Strength: Fades the node’s effect all the objects at the same time.

Random Strength: Smoothly fades the node’s effect on all the objects in a random order.

Step Strength: Turns the node’s effect off one object at a time.

Force: ‘Pushes’ the points away from the transform.

Force Variation:A randomiser for the above control.

Page 14: MASH 3.0 Documentation

Initial State The initial state node will pass through the location of the objects you have added to your MASH network. This node is live, and any animation will also be passed through.

Note: It’s always best to add this node first so that any initial transforms aren’t overwritten by other nodes.

Note: If your objects have rotation or scale information, zero this out after adding the node, otherwise you’ll end up with double transforms.

Enable Position/Rotation/Scale: Turns on this channel of the initial state node.

Strength: Fades the node’s effect all the objects at the same time.

Random Strength: Smoothly fades the node’s effect on all the objects in a random order.

Step Strength: Turns the node’s effect off one object at a time.

Page 15: MASH 3.0 Documentation

Maths Use Python expressions to manipulate your objects.

Use ‘XYZ’ Expression: Check-boxes to enable or disable expressions.

Note: The random and maths modules are imported automatically, Maya commands are assigned the namespace ‘mc’.

MASH supplies you with several local variables:

id = object number (the same as the Point ID)

totalid = the total number of objects

time = the frame number

inx iny inz = the values of the objects before the Maths node.

pi2 = 2 x pi

step = normalised id (the id but between 0 and 1).

angle = a helper variable for creating circles, see examples below.

u & v = internal UV values, you might find them useful.

Example formulae (not all are animated):

sin((time+id)*0.1)*5

pow(max(2-step,0),5)

tan(step*(time*0.02))

cos(inx*pi2+(time*0.1))

To create a rotating circle:

sin(angle+(time*0.01))*10 (place in x)

cos(angle+(time*0.01))*10 (place in y)

Page 16: MASH 3.0 Documentation

Multi-Curve Create animated curves based on MASH points.

Curve Type:

Join the Dots: Joins all the MASH points with a curve/curves.

Tracer: Trace the paths of your points.

Point to Point:The current position of your point is connected to the location of a helper object (or 0,0,0 if you don’t connect one).

Point to Point Location:

Connect Point Object: Connects a selected translate for use as the point location.

Create Point Object:Creates and connects a locator for use as your point location.

Number of Curves: Creates and removes curves from the scene.

Tracer Length (frames): The length of your tracer curve in Frames.

Tracer Length Variance (frames):A random variance on the tracer length.

startPositions:by connecting this attribute in the node editor you can plug another MASH node (or particle group) into a Multi-Curve node and connect the two networks with curves by using Point to Pointmode.

Note: When using Paint Effects on your Tracer curves, be aware that they will not appear until the curve has reached it’s maximum length (by default, frame 100). Paint Effects do not appear to support curves of dynamic length.

Note: Point to Point curves have additional CVs created automatically (you can disable this in Extra Attributes). These extra CVs allow you to make the curves dynamic (nHair > Make Selected Curves Dynamic). nHair is only available in Maya 2013 or newer. See example file.

Page 17: MASH 3.0 Documentation

Mute Control the strength of other nodes.

Strength: Fades the node’s effect all the objects at the same time.

Random Strength: Smoothly fades the node’s effect on all the objects in a random order.

Step Strength: Turns the node’s effect off one object at a time.

Noise Strength: Think of this as animated random strength.

Reverse Mute Order: Useful for Step Strength, it will reverse the order in which the objects are effected. Be careful with this mode, it can produce unwanted results.

Mute map: Use any 2D texture/ file/ animated file texture to mute your objects. Create a helper object with the button to allow you to visually place your texture.

Individual Axis Controls: Individual envelopes for each axis.

Time Based Mute:

Beat Ramp: Useful for automatically animating Mute values.

Loop Frames:The number of frames before MASH starts reading the ramp again.

Beat Ramp: The ramp that will be applied to the Beat Strength values.

XYZ Strength: Sliders to control the strength of the mute effect.

Stagger (frames): Each object will be offset along the ramp, see example project.

Loop the ramp:The ramp will not loop when this is disabled.

inStrengthPP powered ramp: Use the values coming in from this attribute to determine what part of the ramp is read. Useful in combination with the Curve node for age based effects. In addition, the ‘lifespan’ attribute can be used to help this calculation along. See example files.

Mute by String:Type in object numbers, separated by commas, or number ranges, separated by a hyphen to mute them. e.g. 3,4,5, 8-13

Filter On: These objects will remain on, no matter the other mute values.

Filter Off: These objects will be fully muted, no matter the other mute values.

Page 18: MASH 3.0 Documentation

Noise Affect your objects with Perlin noise, looping Perlin noise, FbM, seek noise or mosaic noise.

Noise Type:

Perlin Noise: The noise you’re probably looking for.

Seek Noise: This is a fully procedural random walk; the points will wander off from the centre of the screen in random directions. You can control how erratic the movement is with the new ‘Seek Angle (FoV)’ setting. It’s particularly useful for simulating insect movement in conjunction with the Flight node.

Mosaic Noise:Points can only turn at right angles in the noise mode. There are random variance sliders to create a varied look, found under the Cubic Noise (misnamed) roll out.

fBM Noise: Fractal Brownian Motion, sometimes called Turbulent Noise. As a basic explanation: whereas objects under the influence of Perlin noise will generally move at the same speed, those being moved by fBM noise will speed up and slow down.

Perlin Noise (looping): A loopable noise. Control the speed / length of the loop using the Loop

Page 19: MASH 3.0 Documentation

Time (frames) attribute.

Amplitude:Strength of the noise.

Frequency:The speed of the noise.

Strength: Fades the node’s effect all the objects at the same time.

Random Strength: Smoothly fades the node’s effect on all the objects in a random order.

Step Strength: Turns the node’s effect off one object at a time.

Step: The time difference between the noise given to each object. Lower this value to make the objects look like they’re following each other over the noise.

Octaves:The number of noise octaves, higher numbers will produce a more detailed noise.

Random Seed: Seed value for the noise.

Whole numbers: Only whole numbers will be returned.

Absolute Noise:Noise values will always be positive.

Offset

Page 20: MASH 3.0 Documentation

Offset or multiply values.

Type of Offset:

Normal: Takes the incoming array (if there is one) and adds to it.

Multiply: Multiplies the results of the incoming array.

Rotate All Points: This will rotate all the objects around a given point. It only makes sense to use this is the position channel.

Overwrite: Values will be set to these regardless of the incoming array. This can be useful for diagnostics, and occasionally when using the Initial State node.

Closest Point On Mesh:Sticks the points to a surface.

Accumulate: Multiplies the offset values by the frame number.

Hold Values: Use this in combination with the Hold Values Strength slider to fix the values of your objects. Useful if objects using the orient node come to a stop.

Offsets (XYZ): The values used by the modes described above.

Clamps (Normal mode only):

Enable Clamps: Enables the clamps.

Clamp Values: XYZ values for the low and high clamps.

Centre of Rotation (Rotate mode only):

Centre of Rotation: The point around which all the objects will rotate.

Enable X, Y, Z: Under the Envelopes roll down, these checkboxes can be used to disable the use of certain axis.

Orient Point your objects in their direction of travel.

Page 21: MASH 3.0 Documentation

Note: This object should be added to the Rotation channel.

Note: Point your original objects down the X axis to make the up vector relevant.

Solo: Limit which axis are rotated.

Up Vector: Which direction is up for your objects.

Smoothing:Smooths the rotation animation over 10 frames. Very useful with the Flight node.

Mute Incoming: The Orient node now mutes any incoming rotation array by default.

Target Mode: With this box enabled the MASH objects will point at whatever target you add to this node.

Set Target: With an object translate selected, click this button to set it as the target.

Create Target: MASH will create a locator and connect it to the node, as well as turn on Target Mode. It just saves you a few clicks.

Tip: If you find the changes of direction too abrupt, add a Spring node to the rotation channel to dampen the rotation.

Points Display your point locations and numbers with OpenGL.

Enable Points: Disable the node with this.

Colour: The colour of the points in the viewport.

Page 22: MASH 3.0 Documentation

Random A random number generator:

Minimum Number:The lowest random number that can be generated.

Maximum Number:The highest random number that can be generated.

Random Seed: A seed value for the random numbers.

Strength: Fades the node’s effect all the objects at the same time.

Random Strength: Smoothly fades the node’s effect on all the objects in a random order.

Step Strength: Turns the node’s effect off one object at a time.

Whole Numbers:Only whole numbers will be returned.

Uniform Random:The random X value will be used for Y and Z.

Individual Axis Controls: Min and Max sliders for each axis. They are used when their value is not 0.

Page 23: MASH 3.0 Documentation

Replicator This powerful node duplicates your entire MASH network.

Replicants: The number of times your MASH network will be duplicated.

Offset Positions:The spacing of the replicants.

Scale Replicants:Scale the spacing of the replicants.

Rotate Replicants: Rotate the replicants.

Rotate Around: The point around which the replicants will rotate.

Offset: Offset the number of replicants.

Step ID: Step up the ID with each replicant, as oppose to each object.

Pattern: Offset every Nth row.

Pattern Offsets:The amount by which to offset the rows.

Time Offset:Use this to offset the animation on the replicants.

Use Curve:

Time Slide:Animate your replicants along the curve.

Curve Scale:Use this to adjust the scale of the time slide attribute to account for tiny/huge curves.

Rotational Offsets: Offset the curve rotation if you need to (to get your objects facing the right

Page 24: MASH 3.0 Documentation

way!).

Driven Channels: Use another Waiter to drive the replicants position/ scale and rotation. This allows for some hugely complex set-ups.

Spring Add spring to your animation:

Note: The spring node requires animation to do anything, so add it after some animated MASH nodes.

Note: Spring currently doesn’t work correctly when scrubbing, this will be fixed. In the mean time, simply play through your animation to see it work.

Spring Strength:An envelope for the overall spring effect.

Damping:Dampens the spring, higher values will cause faster settling.

Stiffness:The rigidity of the spring effect, lower values will cause a larger overlap.

Page 25: MASH 3.0 Documentation

Damping Variation:Creates a random variation of the damping value on a per-object basis.

Stiffness Variation:Creates a random variation of the stiffness value on a per-object basis.

Trig Use Sin/Cos/Tan to animate your objects:

Amplitudes:The amount of units at the peak and trough of the animation curves.

Frequencies:The speed of the animation.

Strength: Fades the node’s effect all the objects at the same time.

Random Strength: Smoothly fades the node’s effect on all the objects in a random order.

Step Strength: Turns the node’s effect off one object at a time.

X/Y/Z Function:The type of curve.

Step:The offset along the curve given to each object, lower values mean all the objects have a very similar animation, larger values mean they will have a completely different value.

Absolute Values:Generated values will all be positive.

Whole Numbers: Only whole numbers will be returned.

Page 26: MASH 3.0 Documentation

Visibility Affect the visibility of your objects.

Strength:The ratio of the objects turned off. By default, objects are turned off in order.

String filters:Type in object numbers, separated by commas, or number ranges, separated by a hyphen to hide them. e.g. 3,4,5, 8-13

Filter On: These objects will remain on, no matter the other values.

Filter Off: These objects will be invisible, no matter the other values.

Reverse Order:Reverses the order in which objects are made invisible.

Randomise:Randomises the order in which the objects are turned off.

Page 27: MASH 3.0 Documentation

Random Seed:A random seed value for the above control.

Waiter The ‘Waiter’ is the crux of MASH.

Here you create nodes for the network and set the number of objects you want.

Number of objects: How many objects there are in your MASH network.

Add Node:Click on any node and you will be presented with a contextual menu which will allow you to add the node to your network.

Caching:

See the next page.

Presets:

See next page.

Note: Under ‘Advanced there is a check-box ‘ Use Set Objects’, you can use this to directly move transforms in your scene.

1. Set this option.

2. Drag some objects onto the Waiter in the Outliner (it’s a selection set).

3. Set the number of objects to the correct number.

4. Use MASH as normal.

5. BAKE your animation (edit > keys > bake simulation) before rendering.

Page 28: MASH 3.0 Documentation

Caching The Waiter now includes a Caching roll-down.

This houses a button which activates the new Cache Creator as well as checkboxes for quickly enabling and disabling caches.

The Cache Creator:

Within this window you can create caches for each MASH channel. Caches are a single file per channel. Cache names are based on the name of the Waiter. Caches are saved in Maya’s mcx format (the same as nCaches). Caches can be disconnected in the Cache Creator. The resulting Cache nodes can be re-timed and reversed etc., etc. Once a cache has been created, you can disable the MASH nodes in that channel as the Waiter will not be using their calculations.

Page 29: MASH 3.0 Documentation

Presets ou can access ready made presets or create your own presets to help you in the future.

Presets Location: The folder where the presets will be saved.

Empty Instancer: Removes objects from the intancer before creating the preset.

Layout Tools Compatible: Creates a .png to go along with the preset, this will allow Layout Tools to show a preview of the preset.

Create Preset: Creates the preset after you’ve entered a name for it.

Show Visor: Opens the MASH Presets tab in the Visor.

Utilities These tools are found under Create > MASH > Utilities

Create MASH Deformer:

First select a mesh shape and then a Waiter node, then select this option.

This adds a deformer to the selected MESH object that is driven by the MASH network. The deformer has some enveloping options and supports Falloff objects.

Thaw Objects:

Select a group of frozen objects and select this option.

If you want to work with objects such as Illustrator shapes or text created by Maya, these shapes will have their transforms frozen, this means MASH won’t know where they really are, when that’s the case, run this script to give the objects their correct transform information.

Create nParticles > MASH > Instancer:

Creates a new MASH network with an nParticle network plugged into it, this means you can use all the MASH goodies to control the particle system while inheriting, for example, the dynamics of the particle system.

Set up nParticles with an initial state from MASH:

Select a Waiter, then choose this option. This will create a new nParticle system with a particle at the position of each MASH point.

Create > MASH > Utilities > Convert Instancer to Objects

Select an Instancer and then run this script. It can bake either a still frame or the whole animation. The script will also perform tests to make sure the baked objects end up where you want them (offsets to rotation and position can cause things to end up where you wouldn’t expect).

Page 30: MASH 3.0 Documentation

Create > MASH > Utilities > Connect nParticles to Waiter

Select some nParticles, then a Waiter, then run this script to connect the two. After doing this you can then add nodes as normal to MASH. Please note that this script only connects the particle position to the MASH network. You will have to connect per particle attributes manually (scale, rotation, id etc.).

Create > MASH > MASH Helper:

A new dockable control that allows you to quickly select the MASH nodes in your scene, it’s a help when you’re working in large scenes with multiple Waiters. It also affords access to the MASH utilities. Refresh the lists of nodes available for selection by clicking the ‘Refresh Menus’ button.

When you select a Waiter, any current selection is replaced, however when you select a node, any current selection is maintained (this is in case you wish to connect a MASH node to a selected item, such as a curve with a Curve Node.).

To make the Helper load each time you load MASH, use the button at the bottom of the Utilities tab.