Go to: Attributes.

This node is an base class for surface objects. It defines some basic rendering attributes which determine whether the surface should appear smooth shaded or flat shaded, whether the surface normals should be reversed and whether the surface is visible only on the side where the normals are pointing outward or is visible from both sides of the surface.

This node is abstract

Node name Parents MFn type Compatible function sets
surfaceShape controlPoint

Attributes (30)

boundingBoxScale, boundingBoxScaleX, boundingBoxScaleY, boundingBoxScaleZ, collisionDepthVelocityIncrement, collisionDepthVelocityIncrement_FloatValue, collisionDepthVelocityIncrement_Interp, collisionDepthVelocityIncrement_Position, collisionDepthVelocityMultiplier, collisionDepthVelocityMultiplier_FloatValue, collisionDepthVelocityMultiplier_Interp, collisionDepthVelocityMultiplier_Position, collisionOffsetVelocityIncrement, collisionOffsetVelocityIncrement_FloatValue, collisionOffsetVelocityIncrement_Interp, collisionOffsetVelocityIncrement_Position, collisionOffsetVelocityMultiplier, collisionOffsetVelocityMultiplier_FloatValue, collisionOffsetVelocityMultiplier_Interp, collisionOffsetVelocityMultiplier_Position, displayHWEnvironment, doubleSided, extraSampleRate, featureDisplacement, ignoreHwShader, initialSampleRate, normalThreshold, opposite, smoothShading, textureThreshold

Long name (short name) Type Default Flags
ignoreHwShader (ih) bool false outputinputconnectablestorable
Wether or not the drawing of this surface ignores the hardware shader. If true, the default shader will be used instead of the hardware shader.
doubleSided (ds) bool true outputinputconnectablestorable
Is the surface double sided or not. If single sided, it can bring some memory reduction, and it will also obey the "opposite" flag
opposite (op) bool false outputinputconnectablestorable
Should the surface normals be flipped - only relevant when doubleSided is turned off
smoothShading (smo) bool true outputinputconnectablestorable
Does the surface have smooth shading - this is only relevant for polymesh
boundingBoxScale (bbs) float3 outputinputconnectablestorable
bounding box scale for displacement map.
boundingBoxScaleX (bscx) float 1.5 outputinputconnectablestorable
bounding box scale x for displacement map.
boundingBoxScaleY (bscy) float 1.5 outputinputconnectablestorable
bounding box scale y for displacement map.
boundingBoxScaleZ (bscz) float 1.5 outputinputconnectablestorable
bounding box scale z for displacement map.
featureDisplacement (fbda) bool true outputinputconnectablestorable
When true, use feature-based displacement algorithm for displacement-map.
initialSampleRate (dsr) integer 6 outputinputconnectablestorable
Number of samples per triangle edge.
extraSampleRate (xsr) integer 5 outputinputconnectablestorable
Number of extra samples taken when moving sample points
textureThreshold (fth) integer 0 outputinputconnectablestorable
Only a percentage of the largest texture feature will be captured.
normalThreshold (nat) float 30 outputinputconnectablestorable
Normals below the threshold angle will be averaged.
displayHWEnvironment (dhe) bool false outputinputconnectablestorablehidden
Specifies if the object is to display hardware environment maps in shaded mode. By default this flag is false.
collisionOffsetVelocityIncrement (covi) compound n/a arrayoutputinputconnectablestorable
This is to control cloth collision. We leave it here because the dynamic ramp attribute is not supported. See bug 218113.
collisionOffsetVelocityIncrement_Position (covip) float 0.0 outputinputconnectablestorable
Position of ramp value on normalized 0-1 scale
collisionOffsetVelocityIncrement_FloatValue (covifv) float 0.0 outputinputconnectablestorable
Ramp value at the sibling position
collisionOffsetVelocityIncrement_Interp (covii) enum 0 outputinputconnectablestorable
Ramp Interpolation controls the way the intermediate values are calculated. The values are:
None: No interpolation is done; the different colors just show up as different bands in the final texture. Linear: The values are interpolated linearly in RGB color space. Smooth: The values are interpolated along a bell curve, so that each color on the ramp dominates the region around it, then blends quickly to the next color. Spline: The values are interpolated with a spline curve, taking neighboring indices into account for greater smoothness.
collisionDepthVelocityIncrement (cdvi) compound n/a arrayoutputinputconnectablestorable
This is to control cloth collision. We leave it here because the dynamic ramp attribute is not supported. See bug 218113.
collisionDepthVelocityIncrement_Position (cdvip) float 0.0 outputinputconnectablestorable
Position of ramp value on normalized 0-1 scale
collisionDepthVelocityIncrement_FloatValue (cdvifv) float 0.0 outputinputconnectablestorable
Ramp value at the sibling position
collisionDepthVelocityIncrement_Interp (cdvii) enum 0 outputinputconnectablestorable
Ramp Interpolation controls the way the intermediate values are calculated. The values are:
None: No interpolation is done; the different colors just show up as different bands in the final texture. Linear: The values are interpolated linearly in RGB color space. Smooth: The values are interpolated along a bell curve, so that each color on the ramp dominates the region around it, then blends quickly to the next color. Spline: The values are interpolated with a spline curve, taking neighboring indices into account for greater smoothness.
collisionOffsetVelocityMultiplier (covm) compound n/a arrayoutputinputconnectablestorable
This is to control cloth collision. We leave it here because the dynamic ramp attribute is not supported. See bug 218113.
collisionOffsetVelocityMultiplier_Position (covmp) float 0.0 outputinputconnectablestorable
Position of ramp value on normalized 0-1 scale
collisionOffsetVelocityMultiplier_FloatValue (covmfv) float 0.0 outputinputconnectablestorable
Ramp value at the sibling position
collisionOffsetVelocityMultiplier_Interp (covmi) enum 0 outputinputconnectablestorable
Ramp Interpolation controls the way the intermediate values are calculated. The values are:
None: No interpolation is done; the different colors just show up as different bands in the final texture. Linear: The values are interpolated linearly in RGB color space. Smooth: The values are interpolated along a bell curve, so that each color on the ramp dominates the region around it, then blends quickly to the next color. Spline: The values are interpolated with a spline curve, taking neighboring indices into account for greater smoothness.
collisionDepthVelocityMultiplier (cdvm) compound n/a arrayoutputinputconnectablestorable
This is to control cloth collision. We leave it here because the dynamic ramp attribute is not supported. See bug 218113.
collisionDepthVelocityMultiplier_Position (cdvmp) float 0.0 outputinputconnectablestorable
Position of ramp value on normalized 0-1 scale
collisionDepthVelocityMultiplier_FloatValue (cdvmfv) float 0.0 outputinputconnectablestorable
Ramp value at the sibling position
collisionDepthVelocityMultiplier_Interp (cdvmi) enum 0 outputinputconnectablestorable
Ramp Interpolation controls the way the intermediate values are calculated. The values are:
None: No interpolation is done; the different colors just show up as different bands in the final texture. Linear: The values are interpolated linearly in RGB color space. Smooth: The values are interpolated along a bell curve, so that each color on the ramp dominates the region around it, then blends quickly to the next color. Spline: The values are interpolated with a spline curve, taking neighboring indices into account for greater smoothness.