[Maya node 01] BlendTwoAttrs, plusMinusAverage

How to properly replicate nodes

Open the special copy option and complete the following settings
insert image description here

BlendTwoAttr

Help document: https://help.autodesk.com/view/MAYAUL/2020/ENU/index.html?contextId=NODES-BLENDTWOATTR
is similar to lerp function
insert image description here

output = (1 - attributesBlender) * input(0) + attributesBlender * input(1)
  • Generate input and directly use the script language setAttr, connectAttr, etc. to set

insert image description here
↑The yellow input[2] in the figure above represents that it is connected by the attributes of other nodes. input[0] is a fixed constant

plusMinusAverage

https://help.autodesk.com/view/MAYAUL/2020/ENU/index.html?contextId=NODES-BLENDTWOATTR
Addition and Subtraction Averaging Tool
insert image description here

Guess you like

Origin blog.csdn.net/qq_43544518/article/details/129654370