Difference between revisions of "SFM/The viewport"

From Valve Developer Community
< SFM
Jump to: navigation, search
(otherlang2)
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|The viewport]]
+
[[image:SFM_snap_Viewport.png|thumb|400px|right|观察视角]]
  
Areas of the viewport:
+
观察视角分为以下几个部分:
  
# 3D manipulator buttons
+
# 3D manipulator buttons 3D调节按钮
# 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|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.}}
+
{{Note|虽然在默认情况下只有一个观察视角,但是,您可以通过点击菜单栏的 '''Windows''' 按钮,再点击 '''Secondary Viewport''' 选项来添加第二个''观察视角''。您也可以通过点击菜单栏的 '''Windows''' 按钮,再点击 '''Layouts''' 选项来打开其他的观察视角。}}
  
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/Cameras overview:zh-cn|摄影机]]。(无论是场景摄影机还是工作摄影机)
 +
== 观察视角、时间轴和动画设计工具 ==
  
== The viewport, the timeline, and the Animation Set Editor ==
+
您可以在观察视角中选中动画控制选项,但必须达到以下条件:时间轴处于[[SFM/The Motion Editor:zh-cn|动作编辑模式]] 或 [[SFM/The Graph Editor:zh-cn|动画曲线编辑模式]],而且播放头必须在已选择的片段内。您无法在时间轴处于 [[SFM/The Clip 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 Animation Set Editor: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.
+
选中观察视角中的控制选项也会自动选中在动画设计工具中的相同选项,同时也会弹出 [[SFM/The Preset Slider panel and the Control Slider panel:zh-cn|滑块设置面板]]。当您拖动控制滑块时,您会在观察视角中看见该滑块控制的动画随之变化。
 
 
Selecting controls in the viewport automatically also selects them in the Animation Set Editor, and populates [[SFM/The Preset Slider panel and the Control Slider panel|the Control Slider 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|The Animation Set Editor]]
+
* [[SFM/The Animation Set Editor:zh-cn|动画设计工具]]
* [[SFM/The timeline|The timeline]]
+
* [[SFM/The timeline:zh-cn|时间轴]]
 
{{shortpagetitle}}
 
{{shortpagetitle}}
[[Category:Source Filmmaker]]
+
[[Category:Source Filmmaker:zh-cn]]

Revision as of 03:50, 30 August 2012

English Русский
观察视角

观察视角分为以下几个部分:

  1. 3D manipulator buttons 3D调节按钮
  2. 录放按钮(包括记录和播放)
  3. 已激活摄影机按钮

观察视角是您载入或写在地图的地方,他也是您观看场景回放的地方。观察窗口里显示了您目前正在时间轴上播放的那一帧的情况,因此,每当您在时间轴上向前或向后时,它都会有所改变。

Note:虽然在默认情况下只有一个观察视角,但是,您可以通过点击菜单栏的 Windows 按钮,再点击 Secondary Viewport 选项来添加第二个观察视角。您也可以通过点击菜单栏的 Windows 按钮,再点击 Layouts 选项来打开其他的观察视角。

位于观察视角右下角的已激活摄影机按钮显示出您正在使用的的摄影机。(无论是场景摄影机还是工作摄影机)

观察视角、时间轴和动画设计工具

您可以在观察视角中选中动画控制选项,但必须达到以下条件:时间轴处于动作编辑模式动画曲线编辑模式,而且播放头必须在已选择的片段内。您无法在时间轴处于 剪辑模式 时在观察视角内选择控制选项。

另外,因为观察视角里显示的是播放头位于的那一帧,如果播放头不在目前已选中的片段里,由于 动画设计工具 只显示目前已选中的片段中的对象,您在观察视角中看到的可能和在动画设计工具中看到的不一致。如果这种情况发生了,您将无法在观察视角中选择控制选项,因为这些控制选项并没有在动画设计工具中激活。为了解决这个问题,请将播放头移动至已选择的片段内。

选中观察视角中的控制选项也会自动选中在动画设计工具中的相同选项,同时也会弹出 滑块设置面板。当您拖动控制滑块时,您会在观察视角中看见该滑块控制的动画随之变化。

See also