Your Ad Here

Go to: Related nodes. Attributes.

        This node contains shading and tube dynamics attributes
        that are used by stroke nodes for Maya Particle Paint.

Node nameParentsClassificationMFn typeCompatible function sets
brushdependNodebrushkBrushkBase
kNamedObject
kDependencyNode
kBrush

Related nodes

strokeGlobals, stroke

Attributes (371)

Attribute quick index omitted (too many attributes to show them all).

Long name (short name)TypeDefaultFlags
outBrush (obr) dynBrushNULLoutputconnectable
output brush data for use by stroke nodes
time (tim) time0filmoutputinputconnectablestorablekeyable
time value for animated effects
globalScale (gsc) double1.0outputinputconnectablestorablekeyable
Scales all effects
depth (dep) boolfalseoutputinputconnectablestorablekeyable
whether or not to use zbuffered occusion
modifyDepth (mdp) booltrueoutputinputconnectablestorablekeyable
whether or not to write into the zbuffer( only if depth is ON )
modifyColor (mdc) booltrueoutputinputconnectablestorablekeyable
whether or not to write into r,g,b
modifyAlpha (mda) booltrueoutputinputconnectablestorablekeyable
whether or not to write into the alpha channel
illuminated (ill) boolfalseoutputinputconnectablestorablekeyable
Use lights for shading.
castShadows (csd) boolfalseoutputinputconnectablestorablekeyable
make brush strokes appear in depth map shadows
lightingBasedWidth (lbw) double0.0outputinputconnectablestorablekeyable
The tube width is scaled by the diffuse light intensity. Brighter regions will be thinner. Shadowed and dark regions will have full width tubes. Using negative values can have the reverse effect. The lighting used is a diffuse illumination that is relative to the local surface normal painted on by the stroke.
branches (brc) boolfalseoutputinputconnectablestorablekeyable
split tubes into branches
twigs (twg) boolfalseoutputinputconnectablestorablekeyable
create twigs as offshoots on branches
buds (bud) boolfalseoutputinputconnectablestorablekeyable
create bud swellings at the tips of branches and twigs
leaves (lvs) boolfalseoutputinputconnectablestorablekeyable
create leaves on branches and twigs
flowers (flw) boolfalseoutputinputconnectablestorablekeyable
create flower petals on branches, twigs and buds
brushType (brt) enum0outputinputconnectablestorablekeyable
Method used for brushstamp rendering 0 - Paint Brush 1 - Smear Brush 2 - Blur Brush 3 - Erasor Brush 4 - Thin Line Brush 5 - Triangle Mesh Tube
brushWidth (bwd) double0.05outputinputconnectablestorablekeyable
the worldspace width of the brushstroke
screenspaceWidth (spw) boolfalseoutputinputconnectablestorablekeyable
whether or not to make the line width constant for different depths from the view
distanceScaling (dsl) double0.0outputinputconnectablestorablekeyable
This controls the amount that the distance from the eye affects the tube width when screenSpace width is enabled. At a value of 0.0 the width is constant while at a value of 1.0 it behaves as if screenspace width is OFF.
minPixelWidth (mpw) double0.0outputinputconnectablestorablekeyable
When screenspace width is enabled this controls the smallest width a stroke can be in pixels. It is useful for toon lines when one wishes to avoid very thin lines.
maxPixelWidth (mxp) double1000.0outputinputconnectablestorablekeyable
When screenspace width is enabled this controls the largest width a stroke can be in pixels. It is useful for toon lines when one wishes to avoid very fat lines.
stampDensity (sdn) double8.0outputinputconnectablestorablekeyable
the spacing of stamps relative to brush width
softness (sft) double0.2outputinputconnectablestorablekeyable
control for brush edge blurring
edgeAntialias (eaa) booltrueoutputinputconnectablestorablekeyable
EdgeAntialias determines whether or not to antialias brushstroke edges. Note that this does not affect paint or render speed and should be left on unless hard jagged edges are desired.
edgeClip (ecl) boolfalseoutputinputconnectablestorablekeyable
EdgeClip allows one to make 3D strokes render as if they are painted directly onto a surface's texture. The edgeClipDepth attribute controls how far in front of a surface the stroke can be before it becomes invisible. Thus 3D strokes that sit close to an objects surface can be seen if the surface is behind them, but not if the surface edge is in profile.
edgeClipDepth (ecd) double0.1outputinputconnectablestorablekeyable
EdgeClipDepth controls how close an object behind a stroke must be in order for the stroke to be visible.
occlusionWidthScale (ows) boolfalseoutputinputconnectablestorablekeyable
OcclusionWidthScale scale stamp size down based on overlap by forground objects. The full stamp is always drawn, avoiding antialias problems where occluded by non-paint effects forground objects. The size of the stamp is reduced to zero (and thus hidden) when the entire stamp is occluded.
blurIntensity (bin) integer4outputinputconnectablestorablekeyable
number of iterations of the blur filter each stamp
color1 (cl1) float3outputinputconnectablestorable
input color
color1R (c1r) float0.0outputinputconnectablestorablekeyable
color1 Red value
color1G (c1g) float0.0outputinputconnectablestorablekeyable
color1 Green value
color1B (c1b) float0.0outputinputconnectablestorablekeyable
color1 Blue value
color2 (cl2) float3outputinputconnectablestorable
input color for tube ends
color2R (c2r) float1.0outputinputconnectablestorablekeyable
color2 Red value
color2G (c2g) float1.0outputinputconnectablestorablekeyable
color2 Green value
color2B (c2b) float1.0outputinputconnectablestorablekeyable
color2 Blue value
transparency1 (tn1) float3outputinputconnectablestorable
input color transparency
transparency1R (t1r) float0.0outputinputconnectablestorablekeyable
transparency1 Red value
transparency1G (t1g) float0.0outputinputconnectablestorablekeyable
transparency1 Green value
transparency1B (t1b) float0.0outputinputconnectablestorablekeyable
transparency1 Blue value
transparency2 (tn2) float3outputinputconnectablestorable
input color transparency for tube end
transparency2R (t2r) float0.0outputinputconnectablestorablekeyable
transparency2 Red value
transparency2G (t2g) float0.0outputinputconnectablestorablekeyable
transparency2 Green value
transparency2B (t2b) float0.0outputinputconnectablestorablekeyable
transparency2 Blue value
incandescence1 (in1) float3outputinputconnectablestorable
input incandescence (color addition)
incandescence1R (i1r) float0.0outputinputconnectablestorablekeyable
incandescence1 Red value
incandescence1G (i1g) float0.0outputinputconnectablestorablekeyable
incandescence1 Green value
incandescence1B (i1b) float0.0outputinputconnectablestorablekeyable
incandescence1 Blue value
incandescence2 (in2) float3outputinputconnectablestorable
input incandescence for tube end
incandescence2R (i2r) float0.0outputinputconnectablestorablekeyable
incandescence2 Red value
incandescence2G (i2g) float0.0outputinputconnectablestorablekeyable
incandescence2 Green value
incandescence2B (i2b) float0.0outputinputconnectablestorablekeyable
incandescence2 Blue value
specularColor (spc) float3outputinputconnectablestorable
input color for specular highlights
specularColorR (spr) float1.0outputinputconnectablestorablekeyable
specular Red value
specularColorG (spg) float1.0outputinputconnectablestorablekeyable
specular Green value
specularColorB (spb) float1.0outputinputconnectablestorablekeyable
specular Blue value
specular (spe) double0.0outputinputconnectablestorablekeyable
intensity of specular highlights
specularPower (spp) double10.0outputinputconnectablestorablekeyable
focus or size of specular highlights
translucence (trn) double0.2outputinputconnectablestorablekeyable
blend factor between translucent and lambertian shading
glow (glw) double0.0outputinputconnectablestorablekeyable
intensity of glow effect
glowColor (glc) float3outputinputconnectablestorable
input color for glow
glowColorR (glr) float0.5outputinputconnectablestorablekeyable
glow Red value
glowColorG (glg) float0.5outputinputconnectablestorablekeyable
glow Green value
glowColorB (glb) float0.5outputinputconnectablestorablekeyable
glow Blue value
glowSpread (gls) double3.0outputinputconnectablestorablekeyable
amount to scale brush size by for glow stamp
shaderGlow (sgl) double0.0outputinputconnectablestorablekeyable
intensity of post render shaderglow effect
hueRand (chr) double0.0outputinputconnectablestorablekeyable
random deviation in hue of tubes
satRand (csr) double0.0outputinputconnectablestorablekeyable
random deviation in color saturation of tubes
valRand (cvr) double0.0outputinputconnectablestorablekeyable
random deviation in brighness value of tubes
rootFade (rfd) double0.0outputinputconnectablestorablekeyable
distance from base of tube at which it becomes fully visible
tipFade (tfd) double0.0outputinputconnectablestorablekeyable
distance from end of tube at which it becomes fully visible
fakeShadow (fks) enum0outputinputconnectablestorablekeyable
create 3D surface shadow simulation or simple 2D dropshadow 0 - none 1 - 2D offset shadow 2 - 3D simulated cast shadow
shadowOffset (sof) double0.5outputinputconnectablestorablekeyable
2D drop shadow offset
shadowDiffusion (sdf) double0.1outputinputconnectablestorablekeyable
the softness of fake shadows
shadowTransparency (stn) double0.8outputinputconnectablestorablekeyable
visibility of simulated shadows
backShadow (bks) double0.0outputinputconnectablestorablekeyable
shadow strokes on awayfacing side of parent surface
brightnessRand (brn) double0.0outputinputconnectablestorablekeyable
randomization of tube brightness
centerShadow (cns) double0.0outputinputconnectablestorablekeyable
shadow from brushstamp center
depthShadowType (dpt) enum0outputinputconnectablestorablekeyable
define shadow as depth from surface, or distance from path 0 - Surface Depth 1 - Path Dist
depthShadow (dpl) double0.0outputinputconnectablestorablekeyable
darkness of the depth shadow
depthShadowDepth (dps) double0.0outputinputconnectablestorablekeyable
shadow offset distance
realLights (rll) boolfalseoutputinputconnectablestorablekeyable
illuminate using light nodes
lightDirection (ldr) double3outputinputconnectablestorablekeyable
direction of simple directional lightsource
lightDirectionX (ldx) double0.5outputinputconnectablestorablekeyable
X value for light direction
lightDirectionY (ldy) double0.5outputinputconnectablestorablekeyable
Y value for light direction
lightDirectionZ (ldz) double-0.5outputinputconnectablestorablekeyable
Z value for light direction
gapSize (gsz) double0.0outputinputconnectablestorablekeyable
size of gaps relative to gapSpacing (1 = all hole)
gapSpacing (gsp) double1.0outputinputconnectablestorablekeyable
separation of gaps along stroke
gapRand (grn) double0.0outputinputconnectablestorablekeyable
random offset along tubes for gaps
flowSpeed (fws) double0.0outputinputconnectablestorablekeyable
speed of flow down brush path: affects gaps, twist and texture
textureFlow (tfl) booltrueoutputinputconnectablestorablekeyable
move texture with flow defined by flowspeed. In general this is best turned off for growth animations, but is useful when one want a texture, particularily a displacement, to flow down the tubes.
timeClip (tcl) boolfalseoutputinputconnectablestorablekeyable
bound tubes with a start and end time( tube treated as a flow )
strokeTime (srm) boolfalseoutputinputconnectablestorablekeyable
add in the path steps to time used for clipping.
startTime (sti) double0.0outputinputconnectablestorablekeyable
start time bound for tubes and path
endTime (eti) double1000.0outputinputconnectablestorablekeyable
end time bound for tubes and path
tubes (tub) boolfalseoutputinputconnectablestorablekeyable
generate dynamic tubes along path
creationScript (csc) stringNULLoutputinputconnectablestorable
the name of a mel script to use for tube generation
runtimeScript (rsc) stringNULLoutputinputconnectablestorable
the name of a mel script called at each step in the simulation to shape the flow and behavior of tubes
tubeCompletion (tcm) booltrueoutputinputconnectablestorablekeyable
run dynamic simulation until all tubes are at their final length
tubesPerStep (tps) double0.5outputinputconnectablestorablekeyable
number of tubes generated for every new point along path
tubeRand (trd) double1.0outputinputconnectablestorablekeyable
randomization of tube generation
startTubes (stb) integer0outputinputconnectablestorablekeyable
number of tubes created at beginning of path
lengthMax (lnx) double1.0outputinputconnectablestorablekeyable