Attribute surface node

Renames or deletes point and primitive attributes.

All Parameters Example files

See also: Attrib Create, Attrib Copy, Attrib Mirror, Attrib Promote

The Attribute op allows you to manually rename and delete point and primitive attributes. The RenderMan page remaps attributes especially for the creation of .rib data streams for use with the RenderMan renderer.

Accepts geometry of all types for remapping, renaming, and deletion.

Renderman examples

single varying float

1, meaning that the second coordinate is used as the “t” coordinate.

Cd Cs “vertex color” 0 Map diffuse color as a RIB per vertex color.
uv s “varying float” 0 Map texture coordinates to RIB “s” coordinate as a
uv t “varying float” 1 Map texture coordinates for “t” However, the offset is

Parameters

Point

Overview

Renaming of point attributes. Specify the existing attribute in the first column. Specify the name of the new attribute in the second column.

Delete Attributes

Specify existing attributes to delete.

Update Local Variables

All local variables referring to the renamed and deleted attributes are also renamed or deleted.

Vertex

Overview

Renaming of vertex attributes. Specify the existing attribute in the first column. Specify the name of the new attribute in the second column.

Delete Attributes

Specify existing attributes to delete.

Primitive

Overview

Renaming of primitive attributes. Specify the existing attribute in the first column. Specify the name of the new attribute in the second column.

Delete Attributes

Specify existing attributes to delete.

Detail

Overview

Renaming of detail attributes. Specify the existing attribute in the first column. Specify the name of the new attribute in the second column.

Delete Attributes

Specify existing attributes to delete.

RenderMan

Overview

This tab allows the specification of how attributes will be output to a RIB stream. The first column specifies the name of the Houdini attribute. The second column is what the RIB declaration should be named. The menu of types is the allowable types for RenderMan attribute data. The offset allows you to offset into the Houdini attribute when specifying the RenderMan values.

For Houdini point attributes, either Varying or Vertex types should be used.

For Houdini primitive attributes, either Uniform or Constant types should be used. The Constant type is more efficient when dealing with mesh & NURBS primitives, otherwise there’s really no difference between the two.

Please see the “Application Note #22” from Pixar for a good description on the differences between the different RenderMan types.

Add Default Mappings

Adds the standard attributes, which can be mapped to the RIB standard variables. Turning on the toggle will add attribute mappings for:

Houdini

RIB Cd

Cs

Alpha

Os

uv(0)

s

uv(1)

t

N

N

rest

Pr

width

width

Update Local Variables

All local variables referring to the renamed and deleted attributes are also renamed or deleted.

Example files

AttributeRename

$HFS/houdini/help/examples/nodes/sop/attribute/AttributeRename.cmd

Load | Launch

This is an example of how the Attribute SOP is used to delete and rename attributes within Houdini. Attributes may also be renamed for proper RIB outputs for Renderman.

Usages in other examples

Example name Example for

Dynamics channel node

Load | Launch

Lookup channel node

Load | Launch

Fur surface node

Load | Launch

Cloth Create Seam surface node

Load | Launch

Dop Import surface node

Load | Launch

Particle surface node

Load | Launch

Poly Wire surface node

Load | Launch

Ray surface node

Load | Launch

Mantra render node

Load | Launch

Multiple Solver dynamics node

Load | Launch

Field Force dynamics node

Load | Launch

Field Force dynamics node

Load | Launch

RBD Point Object dynamics node

Load | Launch

Fluid Object dynamics node

Load | Launch

Fluid Object dynamics node

Load | Launch

Fluid Object dynamics node

Load | Launch

Fluid Object dynamics node

Load | Launch

Fluid Object dynamics node

Load | Launch

Fluid Object dynamics node

Load | Launch

Fluid Object dynamics node

Load | Launch

Blend Solver dynamics node

Load | Launch

Wire Solver dynamics node

Load | Launch

Wire Solver dynamics node

Load | Launch

Wire Solver dynamics node

Load | Launch

Drag Force dynamics node

Load | Launch

Copy Objects dynamics node

Load | Launch

Copy Objects dynamics node

Load | Launch

Affector dynamics node

Load | Launch

RBD Angular Spring Constraint dynamics node

Load | Launch

RBD Angular Spring Constraint dynamics node

Load | Launch

Wind Force dynamics node

Load | Launch

RBD Visualization dynamics node

Load | Launch

Particle Fluid Emitter dynamics node

Load | Launch

Particle Fluid Emitter dynamics node

Load | Launch

RBD Keyframe Active dynamics node

Load | Launch

Wire Glue Constraint dynamics node

Load | Launch

RBD Solver dynamics node

Load | Launch

RBD Solver dynamics node

Load | Launch

Smoke Object dynamics node

Load | Launch

Smoke Object dynamics node

Load | Launch

Smoke Object dynamics node

Load | Launch

Smoke Object dynamics node

Load | Launch

Smoke Object dynamics node

Load | Launch

Smoke Object dynamics node

Load | Launch

Smoke Object dynamics node

Load | Launch

Smoke Object dynamics node

Load | Launch

RBD Hinge Constraint dynamics node

Load | Launch

SOP Solver dynamics node

Load | Launch

SOP Solver dynamics node

Load | Launch

Particle Fluid Solver dynamics node

Load | Launch

Particle Fluid Solver dynamics node

Load | Launch

Particle Fluid Solver dynamics node

Load | Launch

Particle Fluid Solver dynamics node

Load | Launch

Particle Fluid Solver dynamics node

Load | Launch

Particle Fluid Solver dynamics node

Load | Launch

Buoyancy Force dynamics node

Load | Launch

POP Solver dynamics node

Load | Launch

Load | Launch

Particle Fluid Sink dynamics node

Load | Launch

Particle Fluid Sink dynamics node

Load | Launch

Cloth Solver dynamics node

Load | Launch

Cloth Solver dynamics node

Load | Launch

Cloth Solver dynamics node

Load | Launch

RBD Object dynamics node

Load | Launch

RBD Object dynamics node

Load | Launch

Particle Fluid Object dynamics node

Load | Launch

Particle Fluid Object dynamics node

Load | Launch

Particle Fluid Object dynamics node

Load | Launch

Particle Fluid Object dynamics node

Load | Launch

Particle Fluid Object dynamics node

Load | Launch

RBD Spring Constraint dynamics node

Load | Launch

RBD Glue Object dynamics node

Load | Launch

RBD Glue Object dynamics node

Load | Launch

RBD Glue Object dynamics node

Load | Launch

RBD Glue Object dynamics node

Load | Launch

File dynamics node

Load | Launch

Active Value dynamics node

Load | Launch

Active Value dynamics node

Load | Launch

RBD Pin Constraint dynamics node

Load | Launch

RBD Pin Constraint dynamics node

Load | Launch

Anchor: Align Axis dynamics node

Load | Launch

Reference Frame Force dynamics node

Load | Launch

Mask Field dynamics node

Load | Launch

Script Solver dynamics node

Load | Launch

Script Solver dynamics node

Load | Launch