Vizard 8 » Command Index » Vizard objects » node3d » <node3d>.shininess
8.1

<node3d>.shininess

Set how shiny the node should be

<node3d>.shininess(  
val  
node = ''  
op = viz.OP_DEFAULT # keyword argument
)  
val
Shininess of the material. Must be in the range [0,128]. The shininess affects the sharpness of the specular highlights. The higher the value, the sharper the highlight.
node = ''
Name of sub-node to apply changes to
op = viz.OP_DEFAULT
Can be viz.OP_DEFAULT to use the nodes default op mode or a combination of the following values:

Op modes

viz.OP_TRAVERSE

When performing an operation on a node, traverse the entire subgraph and process all subnodes as well. This is the default value.

viz.OP_OVERRIDE

When applying attributes, have them override attributes of subnodes.

viz.OP_ROOT

When performing an operation on the node, start at the root transform of the node, instead of the model. Processing the root will include all child Vizard nodes.

Remarks

The shininess is the amount of the node's surface that is devoted to highlights.

Return Value

None

Example

node.shininess( .5 )

See also

<node3d>.specular