MGED CMD mater


[edit] mater

Contents


[edit] Syntax

mater combination [shader_parameters[RGB [inheritance]]]


[edit] Argument(s)

combination
Combination to have shader values set/adjusted
shader_parameters
shader specific parameters
RGB
Red Green and Blue color Values. Valid Range: 0-255.
Inheritance
Overrides shader settings in all objects lower in the tree.


[edit] Return Value(s)

No Return Values for this command.


[edit] Description

The "mater" command assigns shader parameters, RGB color, and inheritance to an existing combination. The information may be included on the command line; otherwise the user will be prompted for it. Some available shaders are:



[edit] Example(s)

mged> mater region1 "plastic {tr 0.5 re 0.2}" 210 100 100 0
Set region1 to use the plastic shader with 50% transparency, 20% reflectivity, a base color of (210 100 100), and inheritance set to 0.


[edit] See Also

MGED Glossary

Page Generated by David Loman on: 10/11/2007 at: 1:50:30 PM