Chapter 3. NURBS Modeling in Maya

Creating 3D models in computer graphics is an art form and a discipline unto itself. It takes years to master and requires an understanding of form, composition, anatomy, mechanics, gesture, and so on. It's an addictive art that never stops evolving. This chapter and Chapter 4 will introduce you to the different ways the tools in Maya can be applied to various modeling tasks. With a firm understanding of how the tools work, you can master the art of creating 3D models.

Together, Chapters 3 and 4 demonstrate various techniques for modeling with NURBS, polygons, and subdivision surfaces to create a single model of a woman in a space suit. Chapter 3 begins with using NURBS surfaces to create a detailed helmet for the space suit.

In this chapter you will learn to:

  • Use image planes

  • Apply NURBS curves and surfaces

  • Model with NURBS surfaces

  • Create realistic surfaces

  • Adjust NURBS render tessellation

Image Planes

The example used in this chapter is based on a design created by Chris Sanchez. Chris is a professional concept artist and designer working in film production at Prologue Films in Venice, California. For this book I asked Chris to design a character in an environment suit that is heavily detailed and stylish in the hope that as many modeling techniques as possible could be demonstrated using a single project. Figure 3.1 shows Chris's drawing.

The concept drawing for the project, drawn by Chris Sanchez

Figure 3.1. The concept drawing for the project, drawn by Chris Sanchez

It's not unusual in the fast-paced world of production to be faced with building a model based on a single view of the subject. You're also just as likely to be instructed to blend together several different designs. You can safely assume that the concept drawing you are given has been approved by the director. It's your responsibility to follow the spirit of that design as closely as possible, with an understanding that, at the same time, the technical aspects of animating and rendering the model may force you to make some adjustments. Some design aspects that work well in a two-dimensional drawing don't always work as well when translated into a three-dimensional model.

The best way to start is to create some orthographic drawings based on the sketch. You can use these as a guide in Maya to ensure that the placement of the model's parts and the proportions are consistent. Sometimes the concept artist creates these drawings for you; sometimes you need to create them yourself (sometimes you may be both the modeler and the concept artist). When creating the drawings, it's usually a good idea to focus on the major forms, creating bold lines and leaving out most of the details. A heavily detailed drawing can get confusing when working in Maya. You can always refer to the original concept drawing as a guide for the details. Since there is only one view of the design, some parts of the model need to be invented for the three-dimensional model. The orthographic drawings for this project are shown in Figure 3.2.

Simplified drawings have been created for the side and front views of the concept.

Figure 3.2. Simplified drawings have been created for the side and front views of the concept.

After you create the orthographic drawings, your first task is to bring them into Maya and apply them to image planes.

Creating Image Planes

Image planes are often used as a modeling guide. They are attached to the cameras in Maya and have a number of settings that you can adjust to fit your own preferred style.

  1. Create a new scene in Maya.

  2. Switch to the side view. From the View menu in the viewport panel, choose Image Plane

    Creating Image Planes
    Use the View menu in the panel menu bar to addan image plane to the camera.

    Figure 3.3. Use the View menu in the panel menu bar to addan image plane to the camera.

  3. The side view opens and appears in the viewport. Select the side camera in the Outliner and open the Attribute Editor. Switch to the imagePlane1 tab (see Figure 3.4).

  4. In the Image Plane Attributes section, you'll find controls that change the appearance of the plane in the camera view. Make sure the Display option is set to In All Views. This way, when you switch to the perspective view, the plane will still be visible.

  5. You can set the Display mode to RGB if you want just color or to RGBA to see color and alpha. The RGBA option is more useful when the image plane has an alpha channel and is intended to be used as a backdrop in a rendered image as opposed to a modeling guide. There are other options such as Luminance, Outline, and None.

  6. The Color Gain and Color Offset sliders can be used to change the brightness and contrast. By lowering the Color Gain and raising the Color Offset, you can get a dimmer image with less contrast.

  7. The Alpha Gain slider adds some transparency to the image display. Lower this slider to reduce the opacity of the plane.

  8. When modeling you'll want to set Image Plane to Fixed so the image plane does not move when you change the position of the camera. When using the image plane as a renderable backdrop, you may want to have the image attached to the camera.

    The options for the image plane are displayed in the Attribute Editor.

    Figure 3.4. The options for the image plane are displayed in the Attribute Editor.

    Other options include using a texture or an image sequence. An image sequence may be useful when you are matching animated models to footage.

  9. In the Placement Extras settings, you can use the Coverage sliders to stretch the image. The Center options allow you to offset the position of the plane in X, Y, and Z. The Height and Width fields allow you to resize the plane itself. In the Center options, set the Z file to −1.8 to slide the plane back a little.

  10. Switch to the front camera, and use the View menu in the viewport to add another image plane. Import the spaceGirlFront.tif image.

  11. By default both image planes are placed at the center of the grid. To make modeling a little easier, move them away from the center. Set the Center X attribute of the side-view image (imagePlane1) to −15 and the Center Z attribute of the front-view image (imagePlane2) to −12. In the perspective view, you'll see that the image planes are no longer in the middle of the grid (see Figure 3.5).

    The image planes are moved away from the center of the grid by adjusting the Center attributes in the Attribute Editor.

    Figure 3.5. The image planes are moved away from the center of the grid by adjusting the Center attributes in the Attribute Editor.

Reference Plane Display Layers

During the course of a modeling session, you may want to turn the image planes on and off quickly without taking the time to open the Attribute Editor for each and change the settings. To make things more convenient, you can put each plane on its own display layer.

  1. Create a display layer in the Display Layer Editor and name it frontView. Select the image plane for the front view in the perspective window (drag a selection across the edge of the plane in the perspective view).

  2. In the Display Layer Editor, right-click on the front-view layer and choose Add Selected Object. You can now toggle the visibility of the front view by clicking the V button for the layer in the Display Layer Editor.

  3. Repeat steps 1 and 2 for the side-view image plane, and then name the new layer sideView (see Figure 3.6).

  4. Save the scene as spaceGirl_v01.ma. To see a finished version of the scene, open spaceGirl_v01.ma from the chapter3scenes directory.

The image planes are added to display layers so that their visibility can be turned on and off while working.

Figure 3.6. The image planes are added to display layers so that their visibility can be turned on and off while working.

Understanding NURBS

NURBS is an acronym that stands for Non-Uniform Rational B-Spline. A NURBS surface is created by spreading a three-dimensional surface across a network of NURBS curves. The curves themselves involve a complex mathematical computation that, for the most part, is hidden hidden from the user in the software. As a modeler you need to understand a few concepts when working with NURBS, but the software takes care of most of the advanced mathematics so that you can concentrate on the process of modeling.

Early in the history of 3D computer graphics, NURBS were used to create organic surfaces and even characters. However, as computers have become more powerful and the software has developed more advanced tools, most character modeling is accomplished using polygons and subdivision surfaces. NURBS are more ideally suited for hard-surface modeling; objects such as vehicles, equipment, and commercial product designs benefit from the types of smooth surfacing produced by NURBS models.

All NURBS objects are automatically converted to triangular polygons at render time by the software. You can determine how the surfaces will be tessellated (converted into polygons) before rendering and change these settings at any time to optimize rendering. This gives NURBS the advantage that their resolution can be changed when rendering. Models that appear close to the camera can have higher tessellation settings than those farther away from the camera.

