DeformationMap
Overview
DeformationMap measures mesh stretching relative to reference pose and creates a color from that stretching.
Attribute Reference
General attributes
output_mode
Int enum
0 = “RGB”
1 = “deformation_S”
2 = “deformation_T”
3 = “deformation_avg” (default)
Controls output:
RGB - R = deformation along S, G = deformation along T, B = average deformation from ref space
deformation_S - deformation along S
deformation_T - deformation along T
deformation_avg - average deformation from ref space
![RGB](https://docs.openmoonray.org/assets/images/user-reference/scene-objects/maps/DeformationMap/def_0.jpg)
![S](https://docs.openmoonray.org/assets/images/user-reference/scene-objects/maps/DeformationMap/def_1.jpg)
![T](https://docs.openmoonray.org/assets/images/user-reference/scene-objects/maps/DeformationMap/def_2.jpg)
![Average](https://docs.openmoonray.org/assets/images/user-reference/scene-objects/maps/DeformationMap/def_3.jpg)
use_warning_color
Bool
default: False
If derivatives are missing or zero output the warning color erroring out
warning_color
Rgb bindable
default: [ 1, 1, 1 ]
Warning color to output when derivatives are missing or zero