Viewport

From Serious Sam Wiki
Revision as of 06:57, 7 May 2016 by Innocentive (Talk | contribs) (added view controls)

Jump to: navigation, search

Introduction

The Viewport is the central editing element of the Serious Editor. It projects map related data in the current view for fast editing access.

The Viewport is mainly used for

  • examining the current status of the project,
  • editing position, rotation, stretch, range, and target of displayed items (Viewport editing),
  • selecting displayed items to show/edit their properties in the Properties group (Properties group editing),
  • applying tools to displayed items (Command bar group editing).

Viewport Controls

View options

The view options of the viewport are located in the bar at the top of the viewport.

Viewport ViewOptions.png

1. Projection: controls projection of the Viewport:

Top
2D projection along Y axis from Y+
Bottom
2D projection along Y axis from Y-
Back
2D projection along Z axis from Z+
Front
2D projection along Z axis from Z-
Right
2D projection along X axis from X+
Left
2D projection along X axis from X-
Perspective
3D projection
Orthographic
Orthographic 3D projection

2. Selection Display: controls different features according to the active editor.

3. Field of View: controls the angle of the field of view.

4. Exposure Value: controls the exposure value of the projection.

Screenshot of Setings dropdown menu, Serious Editor 4.0.

5. Settings: controls viewport settings:

View grid
Defines if the grid lines on the x/z plane are displayed.
View backdrop image
To do: Add description
Backdrop image tools
The Backdrop image configurator actrivates the BackgroundConfigurator tool. To do: Add further description or provide link to Configure Background tool.
View custom lighting
To do: Add description
Probe in background
To do: Add description
Lighting tools
  • Light configurator:
Activates the LightConfigurator tool.
  • Set light target:
Sets the current view focus as light target.
Auto QuickDraw
Defines if Quickdraw is activated automatically.
Force QuickDraw
Forces activation of QuickDraw.
Configure QuickDraw...
Opens the QuickDraw configuration Dialog.
Configure view options...
Opens the Modify settings of active view Dialog.

6. Render Settings: controls the Rendering Settings.

Viewport Navigation

The Viewport can be navigated in two different ways:

Fly mode

Pressing Esc activates/deactivates the Fly mode. In this mode the Viewport is navigated by the use of

  • W: Forward;
  • S: Back;
  • A: Left;
  • D: Right.

Fly speed can be adjusted by moving the MMB.png

  • Forward: Faster;
  • Backwards: Slower.

Info 16x16.png Note: Fly mode deactivates all other controls of the Serious Editor. While activated the only option is to navigate the Viewport.

Seamless mode

In order to understand the Viewport navigation that goes hand in hand seamlessly with editing it is important to understand some basics first:

Illustration of Viewport navigation parameters.
- Axes meet in the view origin.
- View focus is on the negative part of the z axis.
- x/y plane (yellow) and x/z plane (yellow) can be navigated.

The view of the Viewport can be understood as a camera that points into the scene (see image on the right). For purposes of Viewport navigation, what appears in the view is defined by two parameters:

View origin
The position of the camera in 3D space. View origin is the point where all three axes meet in the right image.
View focus
The position of a target point in 3D space. View focus is not illustrated in the image on the right but the view focus is positioned on the negative part of the z axis.

Now that this is out of the way let's focus on navigating. Navigating the Viewport is nothing but changing the view origin. This can be achieved be either changing the view origin itself which, in some cases, will also change the view focus, or by changing the view focus which will always change the view origin.

There are three basic ways to directly change the view origin:

Panning
Moves the view origin on the x/y plane (yellow). Press/hold Space+LMB.png and move the mouse
  • foward/back: moves the view origin up/down on the y axis.
  • left/right: moves the view origin left/right on the x axis.
Info 16x16.png Note: Panning speed is defined by the distance between view origin and view focus: The closer the view origin is located to the view focus the slower mouse movement is translated to the view origin.
Zooming/Panning
Moves the view origin on the x/z plane (magenta). Press/hold Space+RMB.png and move the mouse
  • foward/back: moves the view origin forward/back on the z axis (zooming).
  • left/right: moves the view origin left/right on the x axis (panning).
Rotating
Moves the the view origin around the view focus. Press/hold Space+LMB.png+RMB.png and move the mouse
  • foward/back: rotates the view origin up/down along the longitude lines of a sphere that has the view focus as origin.
  • left/right: rotates the view origin left/right along the latitude lines of a sphere that has the view focus as origin.
Note how panning does not only change view origin but also view focus. If the view origin is changed on x or y axis view focus changes in relation to that.

There are three ways to change the view focus and, in consequence, view origin. All of these ways set a new view focus but the view origin is adjusted in different ways:

Centering
Select the item you want to focus on in the Viewport and press ⇧ Shift+C. The view focus is changed to the center of the selected item and view origin is changed relative to the change of the view focus.
Aligning
Select the item you want to focus on in the Viewport and press A. The view focus is changed to the center of the selected item and view origin is basically adjusted in relation to the view focus change but the distance between view origin and view focus is changed to one meter.
Zooming
Move mouse to the point you want to focus on and press
  • Ctrl+Space+LMB.png: changes the view focus to the selected point and adjusts the view origin in relation while zomming in one step.
  • Ctrl+Space+RMB.png: changes the view focus to the selected point and adjusts the view origin in relation while zomming out one step.