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:selection [2007-10-04 17:45]
Joern created
mapping:cawe:editingtools:selection [2013-01-07 12:07] (current)
Line 2: Line 2:
  
 {{mapping:​cawe:​editingtools:​cawe_toolbar_selection.png?​80 }} {{mapping:​cawe:​editingtools:​cawe_toolbar_selection.png?​80 }}
-To understand this text it is neccesary that you know about [[mapping:​cawe:​mainwindow]],​ the [[mapping:​cawe:​views]] and the [[mapping:​cawe:​intro]]. 
  
 The Selection tool allows you to select objects like brushes, entire entities or bezier patches in your map and move, scale, rotate or shear them.  The Selection tool allows you to select objects like brushes, entire entities or bezier patches in your map and move, scale, rotate or shear them. 
-Selecting objects is also needed if you want to use functions ​of CaWe that only work on a single object ​or a group of objects ​and therefore need a selection to decide on what object(s) ​the function ​is to be used.+Apart from these functions directly activated by the Selection tool, CaWE provides a lot more functions that are related to selected objects. Since these functions are only usable with one or more objectsthe Selection tool is a very important instrument ​to create maps.
  
-Functions of CaWe that are related to a selected object are for example copy, cut and delete. These work only with one or more selected objects on wich these actions are performed. +You can activate ​the Selection tool by clicking on the related ​icon marked in the left screen or by pressing the ''​SHIFT+S''​ keyboard shortcut.
- +
-You can use the Selection tool by clicking on the Selection ​icon marked in the left screen or by pressing the ''​Shift+S''​ keyboard shortcut.+
  
 ===== Selecting objects ===== ===== Selecting objects =====
  
-To select an object ​you have to choose the Selection tool and click on the object ​you want to select. In the 3D-view you have to click on surface that is part of the object to select it. In the 2D-view in is necessary to click exactly ​on an edge that is part of the object ​since no surfaces are displayed in this view.+To select an objectclick the object ​once. In the 3D viewclick on any surface that is part of the object to select it. In the 2D view click either ​on an edge that is part of the object ​or on its center marker.
  
-In the 3D-view the surface of the selected ​object will be changed in color and its edges are colored yellow to mark it as selected. In the 2D-view only the edges of the selected object are colored red.+In the 3D viewthe surface of the object will be changed in color and its edges are colored yellow to mark it as selected. In the 2D viewthe edges of the selected object are colored red.
  
-{{mapping:​cawe:​editingtools:​selectedcube.png?250}} {{mapping:​cawe:​editingtools:​selectedcube2d.png?250}}+{{mapping:​cawe:​editingtools:​selectedcube3d.png}} {{mapping:​cawe:​editingtools:​selectedcube2d.png}}
  
-Another way to select objects ​is to open a selection box in a 2D-view window. This is done by left-clicking into the window without clicking on the edge of an object and moving the mouse while holding down the left mouse button. Releasing the mouse button opens selection box. You can now move and scale this selection box until it covers all objects you want to selectYou can select ​these objects ​by pressing ​the ''​Return''​-key on your keyboard.+To select ​one or more objects ​you can also drag a selection box in a 2D view window. Releasing the mouse button opens the selection box, but does not select the objects yet. You can move and scale this selection box until it covers all objects you want selectedTo eventually ​select ​the objects, press the ''​ENTER''​ key. This way all objects that are covered whole or partially by this selection box are selected. Note that you can also scale the selection box in another 2D view to create a spatial selection box and narrow down the selected objects.
  
-If you want to select more than one object you can do this by selecting your first object as described aboveAdditional objects have to be selected while pressing the ''​Ctrl''​-key on your keyboard. This way you can choose as many object as you want and perform an action on all these objects simultaneously.+{{mapping:​cawe:​editingtools:​selectionboxdrag.png}} {{mapping:​cawe:​editingtools:​selectionboxopen.png}}
  
