Houdini 13.0 Nodes

interface version 2

An enhanced Rest Position SOP variant for saving and restoring per-point rest position attributes.

This node has the same function as the original Rest Position SOP, as well as restoring (and swapping) rest positions and normals (rest and nrml per-point attributes).

Note

This operator also stores rest attributes in a way that it won’t be accidentally transformed by a Transform SOP (or similar) – avoiding an ever-reoccuring issue with rest positions.

Inputs

(1st) Input Geometry

Geometry to work on.

(In Swap mode, the rest attribute will also be read from this geometry.)

(2nd) Rest Geometry

Geometry to get rest positions from (except in Swap mode). In Restore mode, the rest attributes are also read from this input.

Parameters

Save

Save rest position attribute for geometry. See the Rest Position SOP for parameter details.

Restore

Restore per-point rest positions.

Point Group

Rest positions are only restored for the given points, if specified.

Blend

A position/rest blend percentage value, where 0.0 keeps the original point positions and 1.0 fully restores rest positions.

Restore Mode

Specify what to restore: rest positions, rest normals, or both.

Delete Rest Position Attribute

If enabled, the rest attribute will be deleted after restoring it to point positions.

Delete Rest Normal Attribute

If enabled, the rnml attribute will be deleted after restoring it to point normals.

Swap

Swaps rest and P (current position) for the 1st geometry input (the second input is ignored altogether).

Swap Positions

Swap P and rest attribute values (switch not implemented; enabled by default).

Swap Normals

Swap N and rnml attribute values (switch not implemented; disabled by default).

Release Notes

interface version 2

2014-06-23
  • First version of interface version 2

  • Parameter name changes

  • Now checks for rest attribs on restore/swap (and warns if don’t exist)

  • When restoring, uses rest attributes from the 2nd input if connected

  • Both rest and rnml attrib classifications are removed on Save (to avoid accidental xforms)

  • Point group for Swap mode

  • Swap Positions/Normals toggles now work

  • Swap also saves rest attribs without type classifications

interface version 1

2014-03-10
  • Added non-vector rest data type workaround

2012-10-26
  • Added 'Swap' rest mode (swap point/rest positions).

  • Limitation: related toggles are shown but not implemented (should be done on demand).

2012-07-26
  • Added namespace to asset

2011-09-16
  • Initial release.

On this page

Related topics