Back to ppModeler.

# Material properties

The configuration of the material is
This window allows the user to select the type of material for the selected part (object, faces).

## Flat and phong material

For flat or phong shading, the configurations are the sames. Ambient gives the minimum light power receive by the object (or faces). Diffuse gives the reflected part rceive from a light. Specular gives the reflected part from other objects. The color can be change with the color button, and the select color window.

## texture material

### For an object or a group of faces

For a group of faces (an object is concidered here as all its faces), you need a way to map the texture on the faces. ppModeler provides three mapping functions :

- plane projection
- cylindrical projection
- spherical projection

The following window allows the user to choose amoung this three possible mappings.
EXPLAIN THE MAPPINGS.

Then ppModeler opens a window whitch allows the configuration of the selected mapping. The three windows have the same layout.
Load : Opens the texture selection window in oder to select o new texture.
Draw : Draws the projected faces on the texture. The user can create a new texture in the texture selection window, then set the projection parameters and draw the projected faces on the window. The texture can then be edited, knowing where each faces is on the texture.
Rotate :
Translate :
Scale :
Ok : Applies the projection.
Cancel : Cancels the projection.
Change... : Change the material of the selected faces.

### For one face

For one face, the user can edit the uv mapping of each vertex. The left area shows the texture and the face draws on it. The right area give you a preview of the result.
If Proportionnal is on, you can move, scale and rotate the face position on the texture, but not edit the uv coordinates. Moving the face on the texture is done with the move handle, in the center of the projected face. Scaling and rotating the projected face is done with the action handle, in the bottom right of the projected face. Rotating or scaling is choosen with the Rotate or Scale radio button.
Symmetry changes the order in whitch the vertices are projected.
If Free is on, you can move the uv mapping of each vertex by dragging them.

Back to ppModeler.