User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mapping:cawe:editingtools:camera [2007-10-05 17:09]
Joern created
mapping:cawe:editingtools:camera [2013-01-07 12:07] (current)
Line 3: Line 3:
 {{mapping:​cawe:​editingtools:​cawe_toolbar_camera.png?​80 }} {{mapping:​cawe:​editingtools:​cawe_toolbar_camera.png?​80 }}
  
-A camera ​is simply an eye position and a viewing angle that decides ​in which direction ​the eye is looking.+In section [[mapping:​cawe:​views]] we have explained how 2D and 3D views work and how you use them to explore and navigate the map. 
 +We have also mentioned (albeit briefly) that each 3D view has a "​camera"​ assigned: 
 +A camera ​specifies a viewer //origin// (sometimes also called "eye position"​) ​and an //​orientation//​ ("​direction"​). When you use the mouse or keyboard to look, move, pan, zoom or orbit in 3D view, you actually manipulate the related camera position and orientation,​ and the 3D view in turn uses the updated camera details to update the scene rendering.
  
-The 3D view of CaWE needs a camera ​to decide what part of the level geometry to display.+We believe that the mouse and keyboard camera controls ​of section [[mapping:​cawe:​views]] are so powerful and easy to use that you will use them virtually all the time.
  
-Since CaWE has always a 3D viewthere has to be at least one camera ​in each map+The purpose of the Camera tool is to add the less frequently needed extras: 
 +You can create new cameras (and assign them in turns to 3D views)and edit their origins and orientations ​in the 2D views.
  
-The Camera tool allows to create additional cameraschange their position and viewing angle and switch between them.+To activate the Camera tool, click on the related icon in the tool bar or press ''​Shift+C''​.
  
-Using more than one camera makes it possible to "​save"​ a certain camera position and return to it later and therefore makes navigation in big map a lot easier. 
  
-To activate the Camera ​tool, click on the related icon in the tool bar or press ''​SHIFT+C''​.+===== Camera ​display ​in 2D views =====
  
-===== Creating ​a camera ​=====+{{:​mapping:​cawe:​editingtools:​cameras_2d_tool_other.png |Cameras in 2D view when a tool other than the Camera tool is active. The  most recently used camera ​is highlighted.}} When a tool other than the Camera tool is active, cameras are shown with a gray dot at their origin and a gray line that indicates their viewing direction (orientation).
  
