/*!
\page material_page Material
\n You can change the material properties of the selected shape(s) by
- choosing one of predefined global materials,
- choosing one of predefined user materials,
- creating a new user material and applying it to the selected shape(s)
in the following dialog box.
\image html material.png
Set Material Properties dialog
With help of Set Material Properties dialog it is possible to set
materials of the selected shape(s).
This functionality is available in OCC and VTK viewers.
\anchor material
User can changed the following material properties
- ambient color and coefficient
- diffuse color and coefficient
- specular color and coefficient
- emission color and coefficient (available only in OCC viewer), which simulate light originating from an object.
- shininess
- type of material: Physical these materials will not allow modification of color attributes (gold, aluminium, bronze, etc.);
Artificial these materials will allow modification of color attributes (plastic, satin, metall, etc.)
\n All currently available materials are shown in the left-side list box
of the Set Material Properties dialog.
- [Current] item in the list corresponds to the material
currently used for the selected shape(s)
- [Default] item in the list corresponds to the front/back material
specified in Geometry module preferences
- Global materials are shown in blue color in the list
- User materials are shown in black color in the list
\n If user tries to change a global material, it
creates a new user material basing on selected one in the left-side list box.
User materials allow changes without creating a new one.
Hot keys for the User materials:
- "Delete" key delete the selected material from list box
- "F2" key allow to rename selected material
Examples:
\image html material_OCC.png
Different materials in OCC viewer
\image html material_VTK.png
Different materials in VTK viewer
*/