Editing Poly Objects


After an object has been converted to an Editable Poly, you can alter its shape by applying modifiers, or you can work with the mesh subobjects. You can find the editing features for these objects in the Modify panel.

CROSS-REF 

Each of the mesh related modifiers are covered in Chapter 16, "Deforming Surfaces and Using the Mesh Modifiers".

Editable Poly subobject modes

Before you can edit mesh subobjects, you must select them. To select a subobject mode, select Editable Poly in the Modifier Stack, click the small plus sign to its left to display a hierarchy of subobjects, and then click the subobject type with which you want to work. Another way to select a subobject type is to click on the appropriate subobject button in the Selection rollout. The subobject button in the Selection rollout and the subobject listed in the Modifier Stack both turn bright yellow when selected. You can also type a number from 1 to 5 to enter subobject mode with 1 for Vertex, 2 for Edge, 3 for Border, 4 for Polygon, and 5 for Element.

To exit subobject edit mode, click the subobject button (displayed in yellow) again. Remember, you must exit this mode before you can select another object.

Note 

Selected subobject edges appear in the viewports in red to distinguish them from edges of the selected object, which appear white when displayed as wireframes.

After you're in a subobject mode, you can click on a subobject (or drag over an area to select multiple subobjects) to select it and edit the subobject using the transformation buttons on the main toolbar. You can transform subobjects just like other objects.

CROSS-REF 

For more information on transforming objects, see Chapter 8, "Transforming Objects-Translate, Rotate, and Scale".

You can select multiple subobjects at the same time by dragging an outline over them. You can also select multiple subobjects by holding down the Ctrl key while clicking them. The Ctrl key can also deselect selected subobjects while maintaining the rest of the selection. Holding down the Alt key removes any selected vertices from the current selection set.

With one of the transform buttons selected, hold down the Shift key while clicking and dragging on a subobject to clone it. During cloning, the Clone Part of Mesh dialog box appears, enabling you to Clone to Object or Clone to Element. Using the Clone to Object option makes the selection an entirely new object, and you are able to give the new object a name. If the Clone to Element option is selected, the clone remains part of the existing object but is a new element within that object.

If you hold down the Ctrl key while choosing a different subobject mode, the current selection is maintained for the new subobject type. For example, if you select all the polygons in the top half of a model using the Polygon subobject mode and click the Vertex subobject mode while holding down the Ctrl key, all vertices in the top half of the model are selected. This works only for the applicable subobjects. If the selection of polygons doesn't have any borders, then holding down the Ctrl key while clicking the Border subobject mode selects nothing.

You also can hold down the Shift key to select only those subobjects that lie on the borders of the current selection. For example, selecting all the polygons in the top half of a model using the Polygon subobject mode and clicking the Vertex subobject mode with the Shift key held down selects only those vertices that surround the selection and not the interior vertices.

Selection rollout

The Selection rollout, shown in Figure 15.2, includes options for selecting subobjects. The By Vertex option is available in all but the Vertex subobject mode. It requires that you click a vertex in order to select an edge, border, polygon, or element. It selects all edges and borders that are connected to a vertex when the vertex is selected. The Ignore Backfacing option selects only those subobjects with normals pointing toward the current viewport. For example, if you are trying to select some faces on a sphere, only the faces on the side closest to you are selected. If this option is off, then faces on both sides of the sphere are selected. This option is helpful if many subobjects are on top of one another in the viewport.

image from book
Figure 15.2: The Selection rollout includes options for determining which subobjects are selected

Tip 

The select commands in the Edit menu also work with subobjects. For example, in Vertex sub-object mode, you can select Edit image from book Select All (or press Ctrl+A) to select all vertices.

The By Angle option selects adjacent polygons that are within the specified threshold. The threshold value is defined as the angle between the normals of adjacent polygons. For example, if you have a terrain mesh with a smooth, flat lake area in its middle, you can select the entire lake area if you set the Planar Threshold to 0 and click the lake.

The Selection rollout also includes four buttons. These buttons include Shrink, Grow, Ring, and Loop. Use the Grow button to increase the current selection around the perimeter of the current selection, as shown in Figure 15.3. Click the Shrink button to do the opposite.

image from book
Figure 15.3: Using the Grow button, you can increase the subobject selection.

The Ring and Loop buttons are available only in Edge and Border subobject modes. Use Ring and Loop to select all adjacent subobjects horizontally and vertically around the entire object. Ring selection looks for parallel edges, and Loop selection looks for all edges around an object that are aligned the same as the initial selection. For example, if you select a single edge of a sphere, the Ring button selects all edges going around the sphere and the Loop button selects all edges in a line from the top to the bottom of the sphere.

Next to the Ring and Loop buttons are a set of up/down arrows. These arrows are used to shift the current ring and/or loop selection left and right for the Ring selection, or up and down for the Loop selection. Holding down the Ctrl key adds the adjacent ring or loop to the current selection, and holding down the Alt key removes the adjacent selection. Figure 15.4 shows how the Ring and Loop buttons work. The first sphere shows a selection made using the Ring button; the second sphere has increased this selection by holding down the Ctrl key while clicking the up arrow next to the Loop button. The third sphere shows a selection made using the Loop button; the fourth sphere has increased this selection by holding down the Ctrl key while clicking the up arrow next to the Ring button.

