Hammer Face Edit Dialog

From Valve Developer Community
(Redirected from Face Edit tool)
Jump to navigation Jump to search
English (en)Deutsch (de)Русский (ru)中文 (zh)Translate (Translate)


Hammer faceeditdialog.png

Selecting the Texture Application Tool Hammer ToggleTextureApplication.png brings up the Face Edit Sheet dialog box. The Materials tab contains tools that are used to edit texture properties of objects on a per-face level. The Displacement tab contains tools to create and edit displacement geometry. See Face Edit, Displacements.

The Face Edit dialog allows you to manipulate the texture properties of selected brush faces. To select a brush face, click on it in the 3D view with the left mouse button. To select multiple faces, hold down the CTRL key while you do this. You can also select multiple brushes before selecting the Texture Application tool.

"Right-Click" Texture Application

A special feature of the Face Edit dialog is that of being able to apply the current texture to a brush face by right-clicking on that face.

While in Texture Application mode, you can select multiple faces of a brush by CTRL+clicking them, or you can select the entire brush by Shift+clicking one of the brush faces. Combine the two shortcuts by pressing CTRL+ Shift+LMB to add an entire brush to an existing selection.

Tip.pngTip:In order to make the textures match up from one face to the next, first align the texture on one of the faces, lift the texture from that face (LMB by default), then ALT+RMB on the other faces one by one. The texture should flow continuously across all the faces.

There are a number of texture attributes available in the Face Edit dialog:

Texture Scale (X/Y)

You can modify the scale of a texture to shrink or enlarge it. Numbers less than 1 shrink, and numbers greater than 1 enlarge. You can use negative values to mirror the texture in one or both axes. The mouse wheel can be used to cycle the value quickly.

Texture Shift (X/Y)

This simply allows you to shift the texture around in the X and/or Y planes. The mouse wheel can be used to alter the value quickly.

Note.pngNote:The shift values are in relation to the grid settings. It can be extremely helpful to align a brush first to the grid, then move the brush to its intended location with Texture Lock enabled.

Lightmap Scale

Sets the scale of the lightmaps, measured in world units per luxel. Lower numbers are smaller luxel sizes, therefore higher resolution. The default is 16. A value of 8 would give higher quality but more expensive lighting on the surface, and a value of 32 would give lower quality for less expensive lighting.

Rotation

Rotation allows you to rotate the texture on a brush face. The mouse wheel can be used to alter the value quickly.

Justify

There are six buttons you can press here: L (left), R (right), Fit (fit to face), T (top), B (bottom), and C (center on face). These allow you to quickly and easily align a texture on a brush.

Treat as one

If you have multiple faces selected, you can check this option to treat all the faces as one single face. This is especially useful if you are fitting a texture across multiple faces.

Align: World and Face

These checkboxes allow you to set the texture alignment style for the selected faces. World alignment causes textures to be aligned according to world coordinates. Face alignment uses the coordinates of the face as a basis for alignment.

Icon-Bug.pngBug:Sometimes a texture aligned to face will still show the "world" checkbox as checked. Clicking the "world" checkbox again will correctly align the texture to world.  [todo tested in?]

Texture Group

You can select which group of textures you want to use - either all of them, or individual texture WADs or Material folders.

Current Texture

The name of the current texture is displayed here, along with a thumbnail picture of the texture.

Hide Mask

If this button is toggled on, the selected brush face(s) will not appear as selected (with a reddish hue). This may make it easier to perform some texture manipulations.

Browse

Opens the Texture Browser window

Replace

This will bring up the Replace Textures dialog which allows you to search, mark or replace all textures of a certain type.

Apply

Applies the current settings to the selected faces

Mode

This lets you select what will happen when you click on a brush face with the left mouse button. The available options are Lift+Select, Lift, Select, Apply (texture only), Apply (texture + values), and Align to View.

  • Lift+Select - Clicking on a brush face in the 3D view will select that face and make it's texture the current texture.
  • Lift - Clicking on a brush face will make it's texture the current texture without selecting the face.
  • Select - Clicking on a brush face will select that face without changing the current texture.
  • Apply (texture only) - Clicking on a brush face will apply the current texture to that face without changing any of it's other properties.
  • Apply (texture + values) - Clicking on a brush face will apply the current texture and texture properties.
  • Align to View - This is like projecting a texture from the camera face, as if you were a slide projector and the texture is a slide. It's useful for painting a texture onto a cliff or other irregular things.

Smoothing Groups

Opens up the Smoothing Groups dialog to let you set the smoothing groups for the selected faces.

Texturing Individual Faces

To apply textures to individual faces of a brush:

  1. Click the Texture Application Tool to bring up the Face Edit dialog.
  2. In the 3D view, left-click on a face to select it. CTRL-click to add or remove faces from the current selection.
  3. Choose a texture from the Current Texture pop-up list, or click Browse to open the texture browser.
  4. Click Apply. The texture will be applied to the objects.
  5. Use the Scale, Shift, or Rotate buttons to modify how the texture is positioned on the objects.
  6. When you are finished, click on the Texture Application Tool to close the Face Edit dialog.

See also