Thursday, July 18, 2013

GJ Attribute Math ( Houdini )

Here is a new utility .otl: AttributeMath


Format: Houdini .otl (Digital asset)

Feature:

SOP node which allow the user to do math operation between 2 attributes.

Where A is an attribute and B is either an attribute or a constant, you can do:

- A - B
- A + B
- A * B
- A / B
- A % B (modulo)
- Remap A values according to a ramp
- Fit Range A values

Output values are stored in either attribute A or in a new attribute.



Examples:

Add:

Multiply by a constant:

 Remap values by a ramp: