View Navigation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Moved from Basic Construction.)
 
m (→‎Creating a Camera: The moved article never made it to its destination. I think they'll get how to use the camera without detailed directions.)
Line 24: Line 24:
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.
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, and where it will point by dragging the other end of the line around.
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 updates as the camera changes.


<br style="clear:both">
<br style="clear:both">

Revision as of 01:28, 15 February 2006


View Navigation

To get a proper 3D perspective of your work, you will need to control setting its 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 Navigation

Keyboard 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 controls are simple: The W, A, S and D keys works like the default in-game steering, moving your position up, left, down and right, while the arrow keys will steer the direction you're facing.

As you haven't created any brushes yet, you can use the maps origin mark for something to move around.

Creating a Camera

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

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

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 updates as the camera changes.


Magnify

Hammer magnifytool.jpg

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

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.