-{{:​mapping:​cawe:​editingtools:​cameracreate.png }}+The most recently used (or changed) camera is highlighted in a brighter shade of grayFor example, [[mapping:​cawe:​views#​the_active_view|activating a 3D view]] highlights the related camera.<​clear>​
  
-To create ​new camera ​you have to hold the ''​SHIFT''​ key down and left click into a 2D view to define an eye position and then move the mouse to drag a viewing angle for this camera+{{:​mapping:​cawe:​editingtools:​cameras_2d_tool_camera.png |Cameras in 2D view when the Camera tool is active. The  most recently used camera ​is highlighted.}} When the Camera tool is active, the cameras are displayed in colors so that they are easier ​to spot in the map.
  
-<​clear>​+As before, the most recently used (or changed) camera is highlighted in brighter colors.<​clear>​
  
-{{:​mapping:​cawe:​editingtools:​cameraactiveinactive.png }} 
  
-The eye position of the camera is displayed as a cyan colored circle ​and the viewing angle is a red line if the camera is the active camera of the 3d view or a cyan line if the camera is currently inactive.+===== Creating ​and deleting cameras =====
  
-As the new camera ​is created, it becomes the active ​camera and the 3D view changes ​to this camera.+{{:​mapping:​cawe:​editingtools:​cameras_create.png |Use Shift+LMB to create a new camera.}} 
 +To create a new camera, press and hold the ''​Shift''​ key, then use the left mouse button ​to drag a line in one of the 2D views. The starting point of the line becomes the camera ​origin, the line itself defines the orientation.
  
-Note that created ​cameras ​are not saved and lost if you close the map.+Having multiple ​cameras ​distributed at key locations in the map can facilitate map navigation a lot, as a 3D view can cycle through all available cameras as described [[mapping:​cawe:​editingtools:​camera#​switching_cameras|below]].
  
-===== Moving ​a camera ​=====+At this time, cameras that are not assigned to 3D view are not saved with the map; they are lost when the map is closed. 
 +You can manually delete an active ​camera ​via the **Edit -> Delete** menu item. 
 +The last camera cannot be deleted, as there is at least one 3D view that it is assigned to.
  
-There are two ways to move a camera: 
  
-==== Moving a camera in 2D view ====+===== Manipulating the origin and orientation =====
  
-{{:mapping:​cawe:​editingtools:​cameramoveposition.png }}  +The most powerful and most convenient methods to manipulate a camera are the controls described in section [[mapping:​cawe:​views#​navigating_the_3d_views|Navigating ​the 3D views]] (in addition, the controls described there do not require the Camera tool to be active: they work always).
-To change ​the position of the camera eyeclick on the cyan colored circle and drag it to its new location+
  
-<​clear>​+Sometimes however, it is worthwhile to set the origin and/or the orientation in a 2D view:
  
-{{:​mapping:​cawe:​editingtools:​cameramoveangle.png }} +{{:​mapping:​cawe:​editingtools:​cameras_move_pos.png |Click and drag the dot in order to move the camera origin.}} 
 +Click and drag the dot in order to move the camera origin.
  
-To change ​the heading of the viewing angle, click on the endpoint of the line representing the viewing angle and drag it to its new position.+/* Eine normale " ​ - ..." Liste funktioniert hier nicht gut... */ 
 +• Holding ​the ''​Alt''​ key while dragging toggles grid snapping.\\ 
 +• Holding ​the ''​Ctrl''​ key moves the line as well (and thus the camera as a whole).<​clear>​
  
-<​clear>​+{{:​mapping:​cawe:​editingtools:​cameras_move_dir.png |Click and drag the end of the line in order to change the camera orientation.}} 
 +Click and drag the end of the line in order to change the camera orientation. 
 +(The //length// of the line does not matter. You can for example drag the end of the line onto the object of interest, to center it precisely in the related 3D view.)
  
-Note that you can also move the whole camera preserving its current heading by pressing ​the ''​CTRL''​ key while moving either ​camera ​position or vieweing angle.+/* Eine normale " ​ - ..." Liste funktioniert hier nicht gut... */ 
 +• Holding ​the ''​Alt''​ key while dragging toggles grid snapping.\\ 
 +• Holding the ''​Ctrl''​ key moves the dot as well (and thus the camera ​as a whole).<​clear>​
  
-==== Moving a camera in 3D view ==== 
  
-Moving the active camera of the 3D view doesn'​t require the Camera tool to be active. You can change the camera position and heading by moving in a direction with the ''​WASD''​ keys or changing the camera heading with the "​arrow"​ keys.+===== Switching cameras =====
  
-With an activated Camera tool however, you can control ​the camera ​position using your mouse. While holding ​the left mouse button down you can change the viewing angle by moving your mouse and holding the right mouse button down enables you to strafe the camera position ​in the direction of your mouse movement.+In order to assign a 3D view (the [[mapping:​cawe:​views#​the_active_view|active]] 3D view) another ​camera, use the ''​Page Up'' ​and ''​Page Down''​ keys to cycle through all cameras ​in the map.
  
-===== Switching between cameras ===== 
- 
-Only one camera can be active at a time and therefore define the viewport of the 3D view. To change the active camera you can use the ''​PAGEUP''​ and ''​PAGEDOWN''​ key to cycle between cameras. 
- 
-Another way to change the active camera is to click on the camera in a 2D view. 
  
 ===== Camera tool keyboard shortcuts ===== ===== Camera tool keyboard shortcuts =====
  
-  * ''​PAGEUP'' ​ +^ Key            ^ Action ^ 
-    * Activate ​next camera. +''​Page Up'' ​   ​| Assign the next camera ​to the currently active 3D view| 
-  ​* ​''​PAGEDOWN''​ +''​Page Down'' ​ | Assign the previous ​camera ​to the currently active 3D view| 
-    * Activate latter ​camera. +''​ESC'' ​       | Quit the camera tool and switch to the [[mapping:​cawe:​editingtools:​selection|Selection]] tool. | 
-  ​* ​''​ESC''​ +''​Shift'' ​     | LMB-clicking and dragging ​in 2D view creates new camera. | 
-    * End camera tool and switch to Selection tool. +''​Ctrl'' ​      | Move the camera ​as a whole when dragging one of its handles. | 
-  ​* ​''​SHIFT''​ +| ''​Alt'' ​       | Temporarily toggle grid snapping while dragging a camera handle. |
-    * Clicking ​in 2D view creates new camera +
-  ​* ​''​CTRL''​ +
-    * While moving ​the camera ​-> camera heading doesn'​t change +
  
mapping/cawe/editingtools/camera.1191596975.txt.gz · Last modified: 2013-01-07 12:07 (external edit)