One of the downsides of NURBS is that the surfaces themselves are made of four-sided patches. You cannot create a three- or five-sided NURBS patch, which can sometimes limit the kinds of shapes you can make with NURBS. If you create a NURBS sphere and use the Move tool to pull apart the control vertices at the top of the sphere, you'll see that even the patches of the sphere that appear as triangles are actually four-sided panels (see Figure 3.7).

To understand how NURBS works a little better, let's take a quick look at the basic building block of NURBS surfaces: the curve.

Pulling apart the control vertices at the top of a NURBS sphere reveals that all of the patches have four sides.

Figure 3.7. Pulling apart the control vertices at the top of a NURBS sphere reveals that all of the patches have four sides.

Understanding Curves

All NURBS surfaces are created based on a network of NURBS curves. Even the basic primitives, such as the sphere, are made up of circular curves with a surface stretched across them. The curves themselves can be created several ways. A curve is a line defined by points. The points along the curve are referred to as curve points. Movement along the curve in either direction is defined by its U coordinates. When you right-click on a curve, you can choose to select a curve point. The curve point can be moved along the U direction of the curve, and the position of the point is defined by its U parameter.

Curves also have edit points that define the number of spans along a curve. A span is the section of the curve between two edit points. Changing the position of the edit points changes the shape of the curve; however, this can lead to unpredictable results. It is a much better idea to use a curve's control vertices to edit the curve's shape.

Control vertices (CVs) are handles used to edit the curve's shapes. Most of the time you'll want to use the control vertices to manipulate the curve. When you create a curve and display its CVs, you'll see them represented as small dots. The first CV on a curve is indicated by a small box; the second is indicated by the letter U. The various components are displayed in Figure 3.8.

The top image shows a selected curve point on a curve, the middle image shows the curve with edit points displayed, and the bottom image shows the curve with control vertices (CVs) displayed.

Figure 3.8. The top image shows a selected curve point on a curve, the middle image shows the curve with edit points displayed, and the bottom image shows the curve with control vertices (CVs) displayed.

The degree of a curve is determined by the number of CVs per span minus one. In other words, a 3-degree (or cubic) curve has four CVs per span. A 1-degree (or linear) curve has two CVs per span (Figure 3.9). Linear curves have sharp corners where the curve changes directions; curves with two or more degrees are smooth and rounded where the curve changes direction. Most of the time you'll use either linear (1-degree) or cubic (3-degree) curves.

You can add or remove a curve's CVs and edit points, and you can also use curve points to define a location where a curve is split into two curves or joined to another curve.

Parameterization of a curve refers to the way in which the points along the curve are numbered. There are two types of parameterization: uniform and chord length. A curve with uniform parameterization has its points evenly spaced along the curve. The parameter of the last edit point along the curve is equal to the number of spans in the curve. You also have the option of specifying the parameterization range between 0 and 1. This method is available to make Maya more compatible with other NURBS modeling programs.

A linear curve has sharp corners.

Figure 3.9. A linear curve has sharp corners.

Chord length parameterization is a proportional numbering system that causes the length between edit points to be irregular. The type of parameterization you use depends on what you are trying to model. Curves can be rebuilt at any time to change their parameterization; however, this will sometime change the shape of the curve.

