-
Notifications
You must be signed in to change notification settings - Fork 54
Home
Serguei Kalentchouk edited this page Feb 20, 2018
·
20 revisions
- atomic nodes that perform a single operation
- nodes have a single output attribute
- nodes are strongly typed
- it is acceptable to duplicate existing Maya functionality
- node names are prefixed with math_
- nodes are named with affirmative action verb, ex: Add, Multiply
- Get verb is implied, ex: GetScaleFromMatrix is ScaleFromMatrix, GetDotProduct is DotProduct
- nodes are assumed to operate on doubles by default, ex: Add, Multiply
- if they operate on type other than double that becomes part of the name, ex: AddVector, MultiplyMatrix, MultiplyVectorByMatrix
- conversion nodes are slight departure from above and are in form OutputFromSource
- attributes named simply input/output, if multiple inputs are involved they are enumerated, ex: input1, input2
- some common attribute names are also used, ex: translation, rotation, scale, rotationOrder, alpha, axis, min, max