Difference between revisions of "SFM/The viewport"

From Valve Developer Community
< SFM
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
|noborder=true
 
|noborder=true
 
|ru=SFM/The viewport:ru
 
|ru=SFM/The viewport:ru
|en=SFM/The viewport
 
 
}}
 
}}
[[image:SFM_snap_Viewport.png|thumb|400px|right|观察视角]]
+
[[image:SFM_snap_Viewport.png|thumb|400px|right|The viewport]]
  
观察视角分为以下几个部分:
+
Areas of the viewport:
  
# 3D调节按钮
+
# 3D manipulator buttons
# 录放按钮(包括记录和播放)
+
# Playback buttons, including Record and Play
# 已激活摄影机按钮
+
# Active camera button
观察视角是您载入或卸载地图的地方,它也是您观看场景回放的地方。观察窗口里显示了您目前正在时间轴上播放的那一帧的情况,因此,每当您在时间轴上向前或向后移动时,它都会有所改变。
+
The viewport is where you load (or unload) your map, and it's also where you watch your scene's playback.  It displays the frame on the timeline that the playhead is currently on, so it updates as you scrub back and forth through the timeline.
{{Note|虽然在默认情况下只有一个观察视角,但是,您可以通过点击菜单栏的 '''Windows''' 按钮,再点击 '''Secondary Viewport''' 选项来添加第二个''观察视角''。您也可以通过点击菜单栏的 '''Windows''' 按钮,再点击 '''Layouts''' 选项来打开其他的观察视角。}}
+
{{Note|Although the default layout contains only one viewport, you can add a second one by clicking '''Secondary Viewport''' on the '''Windows''' menu.  You can also use a different layout by clicking '''Layouts''' on the '''Windows''' menu, and then selecting the layout you want; some layouts, like the Sound Editing one, contain two viewports.}}
  
位于观察视角右下角的已激活摄影机按钮显示出您正在使用的的[[SFM/Cameras overview:zh-cn|摄影机]]。(无论是场景摄影机还是工作摄影机)
+
The active camera button in the lower-right corner of the viewport indicates which [[SFM/Cameras overview|camera]] you're currently using:  either the scene camera or the work camera.
== 观察视角、时间轴和动画设计工具 ==
 
  
您可以在观察视角中选中动画控制选项,但必须达到以下条件:时间轴处于[[SFM/The Motion Editor:zh-cn|动作编辑模式]] 或 [[SFM/The Graph Editor:zh-cn|动画曲线编辑模式]],而且播放头必须在已选择的片段内。您无法在时间轴处于 [[SFM/The Clip Editor:zh-cn|剪辑模式]] 时在观察视角内选择控制选项。
+
== The viewport, the timeline, and the Animation Set Editor ==
  
另外,因为观察视角里显示的是播放头位于的那一帧,如果播放头不在目前已选中的片段里,由于 [[SFM/The Animation Set Editor:zh-cn|动画设计工具]] 只显示目前已选中的片段中的对象,您在观察视角中看到的可能和在动画设计工具中看到的不一致。如果这种情况发生了,您将无法在观察视角中选择控制选项,因为这些控制选项并没有在动画设计工具中激活。为了解决这个问题,请将播放头移动至已选择的片段内。
+
You can select animation controls in the viewport, but only under certain specific conditions:  with the timeline in [[SFM/The Motion Editor|Motion Editor]] or [[SFM/The Graph Editor|Graph Editor]] mode, and with the playhead inside the currently selected shot.  You can't select controls in the viewport if the timeline is in [[SFM/The Clip Editor|Clip Editor]] mode.
  
选中观察视角中的控制选项也会自动选中在动画设计工具中的相同选项,同时也会弹出 [[SFM/The Preset Slider panel and the Control Slider panel:zh-cn|滑块设置面板]]。当您拖动控制滑块时,您会在观察视角中看见该滑块控制的动画随之变化。
+
In addition, because the viewport displays the current frame that the playhead is on, the playhead may not be inside the currently selected shot, and the currently selected shot determines what's displayed in the [[SFM/The Animation Set Editor|Animation Set Editor]], what you see in the viewport may not correlate with what you see in the Animation Set Editor.  If this happens, you won't be able to select controls in the viewport, because they're not currently active in the Animation Set Editor.  To fix this, move the playhead inside the selected shot.
 +
 
 +
Selecting controls in the viewport automatically also selects them in the Animation Set Editor, and populates [[SFM/The Presets panel and the Controls panel|the Controls panel]] with them.  When you drag the control sliders, you'll see the control's animation update in the viewport.
  
 
== See also ==
 
== See also ==
* [[SFM/The Animation Set Editor:zh-cn|动画设计工具]]
+
* [[SFM/The Animation Set Editor|The Animation Set Editor]]
* [[SFM/The timeline:zh-cn|时间轴]]
+
* [[SFM/The timeline|The timeline]]
 
{{shortpagetitle}}
 
{{shortpagetitle}}
[[Category:Source Filmmaker:zh-cn]]
+
[[Category:Source Filmmaker]]

Latest revision as of 19:36, 17 September 2012

Русский
The viewport

Areas of the viewport:

  1. 3D manipulator buttons
  2. Playback buttons, including Record and Play
  3. Active camera button

The viewport is where you load (or unload) your map, and it's also where you watch your scene's playback. It displays the frame on the timeline that the playhead is currently on, so it updates as you scrub back and forth through the timeline.

Note:Although the default layout contains only one viewport, you can add a second one by clicking Secondary Viewport on the Windows menu. You can also use a different layout by clicking Layouts on the Windows menu, and then selecting the layout you want; some layouts, like the Sound Editing one, contain two viewports.

The active camera button in the lower-right corner of the viewport indicates which camera you're currently using: either the scene camera or the work camera.

The viewport, the timeline, and the Animation Set Editor

You can select animation controls in the viewport, but only under certain specific conditions: with the timeline in Motion Editor or Graph Editor mode, and with the playhead inside the currently selected shot. You can't select controls in the viewport if the timeline is in Clip Editor mode.

In addition, because the viewport displays the current frame that the playhead is on, the playhead may not be inside the currently selected shot, and the currently selected shot determines what's displayed in the Animation Set Editor, what you see in the viewport may not correlate with what you see in the Animation Set Editor. If this happens, you won't be able to select controls in the viewport, because they're not currently active in the Animation Set Editor. To fix this, move the playhead inside the selected shot.

Selecting controls in the viewport automatically also selects them in the Animation Set Editor, and populates the Controls panel with them. When you drag the control sliders, you'll see the control's animation update in the viewport.

See also