You can rebuild a curve to change its parameterization (Edit Curves

A linear curve has sharp corners.

Understanding NURBS Surfaces

NURBS surfaces follow many of the same rules as NURBS curves since they are defined by a network of curves. A primitive, such as a sphere or a cylinder, is simply a NURBS surface lofted across circular curves. You can edit a NURBS surface by moving the position of the surface's CVs (see Figure 3.10). You can also select the hulls of a surface, which are groups of CVs that follow one of the curves that define a surface (see Figure 3.11).

NURBS curves use the U coordinates to specify the location of a point along the length of the curve. NURBS surfaces add the V coordinate to specify the location of a point on the surface. So, a given point on a NURBS surface has a U coordinate and a V coordinate. The U coordinates of a surface are always perpendicular to the V coordinates of a surface. The UV coordinate grid on a NURBS surface is just like the lines of longitude and latitude drawn on a globe.

The shape of a NURBS surface can be changed by selecting its CVs and moving them with the Move tool.

Figure 3.10. The shape of a NURBS surface can be changed by selecting its CVs and moving them with the Move tool.

A hull is a group of connected CVs. Hulls can be selected and repositioned using the Move tool.

Figure 3.11. A hull is a group of connected CVs. Hulls can be selected and repositioned using the Move tool.

Just like NURBS curves, surfaces have a degree setting. Linear surfaces have sharp corners, and cubic surfaces (or any surface with a degree higher than 1) are rounded and smooth (see Figure 3.12). Oftentimes a modeler will begin a model as a linear NURBS surface and then either rebuild it as a cubic surface later on (Edit NURBS

A hull is a group of connected CVs. Hulls can be selected and repositioned using the Move tool.
A linear NURBS surface has sharp corners.

Figure 3.12. A linear NURBS surface has sharp corners.

You can start a NURBS model using a primitive, such as a sphere, cone, torus, or cylinder, or you can build a network of curves and loft surfaces between the curves or any combination of the two. When you select a NURBS surface, the wireframe display shows the curves that define the surface. These curves are referred to as isoparms, which is short for isoparametric curve.

NURBS surfaces have implicit UV texture coordinates. This means that the UVs are not mapped as a separate process, as is the case with polygon models; rather the texture coordinates are defined by the parameterization of the surface itself. This offers less flexibility in the way textures are mapped on the surface, but at the same time you don't need to worry about creating a UV coordinate map once the model is complete.

A single NURBS model may be made up of numerous NURBS patches that have been stitched together. This technique was used for years to create CG characters. When you stitch two patches together, the tangency must be consistent between the two surfaces to avoid visible seams. It's a process that often takes some practice to master (see Figure 3.13).

A character is created from a series of NURBS patches stitched together.

Figure 3.13. A character is created from a series of NURBS patches stitched together.

Surface Seams

Many NURBS primitives have a seam where the end of the surface meets the beginning. Imagine a piece of paper rolled into a cylinder. At the point where one end of the paper meets the other there is a seam. The same is true for many NURBS surfaces that define a shape. When you select a NURBS surface, the wireframe display on the surface shows the seam as a bold line. You can also find the seam by selecting the surface and choosing Display

Surface Seams
The point on a NURBS surface where the seams meet is indicated by displaying the Surface Origins.

Figure 3.14. The point on a NURBS surface where the seams meet is indicated by displaying the Surface Origins.

The seam can occasionally cause problems when you're working on a model. In many cases, you can change the position of the seam by selecting one of the isoparms on the surface (right-click on the surface and choose Isoparms) and selecting Edit NURBS

The point on a NURBS surface where the seams meet is indicated by displaying the Surface Origins.

NURBS Display Controls

You can change the quality of the surface display in the viewport by selecting the surface and pressing 1, 2, or 3 on the keyboard. Pressing the 1 key displays the surface at the lowest quality, which makes the angles of the surface appear as corners. Pressing the 3 key displays the surface as smooth curves. The 2 key gives a medium-quality display. None of these display modes affect how the surface will look when rendered, but choosing a lower display quality can help improve Maya's performance in heavy scenes. The same display settings apply for NURBS curves as well. If you create a cubic curve that has sharp corners, remember to press the 3 key to make the curve appear smooth.

Modeling NURBS Surfaces

To start the model of the space girl, begin by creating the helmet from a simple NURBS sphere.

  1. Continue with the scene from the previous section or open the spaceGirl_v01.ma scene from the chapter 3scenes folder on the DVD. Make sure the images are visible on the image planes. The source files for these images are found in the chapter3sourceimages folder.

  2. Choose Create

    Modeling NURBS Surfaces
  3. In the Channel Box for the sphere, click the makeNurbsSphere1 node. If this node is not visible in the Channel Box, you need to enable Construction History and remake the sphere. Construction History needs to be on for this lesson. Make sure Sections is set to 8 and Spans is set to 4.

  4. Switch to the side view, select the sphere, and move it up along the Y axis so it roughly matches the shape of the helmet in the side view (see Figure 3.15). Enter the following settings in the Channel Box:

    • Translate X: 0

    • Translate Y: 9.76

    • Translate Z: 0.845

    • Rotate X: 102

    • Rotate Y: 0

    • Rotate Z: 0

    • Scale X: 2.547

    • Scale Y: 2.547

    • Scale Z: 2.547

  5. To see the sphere and the reference, you can enable X-ray mode in the side view (Shading

    Modeling NURBS Surfaces
    A NURBS sphere is created and positioned in the side view to match the drawing of the helmet.

    Figure 3.15. A NURBS sphere is created and positioned in the side view to match the drawing of the helmet.

    To create a separate surface for the glass shield at the front of the helmet, you can split the surface into two parts.

  6. Right-click on the sphere and choose Isoparm. An isoparm is a row of vertices on the surface; sometimes it's also referred to as knots. Select the center line that runs vertically along the middle of the sphere.

  7. Drag the isoparm forward on the surface of the sphere until it matches the dividing line between the shield and the helmet in the drawing (see Figure 3.16).

    An isoparm is selected to match the place where the glass shield meets the rest of the helmet.

    Figure 3.16. An isoparm is selected to match the place where the glass shield meets the rest of the helmet.

  8. Choose Edit NURBS

    An isoparm is selected to match the place where the glass shield meets the rest of the helmet.
    The area of the shield is detached from the rest of the sphere, creating a new surface node.

    Figure 3.17. The area of the shield is detached from the rest of the sphere, creating a new surface node.

  9. Select the front surface, and scale down and reposition it so that it matches the drawing. Enter the following settings in the Channel Box:

    • Translate X: 0

    • Translate Y: 9.678

    • Translate Z: 1.245

    • Rotate X: 102

    • Rotate Y: 0

    • Rotate Z: 0

    • Scale X: 2.124

    • Scale Y: 2.124

    • Scale Z: 2.124

  10. Right-click on the rear part of the sphere and choose Control Vertex. You'll see the CVs of the helmet highlighted. Drag a selection marquee over the vertices on the back, and switch to the Move tool (hot key = w).

  11. Use the Move tool to position these vertices so they match the contour of the back of the helmet. Select the Scale tool (hot key = r) and scale them down by dragging on the blue handle of the Scale tool. Adjust their position with the Move tool so the back of the helmet comes to a rounded point.

  12. Select the group of vertices at the top of the helmet toward the back (third isoparm from the left), and use the Move tool to move them upward so that they match the contour of the helmet.

  13. Select the group of vertices at the bottom of the helmet along the same isoparm. Move these upward to roughly match the drawing (see Figure 3.18).

  14. Rename the back portion helmet.

  15. Save the scene as helmet_v01.ma. To see a version of the scene to this point, open the helmet_v01.ma scene from the chapter 3scenes directory on the DVD.

Lofting Surfaces

A loft creates a surface across two or more selected curves. It's a great tool for filling gaps between surfaces or developing a new surface from a series of curves. In this section, you'll bridge the gap between the helmet and shield by lofting a surface.

  1. Continue with the scene from the previous section or open the helmet_v01.ma scene from the chapter 3scenes folder on the DVD.

  2. Switch to the side view. Right-click on the helmet surface and choose Isoparm. Select the isoparm at the open edge of the surface.

    The CVs on the back portion of the helmet are selected and moved to match the drawing.

    Figure 3.18. The CVs on the back portion of the helmet are selected and moved to match the drawing.

  3. Right-click on the helmet's shield and choose Isoparm. Hold down the Shift key and select the isoparm at the edge of the surface so you have a total of two isoparms selected: one at the open edge of the helmet and the other at the open edge of the shield (sometimes this takes a little practice).

  4. Select Surfaces

    The CVs on the back portion of the helmet are selected and moved to match the drawing.
    The options for the loft surface. Once created, the loft bridges the gap between the helmet and the shield.

    Figure 3.19. The options for the loft surface. Once created, the loft bridges the gap between the helmet and the shield.

    By setting Surface Degree to Linear, you can create the hard-edge ridge detail along the helmet's seal depicted in the original drawing.

  5. In the side view, zoom in closely to the top half of the loft. Right-click on the Loft and choose Hull.

  6. Select the second hull from the left and choose the Move tool (hot key = w). Open the options for the Move tool, and set the Move Axis to Normals Average so you can easily move the hull back and forth relative to the rotation of the helmet.

  7. Move the hull forward until it meets the edge of the shield (see Figure 3.20).

    Select the hulls of the lofted surface, and use the Move tool to shape the contour of the loft.

    Figure 3.20. Select the hulls of the lofted surface, and use the Move tool to shape the contour of the loft.

  8. Using the up-arrow key, select the next hull in from the left. Move this hull toward the back to form a groove in the loft.

  9. Use the Scale and Move tools to reposition the hulls of the loft to imitate some of the detail in the drawing.

  10. Turn off the visibility of the image planes layers and disable X-ray mode so you can see how the changes to the loft look. Switch to the perspective mode and examine the helmet (see Figure 3.21).

    The ridges in the surface between the helmet shield and the helmet are created by moving and scaling the hulls of the lofted surface.

    Figure 3.21. The ridges in the surface between the helmet shield and the helmet are created by moving and scaling the hulls of the lofted surface.

    As long as the construction history is preserved on the loft, you can make changes to the helmet's shape, and the loft will automatically update. If you take a close look at the original concept sketch, it looks as though the front of the helmet may not be perfectly circular. By making a few small changes to the helmet's CVs, you can create a more stylish and interesting shape for the helmet's shield.

  11. Select the helmet and the shield but not the loft. Switch to component mode. The CVs of both the helmet and the shield should be visible.

  12. Select the four CVs at the bottom center of the shield and the four CVs at the bottom of the helmet. In the options for the Move tool, make sure the Move Axis is still set to Normals Average. Switch to the side view, and use the Move tool to pull these forward toward the front of the helmet.

  13. Switch to the Rotate tool, and drag upward on the red circle to rotate the CVs on their local X axis. Switch back to the Move tool, and push along the red arrow to move them backward slightly.

  14. These changes will cause some distortion in the shape of the shield and the loft. You can adjust the position of some of the CVs very slightly to return the shield to its rounded shape. Select the CVs from the side view by dragging a selection marquee around the CVs— so that the matching CVs on the opposite side of the X axis of the helmet are selected as well (as opposed to just clicking on the CVs). Use the move tool to adjust the position of the selected CVs.

  15. Keep selecting CVs, and use the Move tool to reposition them until the distortions in the surface are minimized. Remember, you are only selecting the CVs of the helmet and shield, not the CVs of the lofted surface in between (remember to save often!).

    This is the hardest part of NURBS modeling, and it does take practice, so be patient as you work. Figure 3.22 shows the process. Figure 3.23 shows the reshaped helmet and shield from the perspective view.

  16. Save the scene as helmet_v02.ma. To see a version of the scene to this point, open the helmet_v02.ma scene from the chapter3scenes directory.

Intersecting Surfaces

You can use one NURBS object to model another. Using a bit of ingenuity, you can find ways to create interesting shapes by carving a NURBS surface with a second surface. In this section, you'll prepare the helmet in order to create an opening at its bottom so the space girl can fit the helmet around her head.

  1. Continue with the scene from the previous section, or open the helmet_v02.ma scene from the chapter3scenes directory.

  2. Create a new NURBS sphere. Position the sphere so it intersects the bottom of the helmet, and scale it in size so it covers most of the bottom of the helmet. Use the following settings in the Channel Box:

    • Translate X: 0

    • Translate Y: 8.491

    • Translate Z: −1.174

    • Scale X: 1.926

    • Scale Y: 2.671

    • Scale Z: 2.834

      The CVs at the bottom of the shield and helmet are selected from the side view. Using the Move and Rotate tools, they are carefully positioned to match the shape of the helmet in reference drawings.

      Figure 3.22. The CVs at the bottom of the shield and helmet are selected from the side view. Using the Move and Rotate tools, they are carefully positioned to match the shape of the helmet in reference drawings.

      The reshaped helmet and shield from the perspective view

      Figure 3.23. The reshaped helmet and shield from the perspective view

  3. Select the helmet, and then Shift+click the sphere. Choose Edit NURBS

    The reshaped helmet and shield from the perspective view
  4. In the viewport you'll see a new curve created on the helmet. Select the sphere you created for the intersection and hide it (Ctrl+h). You can see the curve drawn on the bottom of the helmet (see Figure 3.25).

Because of the helmet's construction history, if you move either sphere of the helmet, the curve will change positions. The curve on the surface can be selected and moved as well using the Move tool. As you reposition the curve on the surface, it will remain attached to the surface.

The options for the Intersect Surfaces operation

Figure 3.24. The options for the Intersect Surfaces operation

The Intersect Surfaces operation creates a curve on the surface where the two surfaces intersect.

Figure 3.25. The Intersect Surfaces operation creates a curve on the surface where the two surfaces intersect.

Trim Surfaces

When you trim a surface, you cut a hole in it. This does not actually delete parts of the surface; rather it makes the parts invisible as if they had been deleted. This is one way to get around the fact that NURBS surfaces must consist of only four cornered patches. To trim a surface, you must first create a curve on the surface, as demonstrated in the previous section.

  1. Undo any changes made to the position of the two surfaces or the curve on the surface.

  2. Select the helmet and choose Edit NURBS

    Trim Surfaces
  3. The Trim tool indicates which parts of the surface you want to remain visible when the Trim operation is completed. Use the tool to click on several parts of the helmet, but not within the area defined by the curve on the surface.

  4. Wherever you click, a marker indicates the parts of the surface that will remain visible. When you have created five or six markers, press the Enter key to trim the helmet. A hole will appear at the bottom of the helmet. If it does not work, click Undo and try again (see Figure 3.26).

The Trim tool allows you to indicate which parts of the surface will remain visible when you execute the Trim operation.

Figure 3.26. The Trim tool allows you to indicate which parts of the surface will remain visible when you execute the Trim operation.

Just like with the curve on the surface, as long as the construction history is maintained for the surface, any changes you make to the intersecting spheres or the curve on the surface will change the position and shape of the hole in the helmet. You can animate the intersecting sphere to make the hole change size and shape over time; however, be aware that some changes may cause errors.

Working with Trim Edges

The edge of the trimmed surface can be used as a starting point for lofts or other NURBS surface types.

  1. Right-click on the helmet and choose Trim Edge. This option appears only for trimmed surfaces (see Figure 3.27).

    You can select the edges of a trimmed surface by choosing Trim Edge from the marking menu.

    Figure 3.27. You can select the edges of a trimmed surface by choosing Trim Edge from the marking menu.

  2. Select the trim edge (it should turn yellow when selected), and choose Edit Curves

    You can select the edges of a trimmed surface by choosing Trim Edge from the marking menu.
  3. Select the new curve and choose Modify

    You can select the edges of a trimmed surface by choosing Trim Edge from the marking menu.
  4. Use the Move tool to position duplicateCurve1 below the helmet. Scale it up in size a little as well. Use these settings:

    • Translate X: 0

    • Translate Y: −0.174

    • Translate Z: 0

    • Scale X: 1.275

    • Scale Y: 1.275

    • Scale Z: 1.275

  5. With the curve selected, tumble the view so you can clearly see the bottom of the helmet. Right-click on the helmet and choose Trim Edge. Shift+click the trim edge at the bottom of the helmet so both the duplicate curve and the trim edge are selected.

  6. Choose Surfaces

    You can select the edges of a trimmed surface by choosing Trim Edge from the marking menu.
  7. Right-click on the new lofted surface and choose Hull. Use the Move and Scale tools to change the position and size of the hulls to create a couple grooves in the loft. This technique is similar to the one used to add detail to the loft between the helmet and the shield (see Figure 3.29).

  8. Save the scene as helmet_v03.ma. To see a version of the scene to this point, open the helmet_v03.ma scene from the chapter 3scenes folder on the DVD.

A loft surface is created between the trim edge and the duplicate curve.

Figure 3.28. A loft surface is created between the trim edge and the duplicate curve.

By repositioning the hulls of the loft, the surface around the helmet is shaped to resemble the concept drawing.

Figure 3.29. By repositioning the hulls of the loft, the surface around the helmet is shaped to resemble the concept drawing.

Extruding Surfaces: Distance Extrude

There are several ways to create NURBS surfaces by extruding from a curve. In this section, you'll see how these methods can be applied to create the lamps on the helmet and some of the other details.

  1. Continue with the scene from the previous section, or open the helmet_v03.ma scene from the chapter3scenes directory.

  2. Create a NURBS sphere. Switch to the front view. Select the sphere, and use the Move and Scale tools to translate and scale the sphere so that it matches the lamp on the right side of the helmet. Use the following settings:

    • Translate X: 2.175

    • Translate Y: 11.785

    • Translate Z: 1.621

    • Rotate X: 90

    • Rotate Y: 0

    • Rotate Z: 0

    • Scale X: 0.518

    • Scale Y: 0.176

    • Scale Z: 0.518

  3. From the side view, select the center isoparm, and choose Edit NURBS

    Extruding Surfaces: Distance Extrude
  4. Select the rear part of the sphere and name it reflector. Scale it up slightly and move it forward (see Figure 3.30.).

    The sphere is divided into two sections to create the lamp on the helmet. The rear section is scaled up and moved forward.

    Figure 3.30. The sphere is divided into two sections to create the lamp on the helmet. The rear section is scaled up and moved forward.

  5. Select the front of the sphere and name it lamp. Create a loft to fill the gap between the lamp and the reflector. In the Loft Options, set Number Of Spans to 1.

  6. Select the isoparm at the edge of the reflector, and choose Edit Curves

    The sphere is divided into two sections to create the lamp on the helmet. The rear section is scaled up and moved forward.
  7. Move the curve back along the Z axis a little, and scale it up. Figure 3.31 shows the duplicated curve at its new position.

  8. Select the curve and choose Surfaces

    The sphere is divided into two sections to create the lamp on the helmet. The rear section is scaled up and moved forward.
    A curve is created by duplicating the edge of the reflector. The curve is scaled up and moved back a little.

    Figure 3.31. A curve is created by duplicating the edge of the reflector. The curve is scaled up and moved back a little.

    The housing for the lamp is created by extruding the duplicated curve.

    Figure 3.32. The housing for the lamp is created by extruding the duplicated curve.

Extruding Surfaces: Profile Extrude

The distance extrude is the simplest type of extrusion you can create and requires only a single profile curve. To create the rounded surface between the helmet and the shield, you can use a profile curve extrusion. This requires two curves.

  1. Right-click on the loft between the helmet and choose Isoparm. Select one of the isoparms that run around the loft at the edge, and drag it back toward the center of the loft.

  2. Choose Edit Curves

    Extruding Surfaces: Profile Extrude
  3. With the curve selected, choose Modify

    Extruding Surfaces: Profile Extrude
  4. Switch to the top view and turn on Wireframe. To get a clear view of the grid, choose (from the viewport menu) Show

    Extruding Surfaces: Profile Extrude
  5. Turn on Grid Snapping and create a NURBS curve (Create

    Extruding Surfaces: Profile Extrude
    A curve is created by duplicating a selected isoparm on the shieldSeal.

    Figure 3.33. A curve is created by duplicating a selected isoparm on the shieldSeal.

  6. Click on the grid point one unit below the center; then click twice on the grid point one unit down and two units to the right of center. Finish the curve by clicking on the grid point two units to the right of center. Press the Enter key to complete the curve.

  7. Scale the curve down to 0.12 units in X, Y, and Z.

  8. Turn off Grid Snapping, and right-click on the curve. Select Control Vertex. Select the CV at the center of the line, and pull it down slightly to create a small arch in the curve (see Figure 3.34).

  9. In the Outliner, select the newly created curve and Ctrl+click the curve created from the loft (make sure you Ctrl+click the second curve; Shift+click may produce different results). Choose Surfaces

    A curve is created by duplicating a selected isoparm on the shieldSeal.
    A curve is drawn on the grid from the top view using Grid Snapping. It's then scaled down and shaped by pulling a CV.

    Figure 3.34. A curve is drawn on the grid from the top view using Grid Snapping. It's then scaled down and shaped by pulling a CV.

    A surface is created by extruding a profile curve along a path that surrounds the seal between the glass shield and the helmet.

    Figure 3.35. A surface is created by extruding a profile curve along a path that surrounds the seal between the glass shield and the helmet.

    At the front of the helmet, you'll see a rounded tube surrounding the border of the helmet's shield. You can adjust the position of the duplicate curve and the position and shape of the profile curve to refine the shape of the extrusion.

  10. To refine the shape of the extruded surface you can scale and reposition duplicateCurve3 (the path curve) and also scale and rotate curve1 (the profile curve you drew on the grid) along its Y axis about 45 degrees. Name the new surface shieldSeal2.

  11. Save the scene as helmet_v04.ma. To see a version of the helmet to this point, open the helmet_v04.ma scene from the chapter3scenes directory on the DVD.

Fillet Surfaces

A fillet surface is another method for bridging gaps between surfaces. You can create one to bridge the gap between the lamp and its housing.

  1. Continue with the scene from the previous section, or open the helmet_v04.ma scene from the chapter3scenes directory on the DVD.

  2. Select the isoparms at the edge of the reflector and the lamp housing.

  3. From the Surfaces menu, choose Edit NURBS

    Fillet Surfaces

    The freeform fillet creates a smooth, rounded surface between the two surfaces. Select the freeformFiletSurface1 node and open the Channel Box.

  4. Set the Depth to 0.8 and the Bias to −0.8. The Depth adjusts the curvature of the surface and the Bias moves the influence of the curvature toward one end or the other of the fillet (see Figure 3.36).

    A freeform fillet surface bridges the gap between the lamp and the lampHousing.

    Figure 3.36. A freeform fillet surface bridges the gap between the lamp and the lampHousing.

    Next you'll add some additional fillets to the lamp housing to create more detail.

  5. Select the isoparms at both ends of the lamp housing. Choose Edit NURBS

    A freeform fillet surface bridges the gap between the lamp and the lampHousing.
    Four isoparms are added to the lampHousing surface.

    Figure 3.37. Four isoparms are added to the lampHousing surface.

  6. Select the four newly created isoparms, and choose Edit Curves

    Four isoparms are added to the lampHousing surface.
  7. Select the four curves and center their pivots (Modify

    Four isoparms are added to the lampHousing surface.
  8. Create two lofts between the two pairs of curves. Make sure the lofts are cubic, and give them both two section spans.

  9. Create a freeform fillet by choosing an isoparm at the front edge of the front loft and an isoparm on the lamp housing just ahead of the loft. Choose Edit NURBS

    Four isoparms are added to the lampHousing surface.
  10. Repeat step 9 three more times to create fillets between the other edges of the two lofts and the lamp housing (see Figure 3.38).

  11. Right-click on each loft and choose Hulls. Shift+click the outside hulls on the top of both lofts, and use the Move tool to pull them upward.

  12. Switch to the Scale tool, and scale them along the X axis to flatten the tops of the lofts.

  13. Shift+click the top-center hull on both lofts, and use the Move tool to pull them all down, closer to the housing.

  14. Switch to the Rotate tool. Rotate the hulls along the X axis to give them a slight angle. Experiment with the shape of these surfaces by continuing to translate, rotate, and scale the hulls of the lofted surfaces. Because of construction history, the freeform fillet surfaces will update. You can also make changes by editing the curves duplicated from the lamp housing isoparms in step 5.

    Four isoparms on the lamp housing are duplicated, scaled, lofted, and then connected to the lamp housing using a freeform fillet.

    Figure 3.38. Four isoparms on the lamp housing are duplicated, scaled, lofted, and then connected to the lamp housing using a freeform fillet.

  15. Select all the surfaces that make up the lamp and housing, the lofts, and the fillets. Delete history on these surfaces, and group them. Name the group leftLamp (it's on the character's left). Delete all the associated curves (see Figure 3.39).

    The hulls of the lofted surface on the lamps are selected, moved, and scaled to shape the surfaces of the lamp casing.

    Figure 3.39. The hulls of the lofted surface on the lamps are selected, moved, and scaled to shape the surfaces of the lamp casing.

  16. Select the leftLamp group and choose Edit

    The hulls of the lofted surface on the lamps are selected, moved, and scaled to shape the surfaces of the lamp casing.
  17. Save the scene as helmet_v05.ma. To see the scene up to this point, open the helmet_v05.ma scene from the chapter3scenes directory on the DVD.

The surfaces that make up the lamp are grouped. The group is mirrored to the right side by duplicating with a −1 setting in the Scale X attribute.

Figure 3.40. The surfaces that make up the lamp are grouped. The group is mirrored to the right side by duplicating with a −1 setting in the Scale X attribute.

Creating Rail Surfaces

A rail surface uses at least one profile curve and two rail curves to create a surface.

  1. Continue with the scene from the previous section or open the helmet_v05.ma scene from the chapter3scenes directory on the DVD.

  2. Select the leftLamp and rightLamp groups and hide them (hot key = Ctrl+h). Switch to the side-view camera. Switch to wireframe mode (hot key = 4).

  3. Choose Create

    Creating Rail Surfaces
    A curve is drawn in the side view.

    Figure 3.41. A curve is drawn in the side view.

  4. Switch to the front view. Select the curve and choose Modify

    A curve is drawn in the side view.
  5. Press the d key on the keyboard to switch to pivot mode. Pull down on the Y axis of the Move tool. Reposition the pivot so that, from the front view, it is aligned with the center of the helmet's shield (see Figure 3.42).

    The pivot point of the new curve is placed at the center of the helmet's shield in the front view.

    Figure 3.42. The pivot point of the new curve is placed at the center of the helmet's shield in the front view.

  6. Switch to the Rotate tool (hot key = e). Rotate the curve −14 degrees on the Z axis.

  7. Duplicate the curve (hot key = Ctrl+d) and rotate the duplicate −29 degrees on the Z axis.

  8. Scale the duplicate curve to 0.95 on the Y axis. These two curves will become the rails for the birail surface.

  9. Switch to the perspective view and turn shading mode back on.

  10. Turn on Curve Snapping and select the EP Curve tool (Create EP Curve Tool). This will allow you to create a curve by clicking just twice.

  11. Click on the first rail curve, and drag toward the end to make the first point of the curve.

  12. Click on the second rail curve and drag toward its end (toward the back of the helmet) to make the second point of the curve. This might be easier to do if you rotate the view so the curves are not overlapping the surfaces. This helps avoid a situation in which Curve Snapping places one of the points of the EP curve on one of the isoparms of a visible surface (see Figure 3.43).

  13. Select the curve between the two rails, choose Edit Curves

    The pivot point of the new curve is placed at the center of the helmet's shield in the front view.
  14. Select the new curve and switch to component mode. Turn Curve Snapping off. Use the Move tool to drag some of the CVs to shape the profile. The profile will be swept along the curves to create grooves, similar to the detail on the top of the helmet in the drawing. You can keep it simple for now and add additional detail later.

    With Curve Snapping enabled, each end point of an EP curve can be placed at the end of the two rail curves.

    Figure 3.43. With Curve Snapping enabled, each end point of an EP curve can be placed at the end of the two rail curves.

    The options for the rebuilt curve

    Figure 3.44. The options for the rebuilt curve

  15. To create the birail, choose Surfaces

    Moving CVs and Other Components
    The birail surface is created with the Birail1 tool. Select the profile first, hit Enter, and then select both rail curves.

    Figure 3.45. The birail surface is created with the Birail1 tool. Select the profile first, hit Enter, and then select both rail curves.

  16. You can change the shape of the surface by editing the position of the CVs on the profile curve. Be careful not to change the position of the rail curves. If the three curves no longer touch, the surface will disappear.

  17. To make changes to the surface, select it, delete history, and then edit the surface by selecting the hulls and moving them with the Move tool.

  18. When you're happy with the basic shape of the birail, select it and choose Duplicate Special

    The birail surface is created with the Birail1 tool. Select the profile first, hit Enter, and then select both rail curves.
  19. Create a loft between the two inside edges of the birail surface. The loft should have nine divisions.

  20. Use the Move tool to position the hulls of the loft to create the three curving bumps as shown in the concept sketch (see Figure 3.47). Select the surface and choose Edit

    The birail surface is created with the Birail1 tool. Select the profile first, hit Enter, and then select both rail curves.
  21. Save the scene as helmet_v06.ma.

The birail surface is adjusted by manipulating its hulls using the Move and Rotate tools. The surface is then mirrored to the opposite side of the helmet using Duplicate Special.

Figure 3.46. The birail surface is adjusted by manipulating its hulls using the Move and Rotate tools. The surface is then mirrored to the opposite side of the helmet using Duplicate Special.

A loft is created between the two inner edges of the birail surfaces. The hulls are moved and scaled to match the concept drawing.

Figure 3.47. A loft is created between the two inner edges of the birail surfaces. The hulls are moved and scaled to match the concept drawing.

Lofting across Multiple Curves

To create the back of the helmet, you can loft a surface across multiple profile curves.

  1. Continue with the scene from the previous section or open the helmet_v06.ma scene from the chapter3scenes directory on the DVD.

  2. Right-click on the rear of the housing for the leftLamp; select Isoparms. Select the isoparm at the very back end of the housing.

  3. Choose Edit Curves

    Lofting across Multiple Curves
  4. Choose Edit

    Lofting across Multiple Curves
  5. Select the first duplicate curve and chose Edit

    Lofting across Multiple Curves
  6. Starting from the helmet's left side, Shift+click each of the duplicate curves (this may be easier to do if you hide the NURBS surfaces using the Show menu in the panel menu bar). Choose Surfaces

    Lofting across Multiple Curves
  7. When the loft is created (turn the visibility of NURBS surfaces back on to see the loft), right-click on the new surface and choose Control Vertex to switch to component mode. Select pairs of CVSs at the back of the surface, and use the Move tool to reposition them to create a more interesting shape to the surface (Figure 3.48).

  8. Name the new surface helmetRear. When you're happy with the result, save the model as helmet_v07.ma. To see a version of the scene to this point, open the helmet_v07.ma scene from the chapter3scenes directory on the DVD.

The duplicated curves are selected in order from left to right, and then a loft surface is created. The CVs of the loft are selected and repositioned to match the reference images.

Figure 3.48. The duplicated curves are selected in order from left to right, and then a loft surface is created. The CVs of the loft are selected and repositioned to match the reference images.

Live Surfaces

When you make a NURBS surface "live," you put it into a temporary state that allows you to draw curves directly on it. This is a great way to add detail that conforms to the shape of the object.

  1. Continue with the scene from the previous section or open the helmet_v07.ma scene from the chapter3scenes directory on the DVD.

  2. Make sure that Wireframe On Shaded is enabled, and zoom into the model so you can see the birail surface you created in the previous section.

    You're going to add some isoparms to the surface so that drawing clean curves on the surface will be a little easier. The isoparms will act as a guide for the curves that you draw.

  3. Right-click on the birail surface and choose Isoparms. Add two isoparms that run along the length of the birail surface (in the options for Insert Isoparm, make sure Location is set to At Selection).

  4. Add two additional isoparms just outside the isoparms created in step 3.

  5. Add two additional isoparms that run across the surface as shown in the second image in Figure 3.49.

    Four isoparms are added to the birail surface that runs along the length, and four isoparms are added that run across the surface. These will be used as guides for adding curves to the surface.

    Figure 3.49. Four isoparms are added to the birail surface that runs along the length, and four isoparms are added that run across the surface. These will be used as guides for adding curves to the surface.

  6. With the birail surface selected, choose Modify

    Four isoparms are added to the birail surface that runs along the length, and four isoparms are added that run across the surface. These will be used as guides for adding curves to the surface.
  7. Enable Grid Snapping and choose Create

    Four isoparms are added to the birail surface that runs along the length, and four isoparms are added that run across the surface. These will be used as guides for adding curves to the surface.
  8. With Grid Snapping enabled, the points of the curve will be snapped to the isoparms on the surface. Follow the guide in Figure 3.50 to add points to the curve.

  9. Finish the curve by clicking one more time at the point where you started the curve. When you are finished, press the Enter key.

  10. Repeat steps 8 and 9 to add another curve that surrounds the first. Make sure you add the same number of points in the same order and that you close the curve when finished.

    Two linear curves are drawn on the live birail surface using the added isoparms as a guide. When Grid Snapping is enabled, a new curve will snap to the isoparms of a live surface.

    Figure 3.50. Two linear curves are drawn on the live birail surface using the added isoparms as a guide. When Grid Snapping is enabled, a new curve will snap to the isoparms of a live surface.

  11. To select curves on a surface, turn off Surface Selection in the Selection Mask Options, and select the curves drawn on the surface. Select the outside curve and then Shift+click the inside curve.

  12. Choose Surface

    Two linear curves are drawn on the live birail surface using the added isoparms as a guide. When Grid Snapping is enabled, a new curve will snap to the isoparms of a live surface.
  13. When the loft is created, right-click on it and choose Hulls. Select the three central hulls of the loft. Switch to the Move tool. In the options, set the Axis to Normals Average and pull the hull up to create a raised surface (see Figure 3.51).

  14. To make the birail surface "unlive," you can select it in the Outliner and choose Modify

    Two linear curves are drawn on the live birail surface using the added isoparms as a guide. When Grid Snapping is enabled, a new curve will snap to the isoparms of a live surface.
The hulls of the loft are selected and moved upward to create surface detail.

Figure 3.51. The hulls of the loft are selected and moved upward to create surface detail.

Project Curves on the Surface

You can project a curve onto the surface as a way of devising interesting shapes. These shapes can be used for creating details, such as parting lines and seams on the surface.

  1. Switch to the side view and turn on Grid Snapping.

  2. Choose Create

    Project Curves on the Surface
  3. Draw a simple square off to the side of the helmet using the grid as a guide. Use five points to make a complete square.

  4. With the square curve selected, choose Edit Curves

    Project Curves on the Surface
  5. Choose Modify

    Project Curves on the Surface
  6. Turn off Grid Snapping, and switch to the perspective view. Use the Move tool to position the square on the helmet's left, as shown in Figure 3.52

  7. Switch back to the side view. Make sure the square curve is overlapping the helmetRear surface. Select the curve and the helmetRear surface. Choose Edit NURBS

    Project Curves on the Surface
    A square-shaped curve is created and positioned to the helmet's left side.

    Figure 3.52. A square-shaped curve is created and positioned to the helmet's left side.

  8. Switch to the perspective view again. You'll see the curve projected onto the back part of the helmet; it wraps around the surface. Any change you make to the square curve will change the shape of the curve on the surface.

  9. Select the square projection curve and use the Move, Rotate, and Scale tools to reposition the curve until the projection resembles something like the projection shown in Figure 3.53.

    The projected square curve is moved, scaled, and rotated. This changes the shape of the projected curve on the surface.

    Figure 3.53. The projected square curve is moved, scaled, and rotated. This changes the shape of the projected curve on the surface.

    To create a raised panel from the curve on the surface, you'll trim the surface. You'll need two copies of the surface: one that has the hole and the other that has the raised portion of the surface.

  10. Select the helmetRear surface, and choose Edit

    The projected square curve is moved, scaled, and rotated. This changes the shape of the projected curve on the surface.
  11. In the perspective view, move the duplicate surface in X about −5 units. There is still a history connection between the curve and the curve on the surface for both copies of the surface, so try not to move the duplicate along any axis but X.

  12. Select the original surface and choose Edit NURBS

    The projected square curve is moved, scaled, and rotated. This changes the shape of the projected curve on the surface.
  13. Repeat step 12 for the duplicate surface; however, place the trim markers only in the area defined by the projected curve. You should be left with just the piece defined by the projected curve (Figure 3.54).

    Both the original helmetRear and the helmetRear1 surfaces are trimmed based on the projected curve. However, one trim leaves a hole in the surface, and the other leaves the surface defined by the projected curve.

    Figure 3.54. Both the original helmetRear and the helmetRear1 surfaces are trimmed based on the projected curve. However, one trim leaves a hole in the surface, and the other leaves the surface defined by the projected curve.

  14. Select both copies of the helmetRear surfaces, and choose Edit

    Both the original helmetRear and the helmetRear1 surfaces are trimmed based on the projected curve. However, one trim leaves a hole in the surface, and the other leaves the surface defined by the projected curve.
  15. Center the pivot of panelTop. Set its Translate X back to 0, and position it just above the opening in the helmetRear surface. Scale it down just slightly (see Figure 3.55).

  16. To fill the gaps between the opening and the top of the panel, right-click on the original surface and choose Trim Edge. Select the edge, right-click over the panel top, and choose Trim Edge, and then Shift+click the second trim edge. You can then use a freeform fillet to close the gap (Edit NURBS

    Both the original helmetRear and the helmetRear1 surfaces are trimmed based on the projected curve. However, one trim leaves a hole in the surface, and the other leaves the surface defined by the projected curve.
    The panelTop surface is moved above the opening in the helmetRear surface and scaled down slightly.

    Figure 3.55. The panelTop surface is moved above the opening in the helmetRear surface and scaled down slightly.

    Freeform fillet surfaces are created to fill the gaps between the four sides of the panelTop and the opening in the helmetRear surface.

    Figure 3.56. Freeform fillet surfaces are created to fill the gaps between the four sides of the panelTop and the opening in the helmetRear surface.

  17. Take few minutes to rename the surfaces in the Outliner with descriptive names. Group the surfaces accordingly and delete history. Delete all of the curves created while modeling. Figure 3.57 shows how I have organized the surfaces in my version of the scene.

  18. Save the scene as helmet_v08.ma. To see a version of the helmet to this point, open the helmet_v08.ma scene from the chapter3scenes directory on the DVD.

The surfaces have been renamed and organized using grouping. History is deleted, and the curves are removed.

Figure 3.57. The surfaces have been renamed and organized using grouping. History is deleted, and the curves are removed.

Revolve

A revolve sweeps a surface generated by a curve around an axis. It's a very versatile modeling technique. In this section, you'll add a sensor to the lamp housing using a revolve operation.

  1. Continue with the scene from the previous section or open the helmet_v08.ma scene from the chapter3scenes directory on the DVD.

  2. Switch to a front view and turn on Grid Snapping. Choose Create

    Revolve

    You'll start by roughing out the curve on the grid. Using Grid Snapping is a good way to ensure that lines are straight. After the points of the curve are laid out on the grid, you'll turn Grid Snapping off and change their positions to refine the shape of the curve.

  3. Starting from the center line, create a curve that looks like a blocky Y shape. Use Figure 3.58 as a reference. In total, click 14 times to create a 14-point curve. Press the Enter key when you have finished adding points to the curve.

  4. Select the curve and choose Modify

    Revolve
    A revolve surface is created from a linear curve. By adjusting the points of the curve, the revolve surface is shaped into a mechanical scope.

    Figure 3.58. A revolve surface is created from a linear curve. By adjusting the points of the curve, the revolve surface is shaped into a mechanical scope.

  5. Turn off Grid Snapping and use the Scale tool to scale the curve down to 0.15 in X, Y, and Z.

  6. With the curve selected, choose Surfaces

    A revolve surface is created from a linear curve. By adjusting the points of the curve, the revolve surface is shaped into a mechanical scope.
  7. Zoom in on the surface. Turn off Surface Selection in the Selection Mask Options on the status line. Select the curve and switch to component mode.

  8. Use the Move tool to reposition the CVs of the Curve tool. You want to create a long, thin, mechanical-looking scope.

  9. When you have a basic shape that you like, rename the surface Sensor. Select the revolved surface, center its pivot, and use the Move, Scale, and Rotate tools to position it next to the lamp on the spacesuit's left side; use Figure 3.59 as a guide.

  10. Once you have it roughly in position, you can continue to edit the position of points on the original curve to change its shape. It may be easier to split the Maya interface into two windows. Use a front-view camera to make changes in the curve, and use the perspective camera to see the results of the changes.

  11. Make the sensor extend a fair way toward the back of the helmet, as shown in Figure 3.60.

    The sensor is moved, scaled, and rotated to fit next to the lamp on the left side of the helmet.

    Figure 3.59. The sensor is moved, scaled, and rotated to fit next to the lamp on the left side of the helmet.

    By editing the points of the original revolved curve, you can continue to change the shape of the sensor after it has been positioned.

    Figure 3.60. By editing the points of the original revolved curve, you can continue to change the shape of the sensor after it has been positioned.

Using the Bend Deformer

Deformers are found under the Animation menu set, but they can be very useful as modeling tools. In this section, you'll add a slight bend to the end of the sensor created in the previous section. Small bends and curves created in mechanical parts can add a lot of style and realism to your model.

  1. Select the sensor created in the previous section. Select an isoparm near the end of the tube, and Shift+click an isoparm about halfway down the back of the sensor.

  2. To create a smooth bend at the end of the sensor, add additional isoparms to the surface. Choose Edit NURBS

    Using the Bend Deformer
    Six new isoparms are added at the back of the sensor.

    Figure 3.61. Six new isoparms are added at the back of the sensor.

  3. Switch to the Animation menu set. Select the sensor and choose Create Deformers

    Six new isoparms are added at the back of the sensor.
  4. To restrict the bend to the back portion of the sensor, set High Bound to 0. The Bounds determine the length of the bend deform.

  5. In the Channel Box, set Rotate Z to −90 so the sensor bends downward. Use the Move tool to move the Bend tool back along its Y axis (see Figure 3.63).

  6. Select the sensor and choose Edit

    Six new isoparms are added at the back of the sensor.
  7. Group all of the objects in the scene, and name the group Helmet. Delete history and any unused curves and surfaces.

  8. Save the scene as helmet_v09.ma. To see a version of the scene up to this point, open the helmet_v09.ma scene from the chapter3scenes directory on the DVD.

The bend deformer is applied to the sensor.

Figure 3.62. The bend deformer is applied to the sensor.

Using the settings in the Channel Box, edit the bend deformer to add a slight bend at the end of the sensor.

Figure 3.63. Using the settings in the Channel Box, edit the bend deformer to add a slight bend at the end of the sensor.

Creating Realism

The key to realistic modeling is in the details. Real, manufactured objects have seams, bolts, screws, weather stripping, and rubber gaskets. In any place two surfaces meet, try to create a believable transition using a surface fillet or a loft. By building from curves created on the surface, you can quickly add believable detail. In production, sometimes these details are modeled as part of the surface; sometimes they are created as part of the texture. In this example the details are modeled for the purpose of instruction.

Think about the possible use of the objects you model. In the case of the helmet, think about what parts of the object need to form a tight seal to protect the wearer from the harsh environment of space. Also think about which parts of the helmet may need to be manipulated by a person wearing heavy gloves. Think about things like servos and handles for the mechanical parts on the helmet.

Figures 3.64, 3.65, and 3.66 show the completed NURBS helmet from different views. Open the NURBShelmet.ma scene from the chapter3scene directory on the DVD, and examine the model to see if you can figure out the techniques that were used to make it. All of the techniques used are just variations of the ones described in this section.

The completed NURBS helmet. Details were created using a combination of techniques described in the chapter.

Figure 3.64. The completed NURBS helmet. Details were created using a combination of techniques described in the chapter.

The completed NURBS helmet from the top.

Figure 3.65. The completed NURBS helmet from the top.

The completed NURBS helmet from the side.

Figure 3.66. The completed NURBS helmet from the side.

NURBS Tessellation

While working with NURBS surfaces, you may see small gaps or areas around the trim edge that do not precisely follow the curve. This is due to the settings found in the NURBS Display section of the surface's Attribute Editor. These settings adjust how the NURBS surfaces appear while working in Maya. They do not necessarily represent how the object will look when rendered. By increasing the precision of the NURBS surface display, you may find that the performance of Maya on your machine suffers. It depends on the amount of RAM and your machine's processor speed. The main thing to keep in mind is that changing these settings will not affect how the surface looks when rendered.

To preview how the surface will look in the render, you can enable Display Render Tessellation in the Tessellation rollout of the surface's Attribute Editor. A wireframe will appear on the surface, which represents the arrangement of triangles that will be used when the surface is converted to polygons by the renderer (note that the surface will remain as NURBS in the scene when you render).

Using the Tessellation settings found in the Simple or Advanced Tessellation Options, you can determine how the surface will look when rendered (see Figure 3.67). Keep in mind that increasing the precision of the tessellation will increase your render time. You can adjust the settings based on how close an object is to the rendering camera. The triangle count gives you precise numeric feedback on how many triangles a surface will contain based on its tessellation settings. Take a look at the NURBSdisplay.ma scene in the chapter3scenes directory on the DVD.

The Advanced Tessellation settings give you even more control over how the object will be tessellated. Keep in mind that Advanced is not always better or appropriate. In some circumstances you may get better results using Simple Tessellation rather than Advanced. It depends on the model and the scene. If you're having problems with the scene, you can experiment using the two methods.

You can change the accuracy of the NURBS surface display and change the quality of the render tessellation in the Attribute Editor for the NURBS shape node. Three identical trimmed NURBS spheres have different settings applied.

Figure 3.67. You can change the accuracy of the NURBS surface display and change the quality of the render tessellation in the Attribute Editor for the NURBS shape node. Three identical trimmed NURBS spheres have different settings applied.

The Bottom Line

Use image planes

Image planes can be used to position images for use as a modeling guide.

Master it

Create image planes for side, front, and top views for use as a model guide.

Apply NURBS curves and surfaces

NURBS surfaces are created by lofting a surface across a series of curves. The curve and surface degree and parameterization affect the shape of the resulting surface.

Master it

What is the difference between a 1-degree (linear) surface, a 3-degree (cubic) surface, and a 5-degree surface?

Model with NURBS surfaces

A variety of tools and techniques can be used to model surfaces with NURBS. Hard-surface/mechanical objects are well-suited subjects for NURBS surfaces.

Master it

Create a NURBS model of a common object you own such as a cell phone, a computer monitor, or a particle accelerator.

Create realistic surfaces

Manufactured objects usually have visible seams and parting lines that reveal how they are put together. Adding these details to your surfaces greatly increases the realism of your objects.

Master it

Examine a manufactured object closely, and pay attention to the seams and parting lines. Look at weather stripping on the windows of vehicles; look at the trim around tail lights and openings in the surface. Look at the panels on the underside of electronic products such as a cell phone. Try to imitate these in your models even if the object does not exist in the real world.

Adjust NURBS render tessellation

You can change how the rendering engine converts a NURBS surface into triangles at render time by adjusting the tessellation of the objects. This can impact render times and increase efficiency in heavy scenes.

Master it

Test the tessellation settings on a row of NURBS columns. Compare render times and image quality using different tessellation settings.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset