Material Editor > Maps rollout > Click a Map button. > Material/Map Browser > Stress
Stress is a Texture map plugin that composes 3 different maps using the compression and strain of the mesh object to which it is aplied.
Stress is ideal for character animation with morph plugins, it can parametrically change the mapping while your character talkes or moves, allowing you to hide wrinkles and bumps when the skin is strained, and show them when it is compressed or relaxed.
Stress works with all map channels. However, in the bump channel it can only composse between maps, color information is discarded by the bump channel.
Reference Mapping channel
: The mapping channel which stores the original shape of the object. This channel must be an XYZ mapping channel. If 0 it uses the vertex color channel.
: Which deformation does Stress show.
: The maximum stress value used to compute the gradient.
Compute stress using all edges
: Stress information is computed per vertex using the edges of the faces it shares. All edges uses also invisible edges to compute stress information.
: Controls how the stress gradient is displayed.
Stress Maps, Colors and Colors/Map Toggle
: The map that will be shown in unstressed zones.
: The map that will be shown in tensioned zones.
: The map that will be shown in compressed zones.
- Create a cylinder and set the following parameters:
Height Segments: 15
- Add a UVW Map modifier to the cylinder and set the mapping channel type to XYZ to UVW.
This is a very important step. XYZ mapping type copies the geometrical channel to the first mapping channel. Stress needs the geometrical channel to know how was the object before any modifier was applied to it. The XYZ mapping channel must be applied before any modifier.
- Add a new material to the cylinder, click the diffuse map button and select a Stress map as the diffuse map.
- Render your scene.
The cylinder is completely green. In other words, it is completely relaxed, there are no tension or comprssion zones.
- Apply a bend modifier to the cylinder and set the angle to 85 and render again.
Now the cylinder is mostly green, but it has red (tensioned) zones.
- In the Stress Panel, set the Max Stress to 30 and render again.
Now the stressed zones are more visible. A Stress of 100% happens when all the edges that a vertex share are twice long (tensioned) or half long (compressed).
- In the Stress Panel, change the Show type to Summatory, to show both tensioned and compressed zones, and render again.
The blue zones are the zones in compression.
- In the Stress Panel, change the Mix Falloff to 1.0 and render again.
Mix Falloff controls the gradient in the stressed zones.
- A texture map can be defined for each stress channel.
- Animate the bend angle and see how the stress map changes automatically with the mesh.
Download Stress for 3dsmax 6, 7, 8, 9, 2008, 2009, 2010 and 2011.