Skip to content

💻 Mesh Editing with the Edit mode

This assignment will be a brief introduction on the Edit mode in the 3D viewport.

Once you opened the exercise blend file mesh_editing_assignment.blend you'll see the familiar fish iso-surface above a plane.

Getting familiar with the Edit mode

To edit the mesh we first need to go the Edit mode with the fish.

  1. Select the fish and enter the Edit mode by pressing Tab. Depending on the speed of the system you're working on edit mode might be entered instantly or might take half a second. In general, for larger meshes switching to edit may take longer.

Now you will be able to see all the vertices, edges and faces that make up the 3D model. You will now try to select and move around some vertices, edges and/or faces.

  1. Change the Mesh Select Mode to Vertex by pressing 1 (or click the left icon in at the 3D view header). This might already be active by default but it will be highlighted on the icons in the 3D view header ().
  2. Before you start selecting, de-select all all current selected vertices by pressing Alt-A or double A rapidly.
  3. Now try to select a single vertex by clicking on it with the LMB, or multiple with Shift-LMB. You might have to zoom in a bit to separate the vertices enough.
  4. Another method is to use the selection tools:
    1. Box selection by pressing B and dragging a box around the vertices you want to select. Hold Shift to de-select.
    2. Circle selection by pressing C and left-clicking and dragging with the mouse over the vertices you want to select. To increase the size of the Circle selection tool simply scroll with your mouse Wheel. With MMB and dragging you can de-select vertices. Press Enter to exit circle select mode (or with RMB ).
  5. Once you selected your vertices you can transform them the same way you can do with objects by pressing the hotkeys G for translation, R for rotation, and S for scaling, etc.
  6. Probably now you did the vertex editing the fish looks a bit scrabbled. One way to clean it up is, of course, using Ctrl-Z to undo it. Another way is simply deleting the vertices by using the Delete popup menu X > Vertices. Try to remove part of the fish skin to it leaves a hole in the mesh which will reveal a part of the inside of the fish.

Tip!

If your fish has been "meshed-up" beyond repair you can always revert it to the last saved state with: File > Revert > Confirm.

Filling the holes

An imported mesh from a 3D visualization program can sometimes contain unwanted holes or separations in parts of the mesh, these can also be fixed in the edit mode. Conveniently the fish in the exercise file was already poked full of holes so you can fix these.

In between: To better inspect if there are any holes left you can switch back and forth between the Object mode and Edit mode because in the Object mode they are easier to see.

  1. First, make sure the whole mesh is selected by pressing A and then remove the small holes (the size of one triangle/quad) by pressing F3 in the 3D viewport in Edit mode and type in fill holes and press enter or click on it with LMB (this might take some time). Now this already cleaned up a lot of the holes in the geometry!
  2. Through inspection you might notices there are some bigger wholes that were not filled yet because they were skipped by the previous step since they were to large. To fill these they first need to be selected by first de-selecting everything with Alt-A and then press F3 and type in non manifold and press Enter or click on it with LMB.
  3. This selected the big holes but also other non-manifold geometry. To select only one of the holes hold Ctrl+Shift and drag with LMB over one of the holes. This de-selects everything excepts what was in the drag-box.
  4. Now this selected hole can easily be fixed by pressing F.
  5. Repeat step 2 to 4 for the other 2 holes.

Tip!

The fill with F fills the hole with an n-gon, a face with more then 4 vertices. These can sometimes create shading artifacts in your final render. Another way to fill these holes is to use grid-fill (Ctrl+F), this tries to fill the whole with a grid of quad shaped faces. This however might not always work for numerous reasons (uneven amount of vertices, closed loops etc) which can be fixed with additional mesh editing but the easy route would be to fill it with an n-gon face.

Separating skin from bones

Now that you got a little familiar with mesh editing you can try to separate the skin from the bones by using mesh separation.

  1. While still in edit mode (press Tab if not), try to select all the outside skin with the select linked selection by hovering the mouse cursor over the geometry and pressing L. This will only select a connected part of the skin so continue this step until you think you selected all the outside skin. Note that it is difficult to do this perfectly, as some of the insides of the fish are sometimes also selectable. Unfortunately, this occurs frequently with this type of sensor-based 3D data.
  2. Once you think all the skin is selected you can press P and select Selection to separate the selected surfaces from the main mesh into another mesh object. This new mesh will be added to the Outliner with the name fish.001.
  3. In the Outliner double-click LMB on the mesh object fish.001 to rename it to fishskin. Do the same for the fish mesh object and rename it to fishbones.
  4. If you now select the fishskin mesh object and hide it by clicking the little icon in the Outliner will reveal the insides of the fish.

Tips!

  • To reverse the separation of the mesh into bone and skin you can select both the mesh objects in Object mode and press Ctrl-J to join them back together into a single mesh.
  • Sometimes X-ray mode, toggled with Alt-Z, can be useful when editing a complex mesh, as it makes all geometry in a mesh partly transparent

(BONUS) Make your own annotation arrow

Since the content of this course is mostly geared towards imported geometry or scripted geometry, you might not directly think about manually created geometry. This bonus exercise however will show you that it is relatively easy to create your own geometry in Blender. Lets start your manual mesh creation with an annotation arrow!

  1. In the 3D viewport make sure you are in Object mode and add a new cylinder with Shift-A > Mesh > Cylinder.
  2. Press / to isolate the mesh so that there are no distractions. This can be reversed again by pressing /.
  3. Press Tab to go into Edit mode.
  4. Grab the selected geometry by pressing G and press Z to move it along the z-axis only and press 1 to move it 1 unit up so that the origin is at the bottom.
  5. De-select all the geometry with Alt-A and press 1 to set the select mode to Vertex and select all the bottom vertices (with LMB-drag over the vertices or with the b Box-select).
  6. Press S to scale them to a tiny point and press LMB to confirm.
  7. Now select the top vertices the same way you did with the bottom vertices, make sure that none of the bottom vertices are selected.
  8. Press I to inset the faces and move your mouse until you are satisfied with the width of the arrow shaft.
  9. Press E to extrude the selection and move the mouse up until you are satisfied with the length of the arrow shaft.
  10. Now press Tab and admire your newly created arrow!
  11. The arrow might now be a bit too big compared to the fish so scale the arrow down with S, move it to a point of interest with G and rotate the arrow to your liking with R (which is made relatively easy because we made it so that the origin is at the point)

Since the introduction of the Edit mode and switching back and forth between it and the Object mode you do need to make sure in which mode you are before adding new geometry or before using one of the transform operations (grab, scale and rotate). Otherwise you might add geometry to an already existing object instead of adding a new 3D object or you might move, scale or rotate 3D object geometry in the Edit mode and inadvertently change the origin of the object. This can be confusing sometimes but you'll get used to it!


Last update: 10 April 2024 15:22:19