Difference between revisions of "Viewport"

From Serious Sam Wiki
Jump to: navigation, search
m (added category)
m (added category)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==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 the central editing element of the Serious Editor. It projects map related data in the current view for fast editing access.
  
Line 5: Line 4:
 
*examining the current status of the project,
 
*examining the current status of the project,
 
*editing position, rotation, stretch, range, and target of displayed items (Viewport editing),
 
*editing position, rotation, stretch, range, and target of displayed items (Viewport editing),
*selecting displayed items to show their properties in the Properties group (Properties group 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).
 
*applying tools to displayed items (Command bar group editing).
  
==Viewport Navigation==
+
For more information see
The Viewport can be navigated in two different ways:
+
*[[Viewport Navigation]]
 +
*[[Viewport View Options]]
 +
*[[Viewport Render Controls]]
  
===Fly mode===
+
[[Category:GUI]][[Category:Viewport]][[Category:WIP]]
Pressing {{key|Esc}} activates/deactivates the Fly mode. In this mode the Viewport is navigated by the use of
+
*{{key|W}}: Forward;
+
*{{key|S}}: Back;
+
*{{key|A}}: Left;
+
*{{key|D}}: Right.
+
 
+
Fly speed can be adjusted by moving the {{key|mmb}}
+
*Forward: Faster;
+
*Backwards: Slower.
+
 
+
{{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:
+
[[File:Viewport CameraNavigation Illustration.png|frame|link=|Illustration of Viewport navigation parameters.<br />- Axes meet in the view origin.<br />- View focus is on the negative part of the z axis. <br />- 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 {{key|Space|lmb}} 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.
+
{{box|{{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 {{key|Space|rmb}} 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 {{key|Space|lmb|rmb}} 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.
+
 
+
{{box|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 {{key|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 {{key|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
+
:*{{key|Ctrl|Space|lmb}}: changes the view focus to the selected point and adjusts the view origin in relation while zomming in one step.
+
:*{{key|Ctrl|Space|rmb}}: changes the view focus to the selected point and adjusts the view origin in relation while zomming out one step.
+
 
+
[[Category:Gui]][[Category:WIP]]
+

Latest revision as of 12:19, 7 May 2016

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).

For more information see