In this tutorial, you set up a tension visualization on a deformed mesh and review the basic DGA workflow. You then create a
pointValues setup that makes the calculated values available as texture output.
Before you begin
- Create or open a polygon mesh with deformation history.
- Make sure the mesh has usable UVs if you plan to use
pointValues.
- Create a visible difference between the geometry states that you want to compare.
Create a DGA visualization
- Select the deformed mesh.
- Choose
Deform > Dynamic Geometry Attributes....
- Choose
Tension as the calculation type.
- Enable
Visualizer.
- Choose the start and end geometry states to compare. For a simple deformer chain, use the undeformed shape as the start and the deformed result as the end.
- Choose the tension source channel that you want to display, such as Stretch.
- Click
Create.
- Adjust the deformer. The displayed DGA values update as the geometry changes.
Result:Maya creates and connects the DGA calculation and visualization nodes. The mesh displays the selected values as colors.
Create texture output from DGA values
- With the deformed mesh selected, reopen
Deform > Dynamic Geometry Attributes....
- Choose the calculation type and source channel that you want to sample.
- Enable Point Values. Disable
Visualizer if you do not need the mesh-color display.
- Choose the start and end geometry states, then click
Create.
- In the
Node Editor, connect
pointValues.outColor or
pointValues.outAlpha to a compatible shading input.
- Modify the deformation and evaluate the connected result.
Tip: If sampled values appear faceted on a low-resolution mesh with detailed deformation, enable
Smoothing on the pointValues node and increase
Smoothing Iterations only as needed