-You can deselect all selected objects by pressing the ''​Escape''​-key, which nullifies ​the selection.+You can change the behavior of a selection box in the [[mapping:​cawe:​dialogs:​options|Configure CaWE Options]] dialog at the **2D Views** tab. **Automatic infinite selection in 2D windows (no ENTER)** enables you to drag a selection box and instantly select all objects by releasing the mouse button instead of pressing the ''​ENTER''​ key. This way however you loose the ability to open a spatial selection box. 
 +If **Selection box selects by center handle only** is activated, only objects whose center handle is covered by a selection box count as selected objects. 
 + 
 +Another way to select more than one object is to select objects while pressing the ''​CTRL''​ key. This way you can choose as many objects as you want and perform an action on all these objects simultaneously. 
 + 
 +You can select all objects in a map by clicking the **Select All** option from the [[mapping:​cawe:​menureference:​edit|edit menu]]. To deselect all objects, use the **Select None** option from the [[mapping:​cawe:​menureference:​edit|edit menu]]. 
 + 
 +You can also deselect all selected objects by pressing the ''​ESC''​ key, which clears ​the selection.
  
  
Line 30: Line 34:
 Now that one ore more objects have been selected you can perform actions on them. Now that one ore more objects have been selected you can perform actions on them.
  
-{{mapping:​cawe:​editingtools:​selectscale.png?150x150}} {{mapping:​cawe:​editingtools:​selectscaleactive.png?150x150}}+==== Moving and Cloning objects ==== 
 + 
 +{{mapping:​cawe:​editingtools:​selectionmoveclone.png}} 
 + 
 +By clicking inside the selection box of an object, you can drag it in a 2D view and move its position to a new location. If grid snapping is activated, you can ignore it while moving the object by pressing the ''​ALT''​-key. This also works with the transformations described below. 
 + 
 +You can also move objects with the "​arrow"​ keys, if you select the **Arrow keys nudge selected object/​vertex** option in the [[mapping:​cawe:​dialogs:​options|Configure CaWE Options]] dialog under **2D Views**. 
 + 
 +An easy way to duplicate objects is using the **Clone** function while moving an object. Simply move your object as described above, but before releasing the left mouse button to move the object, press and hold the ''​SHIFT''​ key. In this way a clone of the object is created at its new location. Note that cloning an object while moving it with the "​arrow"​ keys is not supported. 
 + 
 +==== Tranformation modes ==== 
 + 
 +To resize, rotate or shear an object you have to select the appropriate transformation mode. You can switch between the 3 modes by clicking inside the selection box of the object you want to transform. Different transformation modes are marked by handles at the edges and vertices of the selection box. 
 + 
 +==== Resizing an object ==== 
 + 
 +{{mapping:​cawe:​editingtools:​selectscale.png}} {{mapping:​cawe:​editingtools:​selectscaleactive.png}} 
 + 
 +A dashed rectangular box is drawn around a selected object by the editor (this box is only visible if the object itself isn't rectangular). The resize mode is marked by white squares at the edges and vertices of this box. By moving the mouse over one of these squares and dragging this square by holding down the left mouse button you can resize the object in the direction of the square you clicked on. 
 + 
 +==== Rotating an object ==== 
 + 
 +{{mapping:​cawe:​editingtools:​selectrotate.png}} {{mapping:​cawe:​editingtools:​selectrotateactive.png}} 
 + 
 +The rotate mode is marked by white dots at the vertices of the box. Moving the mouse over one of these dots and dragging this dot by holding down the left mouse button rotates the object smoothly. It is also possible to rotate the object in multiples of 15 degrees by pressing and holding down the ''​SHIFT''​-key while rotating an object. 
 + 
 +You can change the default behavior to rotating in 15 degree steps if you select the **Default to 15 degree rotations** option in the [[mapping:​cawe:​dialogs:​options|Configure CaWE Options]] dialog under **2D Views**. If this option is select, pressing ''​SHIFT''​ will allow you to rotate the object smoothly.
  
-In the 2D-view a dashed rectangular box has been drawn around the selected ​object ​by the editor (this box is only visible if the object itself isn't rectangular) and the edges and vertices of this box have white squares attached to them. By moving the mouse over one of these squares and dragging this square by holding down the left mouse button you can resize the object in the direction of the square you clicked on.+==== Shearing an object ​====
  
-{{mapping:​cawe:​editingtools:​selectrotate.png?150x150}} {{mapping:​cawe:​editingtools:​selectrotateactive.png?150x150}}+{{mapping:​cawe:​editingtools:​selectshear.png}} {{mapping:​cawe:​editingtools:​selectshearactive.png}}
  
-If you click again on an already selected object white dots at the vertices ​of the box become visibleMoving ​the mouse over one of these dots and dragging this dot by holding ​down the left mouse button ​rotates the object smoothly. It is also possible to rotate the object ​in multiples of 15 degrees by pressing ​and holding down the ''​Shift''​-key while rotating an object.+White squares ​at the edges of the selection ​box mark the shearing modeBy left clicking on a square and moving ​the mouse while holding the left mouse button ​down this edge can be moved in two directions along its own axis and in this way the object ​is deformed.
  
-{{mapping:​cawe:​editingtools:​selectshear.png?​150x150}} {{mapping:​cawe:​editingtools:​selectshearactive.png?​200x150}}+==== Deleting an object ====
  
-A second click on an already ​selected object ​shows white squares at the edges of the box. By left-clicking ​on a square and moving ​the mouse while holding down the left mouse-button this edge can be moved in two directions along its own axis and in this way the object is deformed.+To delete a selected object ​just press the ''​DEL''​-key on your keyboard or choose **Delete** from the [[mapping:​cawe:​menureference:​edit|Edit menu]].
  
-To delete a selected object just press the ''​Del''​-key on your keyboard or choose ''​Delete''​ from the ''​Edit''​-menu.+==== More ====
  
-There are more things you can do with selected objects, as for exmaple copying and pasting them. These functions are explained in the documentations of the ''​Edit''​-menu (TODO) ​and the ''​Tools''​-menu (TODO).+There are a lot more things you can do with selected objects. These additional ​functions are explained in the documentations of the [[mapping:​cawe:​menureference:​edit|Edit menu]], [[mapping:​cawe:​menureference:​map|Map menu]], [[mapping:​cawe:​menureference:​view|View menu]] ​and [[mapping:​cawe:​menureference:​tools|Tools menu]].
  
-===== The Selection tools Option ​Bar =====+===== The Tool Options ​Bar =====
  
-{{:​mapping:​cawe:​editingtools:​selectiontoolbar.png|:​mapping:​cawe:​editingtools:​selectiontoolbar.png}}+{{:​mapping:​cawe:​editingtools:​selectionoptionsbar.png|:​mapping:​cawe:​editingtools:​selectiontoolbar.png}}
  
-Once the Selection tool is activated ​the Option Bar of this tool is visible ​on top of the view-windows. This toolbar ​contains ​some selection parameters and buttons for further functions related to selections.+Once the Selection tool is activated, its option bar is visible ​above the view windows. This bar contains selection parameters and buttons for further functions related to selections.
  
-  * ''​Ignore Groups''​: This option specifies if grouped objects are selected as a group (selecting one object selects all objects) or if groups are ignored and objects are selected normally even if they are part of an object-group. +  * **Ignore Groups**: This option specifies if grouped objects are selected as a group (selecting one object selects all objects) or if groups are ignored and objects are selected normally even if they are part of an object group. 
-  * ''​Lock Materials''​: This option ​decides ​if the Material of an object is locked to the object itself and therefore doesn'​t change, even if the object is moved. If this option is not selected the Material is locked onto the point of origin of the world coordinate system and therefore the part of the texture visible on the object may change when the object is moved. +  * **Lock Materials**: This option ​determines ​if the Material of an object is locked to the object itself and therefore doesn'​t change, even tough the object is moved. If this option is not selected the Material is locked onto the point of origin of the world coordinate system and therefore the part of the texture visible on the object may change when the object is moved. 
-  * ''​Group''​: This button puts two ore more previously selected objects into a group. Grouped objects can be selected all at once by clicking on one object of the group. +  * **Group**: This button puts two ore more previously selected objects into a group. Grouped objects can be selected all at once by clicking on one object of the group. 
-  * ''​Ungroup''​: This button reverts grouped objects ​bach to single objects. This function ​is only working ​if a group of objects has previously been selected. +  * **Ungroup**: This button reverts grouped objects ​back to single objects. This function only works if a group of objects has previously been selected. 
-  * ''​Hide''​: Hides all selected objects from the view-windows. The objects are not deleted, but simply not displayed, which is particularly ​usefull ​when working with big maps that contain a lot of objects. +  * **Hide**: Hides all selected objects from the view windows. The objects are not deleted, but simply not displayed, which is particularly ​useful ​when working with big maps that contain a lot of objects. 
-  * ''​Hide Other''​: Hides all objects except the selected objects. For more information about hidden objects, please refer to the VisGroups documentation ​(TODO) +  * **Hide Other**: Hides all objects except the selected objects. For more information about hidden objects, please refer to the [[mapping:​cawe:​visgroups|VisGroups documentation]]. 
-  * ''​Apply Material''​: Applies the currently selected ​Material ​to the selected object(s).+  * **Apply Material**: Applies the material that is currently selected ​in the [[mapping:​cawe:​mainwindow|materials bar]] to the selected object(s).
  
 ===== Selection tool keyboard shortcuts ===== ===== Selection tool keyboard shortcuts =====
  
-  * ''​Return'':​ +  * ''​SHIFT+S'':​ 
-    * If a box-selection is opened -> selects all objects that are part of the box selection  +    * Activates the Selection tool. 
-  * ''​Esc'': ​ +  * ''​ENTER'':​ 
-    * If Eyedropper-tool is active -> returns to Selection-mode +    * If a box selection is opened -> selects all objects that are part of the box selection ​. 
-    * If a box-selection is opened -> closes the box-selection +  * ''​ESC'':​  
-    * If an object is currently resized, rotated, sheared or moved -> move object back into original position and form +    * If a box selection is opened -> closes the box selection. 
-    * If objects are selected -> deselect objects +    * If an object is currently resized, rotated, sheared or moved -> move object back into original position and form. 
-  * ''​Delete'':​  +    * If objects are selected -> deselect objects. 
-    * If objects are selected -> deletes ​the selected object(s) from map +  * ''​DEL'':​  
-  * ''​Ctrl'':​ +    * Deletes ​the selected object(s) from map. 
-    * If in selection-mode -> add new selected objects to selection list instead of removing old selection and only selecting clicked object +  * ''​CTRL'':​ 
-  * ''​Shift'':​ +    * If in selection-mode -> add new selected objects to selection list instead of removing old selection and only selecting clicked object. 
-    * If Rotating an object -> rotate in multiples of 15 degrees +  * ''​ALT'':​ 
-    * If moving an object -> object is copied ​first then moved, so original object remains in place +    * While moving or cloning an object -> ignore grid snapping and move object smoothly 
-  * ''​E'':​ +    * While tranforming an object -> ignore grid snapping and transform object smoothly 
-    * If in selection-mode -> switch to eyedropper-mode +  * ''​SHIFT'':​ 
-    * If in eyedropper-mode -> switch to selection-mode+    * If Rotating an object -> rotate in multiples of 15 degrees. 
 +    * If moving an object -> object is cloned ​first then moved, so original object remains in place.
   * ''​Page up'':​   * ''​Page up'':​
   * ''​Page down'':  ​   * ''​Page down'':  ​
-    * If last select-click covered more than one object -> cicle trough objects+    * If last select click covered more than one object -> cycle trough objects.
mapping/cawe/editingtools/selection.1191512717.txt.gz · Last modified: 2013-01-07 12:07 (external edit)