Difference between revisions of "Hammer View Menu"

From Valve Developer Community
Jump to: navigation, search
 
m (Draw Materials Opaque: I added note about this function when you enable this in 3d textured render mode)
 
(44 intermediate revisions by 15 users not shown)
Line 1: Line 1:
[[Category:Level Design]]
+
{{otherlang2
 +
|de=Hammer View Menu:de
 +
|ru=Hammer View Menu:ru
 +
}}
 +
[[Category:Hammer Menus|HMenu4_View]]
 
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.
 
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.
  
[[Image:hammer_viewmenu.jpg]]
+
[[Image:Hammer_viewmenu.png]]
  
=Screen Elements=
+
==Screen Elements==
  
This sub-menu gives you control over which toolbars and other elements are displayed on your Hammer desktop. Select and item to remove it from the display. Selecting it again will display the item again.
+
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.
  
[[Image:hammer_subviewmenu.jpg]]
+
[[Image:Hammer_viewsubmenu.png]]
  
=2D Window Options=
+
==Autosize 4 views <{{key|Ctrl}}+{{key|A}}>==
  
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.
+
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.
  
The items '''2D XY, 2D YZ''', and '''2D XZ''' 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.
+
{{note|This command has no effect when the "[[Hammer_General_Options|Use independent window configurations]]" option is enabled.}}
  
'''Tip:''' XY is the top-down view. YZ views from the side. XZ is the front.
+
==2D Window Options==
  
=3D 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.
  
There are three 3D view options available – '''Wireframe, Filled Polygons''', and '''Textured Polygons'''. These options control which 3D mode is used when the 3d preview window is shown.
+
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.
  
Here is a cube drawn in each of the 3d modes:
+
{{tip|X/Y is the top-down view, Y/Z is the front view, and X/Z is the side view.}}
  
[[Image:hammer_3dmodes.jpg]]
+
==3D Window Options==
  
=Autosize 4 views        Shortcut: CTRL+A=
+
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.}}
 +
[[Image:hammer_3dmodes.jpg|frame|left|A cube drawn with the first three rendering modes.]]{{clr}}
  
This will divide the available desktop space into four equal portions for the 3D view and three 2D windows.
+
==Center Views on Selection <{{key|Ctrl}}+{{key|E}}>==
 
 
=Center Views on Selection       Shortcut: CTRL+E=
 
  
 
Choosing this function will center all of the 2D views on the center of the currently selected object(s).
 
Choosing this function will center all of the 2D views on the center of the currently selected object(s).
  
=Center 3D Views on Selection       Shortcut: CTRL+SHIFT+E=
+
==Center 3D Views on Selection <{{key|Ctrl}}+{{key|Shift}}+{{key|E}}>==
  
 
Choosing this function will center the 3D view on the center of the currently selected object(s).
 
Choosing this function will center the 3D view on the center of the currently selected object(s).
  
=Go to Coordinates...=
+
==Go to Coordinates...==
 +
 
 +
Centers the viewports on the coordinates typed into the [[Hammer_Go_To_Coordinates|Go to Coordinates]] dialog box after pressing OK.
 +
 
 +
==Go to Brush Number... <{{key|Ctrl}}+{{key|Shift}}+{{key|G}}>==
  
Centers the viewports on the coordinates typed into the Go to Coordinates dialog box after pressing OK.
+
Centers the viewports on the brush number typed into the [[Hammer_Go_To_Brush_Dialog|Go to Brush Number]] dialog box after pressing OK.
  
=Go to Brush Number...=
+
==Show Connections==
  
Centers the viewports on the brush number typed into the Go to Brush Number dialog box after pressing OK.
+
[[Image:hammer_showconnections.jpg|right|thumb|300px|An entity and its target with Show Connections enabled.]]
  
=Show Connections=
+
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.}}<br style="clear:both">
  
Selecting this option will toggle on and off visible connection between entities that are linked by <i>target</i> and <i>targetname</i> values.
+
==Show Helpers==
  
[[Image:hammer_showconnections.jpg]]
+
[[Image:hammer_object_helpers.png|right|frame|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.
  
=Show Connections=
+
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.
  
Selecting this option will toggle on and off visible connection between entities that are linked by target and targetname values.
+
See the [[List of entities]] for more information about specific entities.{{clr}}
  
=Show Helpers=
+
==Show Models in 2D==
  
Turns on and off the display of entity helpers for entities that have them. Example include the light cones on <code>point_spotlight</code>, or the fade distances on <code>prop_static</code>. See the Entity Guide for more information about specific entities.
+
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=
+
==Hide Items==
  
 
Selecting '''Hide Items''' hides all point entities from view and, when selected again, returns the entities to view.
 
Selecting '''Hide Items''' hides all point entities from view and, when selected again, returns the entities to view.
  
=Hide Paths=
+
==Hide Entity Names==
 +
 
 +
Turns on and off the display of entity names for all entities in the 2D Views.
  
This will toggle on and off the visibility of paths lines between path entities such as <code>path_corner</code> and <code>path_track</code>.
+
==QuickHide Objects <{{key|H}}>==
  
=Hide Entity Names=
+
This command hides the selected objects.
  
Turns on and off the display of entity names for all entities in the 2D Views.
+
==QuickHide Unselected Objects <{{key|Ctrl}}+{{key|H}}>==
 +
 
 +
This command hides all the unselected objects.
  
=Hide selected objects=
+
==Unhide QuickHide Objects <{{key|U}}>==
  
This command hides the selected objects invisible 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.
+
This command unhides all the hidden objects.
  
For more information on using '''VisGroups''', see Grouping and Visgrouping, New VisGroup, and Filter Control Bar.
+
==Convert QuickHide objects to VisGroup==
  
=Show hidden objects=
+
This command allows you to convert all hidden objects to new [[VisGroup]].
 +
{{note| New VisGroup will called "'''_FromQuickHide(there's number of converted objects)'''"}}
  
This function makes all hidden VisGroups visible.
+
==Move Selection to VisGroup==
 +
Moves any object selected with another object's visgroup, into that group.
  
=Draw Materials Opaque=
+
==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.
 
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.
 +
{{note|If you are in '''3D Textured''' render mode then when you enable this function everything will goes black, to fix it just do some action, for example select '''Selection Tool''' by pressing {{key|Shift}} + {{key|S}}. }}
 +
 +
==HDR==
 +
Currently this option doesn't work.

Latest revision as of 02:04, 24 June 2020

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.png 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.png 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.png 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.png 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.

QuickHide Objects <H>

This command hides the selected objects.

QuickHide Unselected Objects <Ctrl+H>

This command hides all the unselected objects.

Unhide QuickHide Objects <U>

This command unhides all the hidden objects.

Convert QuickHide objects to VisGroup

This command allows you to convert all hidden objects to new VisGroup.

Note.png Note:  New VisGroup will called "_FromQuickHide(there's number of converted objects)"

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.

Note.png Note: If you are in 3D Textured render mode then when you enable this function everything will goes black, to fix it just do some action, for example select Selection Tool by pressing Shift + S.

HDR

Currently this option doesn't work.