image from book
Figure 15.4: The Ring and Loop buttons can select an entire row and/or column of edges

Note 

For Editable Poly objects, the Hide Selected, Unhide All, Copy, and Paste buttons are located at the bottom of the Edit Geometry rollout.

CROSS-REF 

The Soft Selection rollout allows you to alter adjacent non-selected subobjects when selected subobjects are moved, creating a smooth transition. For the details on this rollout, see Chapter 13, "Learning Modeling Basics and Working with Subobjects".

Tutorial: Modeling a clown head

Now that you know how to select subobjects, you can use the transform tools to move them. In this example, you'll quickly deform a mesh sphere to create a clown face by selecting, moving, and working with some vertices.

To create a clown head by moving vertices, follow these steps:

  1. Select Create image from book Standard Primitives image from book Sphere, and drag in the Front viewport to create a sphere object. Then right-click the sphere, and select Convert To image from book Editable Mesh in the pop-up quadmenu.

  2. Open the Modify panel. Now make a long, pointy nose by pulling a vertex outward from the sphere object. Click the small plus sign to the left of the Editable Mesh object in the Modifier Stack, and select Vertex in the hierarchy (or press the 1 key). This activates the Vertex subobject mode. Enable the Ignore Backfacing option in the Selection rollout, and select the single vertex in the center of the Front viewport. Make sure that the Select and Move button (W) is selected, and in the Left viewport, drag the vertex along the Z-axis until it projects from the sphere.

  3. Next, create the mouth by selecting and indenting a row of vertices in the Front viewport below the protruding nose. Holding down the Ctrl key makes selecting multiple vertices easy. Below the nose, select several vertices in a circular arc that make a smile. Then move the selected vertices along the negative Z-axis in the Left viewport.

  4. For the eyes, select Create image from book Standard Primitives image from book Sphere and enable the AutoGrid option. Then drag in the Front viewport to create two eyes above the nose.

This clown head is just a simple example of what is possible by editing subobjects. Figure 15.5 shows the clown head in a shaded view.

image from book
Figure 15.5: A clown head created from an editable mesh by selecting and moving vertices

Edit Geometry rollout

Much of the power of editing meshes is contained within the Edit Geometry rollout, shown in Figure 15.6. Features contained here include, among many others, the ability to create new subobjects, attach subobjects to the mesh, weld vertices, chamfer vertices, slice, explode, and align. Some Edit Geometry buttons are disabled depending on the subobject mode that you select. The features detailed in this section are enabled for the Editable Poly object before you enter a subobject mode.

Many of the buttons for the Editable Poly include a small icon to the right of the button that opens a settings dialog box. These settings dialog boxes allow you to change the settings and immediately see the results in the viewports. The OK button applies the settings and closes the dialog box, and the Apply button applies the settings and leaves the dialog box open. These settings dialog boxes are included next to the Preserve UVs, Attach, MSmooth, Tessellate, and Relax buttons for all subobject modes and next to many of the subobject-specific buttons such as Extrude, Bevel, Outline, and Inset.

Editable Poly objects include all their common buttons in the Edit Geometry rollout and all subobject-specific buttons is a separate rollout named after the subobject mode, such as Edit Vertices or Edit Edges.

image from book
Figure 15.6: The Edit Geometry rollout includes many general-purpose editing features

Repeat Last

The first button in the Edit Geometry rollout is the Repeat Last button. This button repeats the last subob-ject command. This button does not work on all features, but it's very convenient for certain actions.

Tip 

The toolitp for this button displays the last repeatable command.

Enabling constraints

The Constraints drop-down list limits the movement of subobjects to a specified subobject. The available constraints are None, Edge, and Face. For example, if you select and move a vertex with the Edge constraint enabled, then the movement is constrained to the adjacent edges.

Tutorial: Creating a roof truss

When creating houses, modeling the roof can be tricky, but using an edge constraint makes it much easier.

To create a triangular roof truss, follow these steps:

  1. Select Create image from book Standard Primitives image from book Box, and drag in the Top viewport to create a Box object centered over the Y-axis.

  2. Right-click the box object, and select Convert To image from book Editable Poly in the pop-up quadmenu.

  3. Open the Modify panel, and choose the Vertex subobject mode. In the Constraints drop-down list of the Edit Geometry panel, select the Edge option.

  4. With the Select and Move tool, drag over the top-left corners and drag them to the Y-axis; then repeat for the top-right corners.

Notice that the points are constrained to the top edge as they are dragged. Moving both sets of points results in a simple perfect triangle.

Tip 

An even easier way to create such a triangle would be to use the Gengon primitive found among the Extended Primitives.

Preserve UVs

UV coordinates define how a texture map is applied to an object's surface. These UV coordinates are tied closely to the surface subobject positions, so moving a subobject after a texture is applied moves the texture also. This could cause discontinuities to the texture map. The Preserve UVs option lets you make subobject changes without altering the UV coordinates for an existing texture.

The Settings dialog box for the Preserve UVs option lets you select a Vertex Color and Texture Channel to preserve. Figure 15.7 shows two block objects with a brick texture map applied. The inner vertices on the left block were scaled outward without the Preserve UVs option selected; the right block had this option enabled.

image from book
Figure 15.7: The Preserve UVs option lets you make subobject changes after texture maps have been applied.

Create

The Create button lets you create new subobjects, specifically polygons, by connecting isolated vertices and border vertices. When the cursor is over a valid vertex, it changes to a crosshair, and you can click to create a polygon edge from the last clicked point. If no vertices are available, you can Shift click to create one. This creates a vertex where you click. Be aware that creating a vertex doesn't add it to any of the edges, but the Create button in Edge subobject mode can connect edges to these isolated vertices.

Tip 

As you create new polygons, the normal is determined by the direction in which you create the polygon using the right-hand rule. If you bend the fingers of your right hand in the direction (clockwise or counterclockwise) that the vertices are clicked, then your thumb will point in the direction of the normal. If the normal is pointing away from you, then the backside of the polygon will be visible and the lighting could be off.

You can use the Create button to create new polygons based on new or existing vertices. To create a new face, click the Create button, which highlights all vertices in the selected mesh. Next, click a vertex to start the polygon; after you click two more vertices, a new face is created. You can also create a new vertex not based on any existing vertices by holding down the Shift key while clicking.

Polygons aren't limited to three vertices. You can click as many times as you want to add additional vertices to the polygon. Click the first vertex, or double-click to complete the polygon.

Collapse

The Collapse button is used to collapse all the selected subobjects to a single subobject located at the averaged center of the selection. This button is similar to the Weld button, except that the selected vertices don't need to be within a Threshold value to be combined. This button works in all subobject modes.

Attach and Detach

The Attach button is available with all subobject modes and even when you are not in subobject mode. Use the Attach button to add objects to the current Editable Poly object. You can add primitives, splines, patch objects, and other mesh objects. Any object attached to a mesh object is automatically converted into an editable mesh and inherits the object color of the object to which it is attached. Any objects added to a mesh object can be selected individually using the Element subobject mode.

Caution 

If you attach an object that is smoothed using NURMS, the NURMS are lost when the object is attached.

To use this feature, select the main object and click the Attach button. Move the mouse over the object to be attached; the cursor changes over acceptable objects. Click the object to select it. Click the Attach button again or right-click in the viewport to exit Attach mode.

Note 

If the object that you click to attach already has a material applied that is different from the current Editable Mesh object, then a dialog box appears giving you options to Match Material IDs to Material, Match Material to Material IDs, or Do Not Modify Material IDs or Material. Materials and Material IDs are discussed in more detail in Chapter 20, "Exploring the Material Editor".

Clicking the Attach List button opens the Attach List dialog box (which looks just like the Select Objects (H) dialog box) where you can select from a list of all the objects to attach. The list contains only objects that you can attach.

Note 

When you enter a subobject mode, the Attach List button changes to a Detach button for mesh objects.

Attaching objects is different from grouping objects because all attached objects act as a single object with the same object color, name, and transforms. You can access individual attached objects using the Element subobject mode.

Use the Detach button to separate the selected subobjects from the rest of the object. To use this button, select the subobject and click the Detach button. The Detach dialog box opens, enabling you to name the new detached subobject. You also have the options to Detach to Element or to Detach as Clone. All subobject modes except Edge have a Detach option. This button appears in place of the Attach List button in all subobject modes.

Slicing and cutting options

The Slice Plane button lets you split the mesh object along a plane. When you click the Slice Plane button, a yellow slice plane gizmo appears on the selected object. You can move, rotate, and scale this gizmo using the transform buttons. After you properly position the plane and set all options, click the Slice button to finish slicing the mesh. All intersected faces split in two, and new vertices and edges are added to the mesh where the Slice Plane intersects the original mesh.

The Slice Plane mode stays active until you deselect the Slice Plane button or until you right-click in the viewport; this feature enables you to make several slices in one session. The Slice Plane button is enabled for all subobject modes. For the Editable Poly object, a Reset Plane button is located next to the Slice Plane button. Use this button to reset the slice plane to its original location. You use the Split option to double the number of vertices along the Slice Plane.

The QuickSlice button lets you click anywhere on an Editable Poly object where you want a slicing line to be located. You can then move the mouse, and the QuickSlice line rotates about the point you clicked on. When you click the mouse again, a new vertex is added at every place where the QuickSlice line intersects an object edge. This is a very convenient tool for slicing objects because the slice line follows the surface of the object, so you can see exactly where the slice will take place.

For the QuickSlice and Cut tools, you can enable the Full Interactivity option (located near the bottom of the Edit Geometry rollout). With this option enabled, the slice lines are shown as you move the mouse about the surface. With Full Interactivity disabled, the resulting lines are shown only when the mouse is clicked.

