User Tools

Site Tools


Differences

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

Link to this comparison view

mapping:cawe:editingtools:camera [2010-10-31 18:52]
Carsten Created section "Camera display in 2D views"
mapping:cawe:editingtools:camera [2013-01-07 12:07]
Line 1: Line 1:
-====== The Camera Tool ====== 
- 
-{{mapping:​cawe:​editingtools:​cawe_toolbar_camera.png?​80 }} 
- 
-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 a 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. 
- 
-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. 
- 
-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. 
- 
-/* // Das sollte nur bei "​Delete a Camera"​ stehen: 
-Since CaWE has always a 3D view, there has to be at least one camera in each map. */ 
- 
-/* // Das sollte bei "Eine neue Camera anlegen"​ stehen: 
-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 maps 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 ===== 
- 
-{{:​mapping:​cawe:​editingtools:​cameras_2d_tool_other.png |Cameras in a 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). 
- 
-The most recently used (or changed) camera is highlighted (brighter shade of gray): For example, [[mapping:​cawe:​views#​the_active_view|activating a 3D view]] highlights the related camera.<​clear>​ 
- 
-{{:​mapping:​cawe:​editingtools:​cameras_2d_tool_camera.png |Cameras in a 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. 
- 
-As before, the most recently used (or changed) camera is highlighted (brighter colors).<​clear>​ 
- 
- 
-===== Creating a camera ===== 
- 
-{{:​mapping:​cawe:​editingtools:​cameracreate.png }} 
- 
-To create a 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 direction for this camera. ​ 
- 
-<​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. 
- 
-As the new camera is created, it becomes the active camera and the 3D view changes to this camera. 
- 
-Note that created cameras are not saved and lost if you close the map. 
- 
-===== Manipulating the origin and orientation ===== 
- 
-The most powerful and most convenient method to manipulate a camera is to use 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). 
- 
-Sometimes however, it is worthwhile to set the origin and/or the orientation in a 2D view: 
- 
-{{:​mapping:​cawe:​editingtools:​cameramoveposition.png }}  
-To change the position of the camera eye, click on the cyan colored circle and drag it to its new location. ​ 
- 
-<​clear>​ 
- 
-{{:​mapping:​cawe:​editingtools:​cameramoveangle.png }}  
- 
-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. 
- 
-<​clear>​ 
- 
-Note that you can also move the whole camera preserving its current heading by pressing the ''​CTRL''​ key while moving either camera position or viewing angle. 
- 
- 
-===== 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''​ keys to cycle trough all cameras. 
- 
-Another way to change the active camera is to click on the camera in a 2D view. 
- 
- 
-===== Camera tool keyboard shortcuts ===== 
- 
-  * ''​PAGEUP'' ​ 
-    * Activate next camera. 
-  * ''​PAGEDOWN''​ 
-    * Activate latter camera. 
-  * ''​ESC''​ 
-    * End camera tool and switch to Selection tool. 
-  * ''​SHIFT''​ 
-    * Clicking in 2D view creates new camera 
-  * ''​CTRL''​ 
-    * While moving the camera -> camera heading doesn'​t change 
  
mapping/cawe/editingtools/camera.txt ยท Last modified: 2013-01-07 12:07 (external edit)