In Maya, a directed acyclic graph (DAG), defines elements such as the position, orientation, and scale of geometry. The DAG is composed of two types of DAG nodes, transforms and shapes.
在Maya里歹苦,幾何體的位置靡菇,方向和縮放元素是由DAG(有向無環(huán)圖)定義的淀零。DAG有兩類DAG節(jié)點組成:transform節(jié)點和shape節(jié)點眷蜓。
Transform nodes—Maintain transformation information (position, rotation, scale, etc.) as well as parenting information. For example, if you model a hand, you would like to apply a single transformation to rotate the palm and fingers, rather than rotating each individually—in this case the palm and fingers would share a common parent transformation node.
Transforms節(jié)點包含了變換信息(位置,旋轉州藕,縮放等等)以及父子級信息吏奸。例如没炒,如果你想做一只手扒披,你更希望用一個旋轉信息控制手掌和手指值依,而不是讓他們各自單獨移動。在這種情況下碟案,手掌和手指會共享同一個父級transform節(jié)點。
Shape nodes—Reference geometry and do not provide parenting or transformation information.
Shape節(jié)點是個參考幾何體颇蜡,并且不提供父子級信息和變換信息价说。
In the simplest case, the DAG describes how an instance of an object is constructed from a piece of geometry. For example, when you create a sphere, you create both a shape node (the sphere) and a transformation node that allows you to specify the sphere’s position, scale, or rotation. The transformation node’s shape node is its child.
在最簡單的情況下辆亏,DAG描述了一個幾何體是如何組成一個對象的實體的。例如鳖目,當你創(chuàng)建一個球的時候扮叨,你同時創(chuàng)建了一個shape節(jié)點(球)和一個transform節(jié)點。transform節(jié)點允許你給球設定位置领迈,縮放或者旋轉角度彻磁。transform節(jié)點的shape節(jié)點是它的子級。