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:morph [2006-08-13 21:58]
Carsten created
mapping:cawe:editingtools:morph [2013-01-07 12:07] (current)
Line 19: Line 19:
 ===== The Convex-Hull Principle ===== ===== The Convex-Hull Principle =====
  
-The CaWE Edit Vertices tool is implemented according to the "​convex-hull principle"​.+For the purpose of editing brushes, the CaWE Edit Vertices tool is implemented according to the "​convex-hull principle"​.
 Roughly said, a convex-hull is the smallest space that contains a set of vertices. For a more thorough but mathematical definition please see the Wikipedia article [[wp>​Convex_hull|here]]. Roughly said, a convex-hull is the smallest space that contains a set of vertices. For a more thorough but mathematical definition please see the Wikipedia article [[wp>​Convex_hull|here]].
  
Line 37: Line 37:
 When you activate the tool, the tool options bar shows controls that are specific to the Morph tool: When you activate the tool, the tool options bar shows controls that are specific to the Morph tool:
  
-At the ''​Edit''​ radio buttons you can choose whether you would like to edit only the vertices (represented by white handles), only the edges (yellow handles), or both. Usually it's the easiest to leave the setting at both, but if you have a preference you can set it here.+At the ''​Edit''​ radio buttons you can choose whether you would like to edit only the vertices (represented by white handles), only the edges (yellow handles), or both. Usually it's the easiest to leave the setting at both, but if you have a preference you can set it here. Note that only brushes have edges, the concept does not apply to bezier patches.
  
 The ''​Insert Vertices''​ button inserts a new vertex into the center of a selected brush. It does only work if you have exactly one brush selected. That is, if you have instead a bezier patch patch selected or more than one brush or even a mix of multiple objects, it will just do nothing except for presenting you a message box that explains the exactly-one-brush requirement. The ''​Insert Vertices''​ button inserts a new vertex into the center of a selected brush. It does only work if you have exactly one brush selected. That is, if you have instead a bezier patch patch selected or more than one brush or even a mix of multiple objects, it will just do nothing except for presenting you a message box that explains the exactly-one-brush requirement.
Line 48: Line 48:
 ===== Face Splitting and Removal ==== ===== Face Splitting and Removal ====
  
-Adding new faces or removing existing faces naturally follows from the convex-hull principle. Please refer to the following image series in order to learn how new faces are added to a simple brush by first clicking the ''​Insert Vertex''​ button and then dragging the newly inserted vertex. In the second and fifth image, the new vertices that were inserted by a click on the ''​Insert Vertex''​ button have been selected (red squares) for better visual accentuation. The respectively next images (the third and sixth) show the result of these vertices being dragged into new positions.\\+Adding new faces to or removing existing faces from brushes ​naturally follows from the convex-hull principle. Please refer to the following image series in order to learn how new faces are added to a simple brush by first clicking the ''​Insert Vertex''​ button and then dragging the newly inserted vertex. In the second and fifth image, the new vertices that were inserted by a click on the ''​Insert Vertex''​ button have been selected (red squares) for better visual accentuation. The respectively next images (the third and sixth) show the result of these vertices being dragged into new positions.\\
 (Click each of the images to see them in their larger, natural size.) (Click each of the images to see them in their larger, natural size.)
  
Line 61: Line 61:
 Faces are removed again my dragging one or more of their related vertices back "​into"​ (somewhere near the center) of the brush or just onto other vertices. According to the convex hull principle, they then cannot contribute to the convex hull and thus the brush any more -- the face has been removed. (Just read the above image sequence in reverse to see how this works.) Faces are removed again my dragging one or more of their related vertices back "​into"​ (somewhere near the center) of the brush or just onto other vertices. According to the convex hull principle, they then cannot contribute to the convex hull and thus the brush any more -- the face has been removed. (Just read the above image sequence in reverse to see how this works.)
  
-Note that the Morph tool automatically eliminates duplicate vertices. That is, if you drag one vertex exactly onto another so that you cannot tell them apart any more, CaWE will just remove the duplicate vertex. This is also why pressing the ''​Insert Vertices''​ button does apparently nothing when it is pressed several times in a row: It just creates vertices all in the same place (the exact center of the brush), which are immediately collected again because they are duplicates of each other.+Note that for brushes, ​the Morph tool automatically eliminates duplicate vertices. That is, if you drag one vertex exactly onto another so that you cannot tell them apart any more, CaWE will just remove the duplicate vertex. This is also why pressing the ''​Insert Vertices''​ button does apparently nothing when it is pressed several times in a row: It just creates vertices all in the same place (the exact center of the brush), which are immediately collected again because they are duplicates of each other
 + 
 +For bezier patches, being able to have multiple individual vertices all in the same place is sometimes a crucial feature, so the removal of duplicates does not apply. 
 + 
 + 
 +===== Shaping Bezier Patches ===== 
 + 
 +When you use the Morph tool to edit the control vertices of bezier patches, the concepts of edges, convex hulls, vertex insertions and duplicate removals do not apply, but otherwise the tool behaves naturally and analogously to editing the corner vertices of brushes. 
 + 
 +==== Selecting vertices individually ==== 
 + 
 +With bezier patches, it frequently occurs that multiple vertices are in the exact same position, overlaying each other. This is often intentionally and required to achieve certain spatial shapes. When you click on such vertices in the 2D views, they all get selected at the same time. This is usually what is wanted, but if instead you want to selected the vertices separately, just clear the selection and then click on the vertex in the //3D view//. Contrary to the 2D views, selecting vertices in the 3D view only ever selects //one vertex at a time//. Although the situation looks visually the same as before in the 2D views, you can now use the mouse to drag the single vertex in the 2D or 3D views without affecting the others in the same place.
  
mapping/cawe/editingtools/morph.1155499120.txt.gz · Last modified: 2013-01-07 12:07 (external edit)