For Editable Poly objects, the Cut button is interactive. If you click a polygon corner, the cut edge snaps to the corner, and a new edge extends from the corner to a nearby corner. As you move the mouse around, the edge moves until you click where the edge should end. If you click in the middle of an edge or face, then new edges appear to the nearest corner. This interactive cut method is much easier to use than the Editable Mesh object method.

Tutorial: Combining, cutting and separating a car model

When dealing with a model that includes interior parts, you may want to slice the object and separate a portion to reveal the interior. Although this can be accomplished using a camera clipping plane, which is explained in Chapter 26, "Configuring Cameras," a more permanent solution uses the QuickSlice and Detach operations.

To combine, slice, and detach a car model, follow these steps:

  1. Open the image from book Sliced car.max file from the Chap 15 directory on the DVD.

  2. Before you can slice the car, you'll need to combine the entire car into a single Editable Poly object. Select one of the body parts, right-click on it, and select the Convert To image from book Editable Poly in the pop-up quadmenu.

  3. Open the Modify panel, and click on the dialog box icon next to the Attach button in the Edit Geometry rollout.

  4. In the Attach List dialog box that opens, click the All button and select the Attach button. In the Attach Options dialog box that appears, select the Match Material IDs to Material option and click OK.

    All objects are now combined into a single Editable Poly object.

  5. Click the QuickSlice button, and click in the Top viewport at the point where you want to slice the car. Then drag to align the slicing plane, and click again to make the slice. Click on the QuickSlice button again to exit QuickSlice mode.

  6. Select the Polygon subobject mode, and drag over all the polygons below the slice line in the Top viewport. Then click the Detach button in the Edit Geometry rollout. In the Detach dialog box, enter the name Car Front and click the OK button.

  7. Disable Polygon subobject mode, and use the Select and Move tool to separate the car front from the rest of the car.

Figure 15.8 shows the separated car front.

image from book
Figure 15.8: Using the Attach, QuickSlice, and Detach features, you can slice and separate mode parts

MSmooth

Both the MSmooth and Tessellate buttons include new settings dialog boxes, as shown in Figure 15.9. The MSmooth setting for Smoothness rounds all the sharp edges of an object. Tessellation can be done using Edges or Faces, and the Tension setting controls how tight the adjacent faces are.

image from book
Figure 15.9: The Settings dialog boxes for the MSmooth and Tessellate buttons let you interactively set the Smoothness and Tension values

The MSmooth button can be used to smooth to the selected subobjects in the same way as the MeshSmooth modifier. This button can be used several times. The Smoothness value determines which vertices are used to smooth the object. The higher the value, the more vertices are included and the smoother the result. You can also select that the smoothing is separated by Smoothing Groups or by Materials.

Figure 15.10 shows a simple diamond-shaped hedra that has been MeshSmoothed using the MSmooth button and then tessellated three consecutive times.

image from book
Figure 15.10: Using MSmooth reduces the sharp edges, and tessellating adds more editable faces

Tessellate

Tessellation is used to increase the density of the faces or edges. When modeling, you may want more details in a select area. This is where the tessellation command comes in. Tessellation can be applied to individual selected subobjects or to the entire object.

You can use the Tessellate button to increase the resolution of a mesh by splitting a face or polygon into several faces or polygons. You have two options to do this: Edge and Face.

The Edge method splits each edge at its midpoint. For example, a triangular face would be split into three smaller triangles. The Tension spinner to the right of the Tessellate button specifies a value that is used to make the tessellated face concave or convex.

The Face option creates a vertex in the center of the face and also creates three new edges, which extend from the center vertex to each original vertex. For a square polygon, this option would create six new triangular faces. (Remember, a square polygon is actually composed of two triangular faces.)

Figure 15.11 shows the faces of a cube that has been tessellated once using the Edge option and then again using the Face-Center option.

image from book
Figure 15.11: A cube tessellated twice, using each option once

Make Planar

A single vertex or two vertices don't define a plane, but three or more vertices do. If three or more vertices are selected, you can use the Make Planar button to make these vertices coplanar (which means that all vertices are on the same plane). Doing so positions the selected vertices so that they lie in the same plane. This is helpful if you want to build a new polygon face. Polygonal faces need to be coplanar. This button works in all subobject modes. The X, Y, and Z buttons let you collapse the current object or subobject selection to a single plane lying on the specified axis.

View and Grid Align

The View and Grid Align buttons move and orient all selected vertices to the current active viewport or to the current construction grid. These buttons can also be used in all subobject modes. This causes all the selected face normals to point directly at the grid or view.

Relax

The Relax button works just like the Relax modifier by moving vertices so they are as far as possible from their adjacent vertices according to the Amount value listed in the Settings dialog box. The Settings dialog box also includes an Iterations value, which determines the number of times the operation is performed. You can also select to hold all Boundary and outer points from being moved.

Hide, Copy, and Paste

The Hide button hides the selected subobjects. You can make hidden objects visible again with the Unhide All button.

