Hammer View Menu

From Valve Developer Community
Jump to: navigation, search
Deutsch

The purpose of the functions in this menu is to control what does and doesn't appear in the Hammer Editor's 3D and 2D views. For more ways to customize the appearance of Hammer, refer to the sections on the General Options, 3D View Options, and 2D Views Options.

Hammer viewmenu.png

Screen Elements

This sub-menu gives you control over which toolbars and other elements are displayed on your Hammer desktop. Select an item to remove it from the display. Selecting it again will display the item again.

Hammer viewsubmenu.png

Autosize 4 views <Ctrl+A>

This will restore the layout of the four viewports to the default if they have been resized -- the current map window is set to four equal sections.

Note:This command has no effect when the "Use independent window configurations" option is enabled.

2D Window Options

The Hammer working area is divided into four separate panes. Three of these are used to show the 2D views. The forth window contains a single 3D view.

The items 2D X/Y, 2D Y/Z, and 2D X/Z are three commands to select which 2D view is displayed in which window. Click in a 2D window pane to select it, then choose one of the three options to choose which 2D direction is displayed in that window. The default window settings have one window from each direction.

Tip:X/Y is the top-down view, Y/Z is the front view, and X/Z is the side view.

3D Window Options

There are six 3D view options available – 3D Wireframe, 3D Filled Polygons, 3D Textured Polygons and 3D Shaded Textured Polygons, as well as newly added 3D lighting preview and 3D raytrace preview. These options control which 3D mode is used when the 3D preview window is rendered.

Bug: 3D lighting preview and 3D raytrace preview do not function properly.
A cube drawn with the first three rendering modes.

Center Views on Selection <Ctrl+E>

Choosing this function will center all of the 2D views on the center of the currently selected object(s).

Center 3D Views on Selection <Ctrl+Shift+E>

Choosing this function will center the 3D view on the center of the currently selected object(s).

Go to Coordinates...

Centers the viewports on the coordinates typed into the Go to Coordinates dialog box after pressing OK.

Go to Brush Number... <Ctrl+Shift+G>

Centers the viewports on the brush number typed into the Go to Brush Number dialog box after pressing OK.

Show Connections

An entity and its target with Show Connections enabled.
Selecting this option will toggle on and off visible connection between entities that are linked by target and targetname values.
Note:This function is mostly obsolete with the entity I/O system in Source.

Show Helpers

Some entities selected with entity helpers enabled.

Turns on and off the display of entity helpers for entities that have them. The helpers are only displayed when the entity is selected.

Examples:

  • Light shape and parameters on point_spotlight.
  • Inner and outer fade distances on prop_static.
  • The start and end points of the hinge axis on a phys_hinge.
  • Origin helpers on any entities that have them.
See the List of entities for more information about specific entities.

Show Models in 2D

This setting renders wireframes of models in 2D viewports if enabled. If a model entity were selected, its model would be rendered completely, rather than as a wireframe.

Hide Items

Selecting Hide Items hides all point entities from view and, when selected again, returns the entities to view.

Hide Entity Names

Turns on and off the display of entity names for all entities in the 2D Views.

Hide Selected Objects

This command hides the selected objects by placing the objects into a new VisGroup. Upon activating the command, it will bring up the New Visgroup dialog to define the new VisGroup containing the selected objects. After creating the VisGroup, it will be immediately hidden.

For more information on using VisGroups, see Filter Control toolbar.

Move Selection to Visgroup

Moves any object selected with another object's visgroup, into that group.

Draw Materials Opaque

Disables transparent rendering of all materials in the 3D Views. Can be useful to select and sort objects in the scene, and improve rendering speed of complex scenes on lower-end systems.

HDR

Currently this option doesn't work.