View Navigation:ru

From Valve Developer Community
Revision as of 13:56, 5 September 2006 by KindDragon (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Меню первой комнаты To get a proper 3D perspective of your work, you will need to be able to control setting the 3D camera view.

This can be done in two ways: You can either use the keyboard to navigate through your map, or you can rig up cameras.

Keyboard/Mouse Navigation

Keyboard/mouse navigation will let you fly freely through the map while your mouse pointer is over the 3D view. You will not collide with anything while doing this. Just make sure not to stray too far from your work, or you might not find your way back to it again.

The basic keyboard controls are simple:

  • To move your position, use the W, A, S, and D keys. These work like the default in-game steering, moving your position up, left, down and right, respectively.
  • To change the direction you are facing, use the arrow keys.

To move and look using the mouse:

  • Press the Z key to enter "mouselook" mode. This toggles between arrow keys and mouse control. Press Z again to exit this mode and return to regular mouse control.
  • Hold down SPACE and then left-click in the 3D view to look around, and right-click to "dolly" the camera position. The mouse will return to normal when you release both the space bar and the mouse button.

If you haven't created any brushes yet, you can use the origin mark of the map (the meeting red, blue and green lines that you start at) for something to move around.

Creating a Camera

Select the camera.
Create a camera by dragging its position.

To set up a camera, select the red Camera Tool from the list of icons on the left side of the Hammer window by clicking on it.

Click and drag your mouse in a 2D view to create the camera, as shown to the right. The 3D view will change to the new camera, and the 2D windows will display your camera as a blue circle with a line leading from it.

You can change the position of the camera by dragging the blue circle around with the mouse in the 2D views, and where it will point by dragging the other end of the line around. The 3D view will update as the camera changes.

  • You can use the PageUp and PageDown keys to switch between any created cameras, if you've made more than one in the map.
  • The last selected camera is restored when you save the map and open it later.


Moving in the 2D views

Select Magnify.

You can use the Magnify Tool to zoom in and zoom out of the 2D viewports. First select the Magnify icon from the icon bar. Now left-click in a 2D viewport to increase the magnification, and right-click to zoom back out.

Once you've learned the basics, here are some shortcuts for moving in the 2D views:

  • If your mouse is equipped with a mouse wheel, you can use it instead to change the zoom level in all of the viewports: Forward will zoom in and backwards will zoom out.
  • Hold down SPACE and use the left mouse button to drag and quickly pan in 2D views.
  • The 1 through 0 (zero) keys zoom the window at different preset zoom levels.
  • The + and - keys on can be used to zoom in and out.

See Also

Hammer Viewports

Template:NavBar:ru Template:Otherlang:ru Template:Otherlang:ru:en