After selecting several subobjects, you can create a named selection set by typing a name in the Name Selection Sets drop-down list in the main toolbar. You can then copy and paste these selection sets onto other shapes.

At the bottom of the Selection rollout is the Selection Information, which is a text line that automatically displays the number and subobject type of selected items.

Editing Vertex subobjects

When working with the Editable Poly objects, after you select a Vertex subobject mode (keyboard shortcut, 1) and select vertices, you can transform them using the transform buttons on the main toolbar. All vertex-specific commands are found within the Edit Vertices rollout.

Remove

The Remove button lets you delete the selected vertices. The Remove button automatically adjusts the surrounding subobjects to maintain the mesh integrity.

Note 

You can also delete Editable Poly subobjects using the Delete key.

Figure 15.12 shows a sphere object with several vertex subobjects selected. The middle image is an Editable Mesh that used the Delete feature, and the right image is an Editable Poly that used the Remove feature.

image from book
Figure 15.12: Deleting vertices also deletes the adjoining faces and edges, but Remove maintains the mesh

The Remove button also is available in Edge subobject mode. If you hold down the Ctrl key when clicking the Remove button when an edge is selected, vertices at either end of the deleted edge are also removed.

Break

You use the Break button to create a separate vertex for adjoining faces that are connected by a single vertex.

In a normal mesh, faces are all connected by vertices: Moving one vertex changes the position of all adjoining faces. The Break button enables you to move the vertex associated with each face independent of the others. The button is available only in Vertex subobject mode.

Figure 15.13 shows a hedra object. The Break button was used to separate the center vertex into separate vertices for each face. The face vertices can be manipulated independently, as the figure shows.

Extrude

The Extrude button copies and moves the selected subobject perpendicular a given distance and connects the new copy with the original one. For example, four edges forming a square extruded would form a box with no lid. To use this feature, select an edge or edges, click the Extrude button, and then drag in a viewport. The edges interactively show the extrude depth. Release the button when you've reached the desired distance.

Alternatively, you can set an extrude depth in the Extrusion spinner. The Group option extrudes all selected edges along the normal for the group (the normal runs perpendicular to the face) and the Normal Local option moves each individual edge along its local normal. To exit Extrude mode, click the Extrude button again or right-click in the viewport.

image from book
Figure 15.13: You can use the Break button to give each face its own vertex

The Extrude button is enabled for Face, Polygon, and Element subobject modes for the Editable Mesh object. Figure 15.14 shows a GeoSphere object with all edges selected and extruded. The Group Normal option averages all the normals and extrudes the edges in the averaged direction. The Local Normal option extrudes each edge along its own normal.

image from book
Figure 15.14: Subobjects can be extruded along an averaged normal or locally

The Extrude settings dialog box includes options for setting the Extrusion Height and the Extrusion Base Width.

Weld and Chamfer

The Weld and Chamfer buttons include settings dialog boxes that let you interactively see the results of different settings. The Weld settings dialog box includes a weld Threshold value and displays the number of vertices before and after the welding process, which is very useful to check whether a weld was successful.

Tip 

If you run into trouble with the Weld button and its Threshold value, try using the Collapse button.

The Target Weld button lets you click on a single vertex and move the cursor over an adjacent vertex. A rubber band line stretches from the first selected vertex to the target weld vertex and the cursor changes to indicate that the vertex under the cursor may be selected. Clicking on the target vertex welds the two vertices together.

The Chamfer button-which is enabled in Vertex, Edge, and Border subobject modes-lets you cut the edge off a corner and replace it with a face. Using the settings dialog box, you can interactively specify a Chamfer Amount. The settings dialog box also includes an open option, which cuts a hole in the polygon face instead of replacing it with a new polygon. Figure 15.15 shows two plane objects that have been chamfered with the open option enabled. The left plane had all its interior vertices selected, and the right plane had a selection of interior edges selected.

image from book
Figure 15.15: Enabling the open option in the Chamfer settings dialog box removes a polygon instead of replacing it

Connect

The Connect button can be used to add new edges to subobjects. In Vertex subobject mode, the button connects vertices on the opposite side of a face. In Edge and Border subobject mode, the button makes a settings dialog box available, which includes a setting to Connect Edge Segments. This value is the number of edge segments to add between the selected edges or borders. It also includes Pinch and Slide values. The Pinch value moves the segments closer or farther away from each other; the Slide value moves the segments along the original edge.

Remove Isolated and Unused Map Vertices

The Remove Isolated Vertices button deletes all isolated vertices. Vertices become isolated by some operations and add unneeded data to your file. You can search and delete them quickly with this button. Good examples of isolated vertices are those created using the Create button but never attached to an edge.

The Remove Unused Map Vertices button removes any leftover mapping vertices from the object.

Weight and Crease

The Weight settings control the amount of pull that a vertex has when NURMS subdivision or a MeshSmooth modifier is used. The higher the Weight value, the more resistant a vertex is to smoothing. For edge and border subobjects, the Weight value is followed by a Crease value that determines how visible the edge is when the mesh is smoothed. A value of 1.0 ensures that the crease is visible.

Editing Edge subobjects

Edges are the lines that run between two vertices. Edges can be closed, which means that each side of the edge is connected to a face, or open, which means that only one face connects to the edge. When a hole exists in a mesh, all edges that are adjacent to the hole are open edges. Mesh edges, such as in the interior of a shape that has been converted to a mesh, can also be invisible. These invisible edges appear as dotted lines that run across the face of the polygon.

You can select multiple edges by holding down either the Ctrl key while clicking the edges or the Alt key to remove selected edges from the selection set. You can also copy edges using the Shift key while transforming the edge. The cloned edge maintains connections to its vertices by creating new edges.

Many of the Edge subobject options work in the same way as the Vertex subobject options.

Split and Insert Vertex

The Split button adds a new vertex at the middle of the edge and splits the edge into two equal sections. This button is handy when you need to increase the resolution of a section quickly.

The Insert Vertex button lets you add a new vertex anywhere along an edge. The cursor changes to crosshairs when it is over an edge. Click to create a vertex. When in Edge, Border, Polygon, or Element subobject mode, this button also makes vertices visible.

Bridge Edges

The Bridge button for edges allows you to create a new set of polygons that connect the selected edges. If two edges are selected when the Bridge button is pressed, then they are automatically connected with a new polygon. If no edges are selected, then you can click the edges to bridge after clicking the Bridge button. The selected edges on either side of the bridge can be different in number.

You also can access the settings dialog box for the Bridge feature. This dialog box offers the options to Bridge Specific Edges or to Use Edge Selection. The Bridge Specific Edges option has two buttons for each edge. If you click one of these buttons, you can select an edge in the viewport. The Use Edge Selection option lets you drag a marquee in the viewport to select the edges. The Bridge Edges dialog box also includes options for setting the number of Segments, the Smooth value, and a Bridge Adjacent value, which increases the triangulation for angles above the given threshold.

Figure 15.16 shows a simple example of some edges that have been bridged. The letters before bridging are on the top and after bridging on the bottom.

image from book
Figure 15.16: Selecting two opposite edges and clicking the Bridge button in Edge subobject mode creates new connecting polygons.

Create Shape from Selection

The Create Shape from Selection button creates a new spline shape from selected edges. The Create Shape dialog box appears, shown in Figure 15.17, enabling you to give the new shape a name. You can also select options for Smooth or Linear shape types.

image from book
Figure 15.17: The Create Shape dialog box lets you name shapes created from selected edge subobjects

Edit Triangulation

For the Editable Poly object, the Edge, Border, Polygon, and Element subobjects include the Edit Triangulation button. The Edit Triangulation button lets you change the internal edges of the polygon by dragging from one vertex to another. When this button is clicked, all hidden edges appear. To edit the hidden edges, just click a vertex and then click again where you want the hidden edge to go. If you're dealing with multiple four-sided polygons, then the Turn button is quicker.

Turn

The Turn button rotates the hidden edges that break up the polygon into triangles (all polygonal faces include these hidden edges). For example, if a quadrilateral (four-sided) face has a hidden edge that runs between vertices 1 and 3, then the Turn button changes this hidden edge to run between vertices 2 and 4. This affects how the surface is smoothed when the polygon is not coplanar.

This button is available for all subobject modes except Vertex. When enabled, all subobjects that you click on are turned until the button is disabled again. Figure 15.18 shows the top face of a Box object with a hidden edge across it diagonally. The Turn button was used to turn this hidden edge.

image from book
Figure 15.18: The Turn feature is used to change the direction of edges

Editing Border subobjects

Editable Poly objects do not need the Face subobject that is found in the Editable Mesh objects because they support polygon faces. Instead, they have a Border subobject. Border subobjects are polygons with no faces that are actually holes within the geometry.

Cap

The Cap button causes the existing border selection to be filled in with a single coplanar polygon. After using this feature, the Border subobject is no longer identified as a Border subobject.

Bridge

The Bridge feature joins two selected Border subobjects with a tube of polygons that connect the two borders. The two selected borders must be part of the same object and need not have an equal number of segments.

The Bridge dialog box, shown in Figure 15.19, lets you specify twist values for each edge, the number of segments, and the Taper, Bias, and Smooth values.

image from book
Figure 15.19: The Bridge dialog box lets you specify options such as the number of segments, the Taper, and whether the bridge twists

Tutorial: Bridging a forearm

The Bridge tool is great for working with two border selections, allowing you to create a smooth set of polygons that flow between them. For this example, you'll create a forearm by bridging a hi-res hand model with a simple cylinder. The polygons of the hand and the cylinder that are to be joined have already been removed.

To create a forearm object by bridging a cylinder with a hand model, follow these steps:

  1. open the image from book Forearm bridge.max file from the Chap 15 directory on the DVD.

  2. With the body parts selected, open the Modify panel, and select the Border subobject mode. Then press and hold the Ctrl key, and click on the borders for the hand and cylinder objects.

  3. With both facing Border subobjects selected, click the dialog box icon next to the Bridge button in the Edit Geometry rollout.

  4. In the Bridge dialog box, select the Use Border Selection and set the Segments value to 6. Then click the OK button.

Figure 15.20 shows the resulting forearm object.

image from book
Figure 15.20: The Bridge feature can be used to quickly connect body parts such as this forearm

Editing Polygon and Element subobjects

Like the other subobject modes, Editable Polys can be edited at the polygon and element subobject level. The buttons for these modes are found in the Edit Polygons and Edit Elements rollouts.

Outline and Inset

The outline button offsets the selected polygon a specified amount. This increases the size of the selected polygon or element. The Inset button creates another polygon set within the selected polygon and connects their edges. For both these buttons, a Settings dialog box is available that includes the outline or Inset Amount values.

Bevel

The Bevel button extrudes the Polygon subobject selection and then lets you bevel the edges. To use this feature, select a polygon, click the Bevel button, drag up or down in a viewport to the Extrusion depth, and release the button. Drag again to specify the Bevel amount. The Bevel amount determines the relative size of the extruded face.

Figure 15.21 displays a poly dodecahedron. Each face has been locally extruded with a value of 20 and then locally beveled with a value of 10.

image from book
Figure 15.21: The top faces of this dodecahedron have been individually extruded and beveled

Flip

The Flip button flips the normal vectors for the selected subobjects. The Flip button is available only in Polygon and Element subobject modes.

Retriangulate

The Retriangulate button automatically computes all the internal edges for you for the selected subobjects.

Hinge From Edge

The Hinge From Edge button rotates a selected polygon as if one of its edges were a hinge. The angle of the hinge depends on the distance that you drag with the mouse, or you can use the available settings dialog box. In the settings dialog box, shown in Figure 15.22, you can specify an Angle value and the number of segments to use for the hinged section.

image from book
Figure 15.22: The Hinge Polygons From Edge dialog box lets you select a hinge

By default, one of the polygon's edges will be used as the hinge about which the section rotates, but in the settings dialog box, you can click the Pick Hinge button and select an edge (which doesn't need to be attached to the polygon). Figure 15.23 shows a sphere primitive with four polygon faces that have been hinged around an edge at the sphere's center.

image from book
Figure 15.23: Several polygon faces in the sphere have been extruded along a hinge

Extrude Along Spline

The Extrude Along Spline button can be used to extrude a selected polygon along the spline path. The settings dialog box, shown in Figure 15.24, includes a Pick Spline button that you can use to select the spline to use. You can also specify the number of segments, the Taper Amount and Curve, and a Twist value. You also have an option to Align the extrusion to the face normal or to rotate about the normal.

image from book
Figure 15.24: The Extrude Polygons Along Spline settings dialog box

Tutorial: Building an octopus

The one thing about an octopus that makes it unique is the fact that it has eight tentacles. Creating these tentacles can be easily accomplished with the Extrude Along Spline feature.

To create an octopus using the Extrude Along Spline feature, follow these steps:

  1. open the image from book Octopus.max file from the Chap 15 directory on the DVD.

    This file includes the base of an octopus created from a squashed sphere primitive that has been converted to an Editable Poly. Eight splines surround the object.

  2. Select the octopus object to automatically open the Modify panel. In the Selection rollout, click the Polygon subobject button (keyboard shortcut, 4) and enable the Ignore Backfacing option in the Selection rollout.

  3. Right-click the Perspective viewport title, and select the Edged Faces option from the pop-up menu (or press the F4 key).

    This makes the polygons easier to see.

  4. Click a single face object at the base of the sphere object, and click the Extrude Along Spline settings dialog box button to open the Extrude Polygons Along Spline dialog box.

  5. Click the Pick Spline button, and select the spline to the side of the face. Set the Segments to 6 and the Taper Amount to 1.0, and click the OK button. Make sure that the Align to Face Normal option isn't selected.

  6. Repeat Steps 4 and 5 for each spline surrounding the octopus.

  7. In the Subdivisions Surface rollout, enable the Use NURMS Subdivision option and set the Display Iterations value to 2 to smooth the entire octopus.

Figure 15.25 shows the resulting octopus.

image from book
Figure 15.25: The tentacles of this octopus were created easily with the Extrude Along Spline feature

Surface properties

Below the Edit Geometry rollout are several rollouts of options that enable you to set additional properties such as vertex colors, material IDs, Smoothing Groups, and NURMS Subdivision.

Vertex Surface properties

The Vertex Properties rollout in Vertex subobject mode lets you define the Color, Illumination, and Alpha value of object vertices. The color swatches enable you to select Color and Illumination colors for the selected vertices. The Alpha value sets the amount of transparency for the vertices. After you assign colors, you can then recall vertices with the same color by selecting a color (or illumination color) in the Select Vertices By section and clicking the Select button. The RGB values match all colors within the Range defined by these values.

CROSS-REF 

You can find more information on vertex colors in Chapter 25, "Creating Baked Textures and Normal Maps".

Polygon and Element Surface properties

For Polygon, and Element subobjects, the Polygon Properties rollout, shown in Figure 15.26, includes Material IDs and Smoothing Groups options. The Material IDs option settings are used by the Multi/Sub-object material type to apply different materials to faces or polygons within an object. By selecting a polygon subobject, you can use these option settings to apply a unique material to the selected polygon. The Select ID button selects all subobjects that have the designated Material ID, or you can select subobjects using a material name in the drop-down list under the Select ID button.

image from book
Figure 15.26: The Polygon Properties rollout includes settings for Material IDs, Smoothing Groups, and Vertex Colors

CROSS-REF 

You can find more information on the Multi/Sub-object material type in Chapter 21, "Creating and Applying Simple Materials".

You use the Smoothing Groups option to assign a subobject to a unique smoothing group. To do this, select a subobject and click a Smoothing Groups number. The Select By SG button, like the Select By ID button, opens a dialog box where you can enter a Smoothing Groups number, and all subobjects with that number are selected. The Clear All button clears all Smoothing Groups number assignments, and the Auto Smooth button automatically assigns Smoothing Groups numbers based on the angle between faces as set by the value to the right of the Auto Smooth button.

The Polygon Properties rollout also includes options for setting vertex Color, Illumination, and Alpha values.

Subdivision Surface

Editable Poly objects include an extra rollout called Subdivision Surface that automatically smoothes the object when enabled. The Subdivision Surface rollout, shown in Figure 15.27, applies a smoothing algorithm known as NURMS, which stands for Non-Uniform Rational Mesh Smooth. It produces similar results to the MSmooth button but offers control over how aggressive the smoothing is applied; the settings can be different for the viewports and the renderer.

To enable NURMS subdivision, you need to enable the Use NURMS Subdivision option. The Smooth Result option places all polygons into the same smoothing group and applies the MeshSmooth to the entire object. Applying NURMS with a high Iterations value results in a very dense mesh, but the Isoline Display option displays a simplified number of edges, making the object easier to work with. The process of smoothing adds many edges to the object, and the Isoline Display option displays only the isolines. The Show Cage option makes the surrounding cage visible or invisible. The two color swatches to the right of the Show Cage option let you set the color of the cage and the selection.

image from book
Figure 15.27: The Subdivision Surface rollout includes controls for NURMS subdivision

The Iterations value determines how aggressive the smoothing is. The higher the Iterations value, the more time it takes to compute and the more complex the resulting object. The Smoothness value determines how sharp a corner must be before adding extra faces to smooth it. A value of 0 does not smooth any corners, and a maximum value of 1.0 smoothes all polygons.

The two check boxes in the Render section can be used to set the values differently for the Display and Render sections. If disabled, then both the viewports and the renderer use the same settings. The smoothing algorithm can be set to ignore smoothing across Smoothing Groups and Materials.

If the Show Cage option is enabled (at the bottom of the Edit Geometry rollout), an orange cage surrounds the NURMS object and shows the position of the polygon faces that exist if NURMS is disabled. This cage makes selecting the polygon faces easier.

Tutorial: Modeling a tooth

If you've ever had a root canal, then you know how much pain removing a tooth can cause. Luckily, modeling a tooth isn't painful at all, as we see in this example.

To model a tooth using NURMS, follow these steps:

  1. Select Create image from book Standard Primitives image from book Box, and drag in the Top viewport to create a Box object. Set its dimensions to 140 × 180 × 110 with Segments of 1 × 1 × 1. Then right-click, and select Convert To image from book Editable Poly from the pop-up quadmenu.

  2. Click the Polygon icon in the Selection rollout to enable Polygon subobject mode. Then select the Top viewport, and press B to change it to the Bottom viewport. Then click the box's bottom polygon in the Bottom viewport.

  3. Click the Select and Scale button (R), and scale the bottom polygon 10%.

  4. Drag over the entire object to select all polygons, and click the Tessellate button once to divide the polygon into more polygons. Then select Edit image from book Region image from book Window (or click the Window/Crossing button in the main toolbar) to enable the Window selection method, and drag over the bottom of the Box object in the Left viewport to select just the bottom polygons. Click the Tessellate button again.

  5. Select the Vertex subobject mode in the Selection rollout, press and hold the Ctrl key, and select the vertices at the center of each quadrant. Then move these vertices downward in the Left viewport a distance about equal to the height of the Box.

  6. Select the Bottom viewport again, and press T to change it back to the Top viewport. Select the single vertex in the center of the polygon with the Ignore Backfacing option enabled in the Selection rollout, and drag it slightly downward in the Left viewport.

  7. Disable the Ignore Backfacing option in the Selection rollout, and select the entire second row of vertices in the Left viewport. With the Select and Scale tool, scale these vertices toward the center in the polygon in the Top viewport.

  8. In the Subdivision Surface rollout, enable the Use NURMS Subdivision option and set the Iterations value to 2.

Figure 15.28 shows the completed tooth.

image from book
Figure 15.28: The organic look for this tooth is accomplished with NURMS




3ds Max 9 Bible
3ds Max 9 Bible
ISBN: 0470100893
EAN: 2147483647
Year: 2007
Pages: 383

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net