- Moving, Rotating, and Scaling Objects
- About Pivot Points
- Duplication Options
- Mirroring and Instancing Objects
- Soft-Modifying Objects
Mirroring and Instancing Objects
In addition to translating objects, you can use the Duplicate Special options to create a mirror image of an object (that is, a reversed copy of the original). Body parts or characters make good candidates for mirroring because many characters are nearly symmetrical. This allows you to model one half of a character and mirror it, saving yourself almost half the work (Figure 4.52).
Figure 4.52 By mirroring a character or anything symmetrical, you can save a lot of work.
Additionally, you can create instances of objects—duplicates that retain a connection to the shape of the original (Figure 4.53). The beauty of this technique is that you can then edit any of the objects and have each of the rest follow those edits interactively. For example, if you're creating a building with multiple identical pillars, you can create one pillar and then create a number of instances of it to get the additional pillars. If you later decide to change the look of the pillars, all you have to do is edit one, and the rest are updated automatically.
Figure 4.53 Instances of objects mimic the edits of the first object interactively. Here one poly sphere reflects the change to the other.
Mirroring
Mirroring an object produces a precise reverse copy of the object. This technique is great for symmetrical objects, such as creating one side of a face and then mirroring the face across an axis to complete it (Figure 4.54). The pivot point is used as the mirror axis, which means that the farther the pivot point is from the object, the farther the mirrored copy will be from the original.
Figure 4.54 You can create half a face and then mirror it to complete the rest of the face.
You can also use mirroring to place objects an equal distance away from an axis line, creating a mirrored copy that's perfectly placed (Figure 4.55).
Figure 4.55 Any symmetrical object is ideal for mirroring. Here, a pair of tires is flipped to the other side of the x axis.
In the following task, you'll mirror a sphere across an axis, as if to create two eyes.
To mirror an object
- Create a NURBS primitive sphere, or select another object to mirror.
- Type -2 in the Translate X field in the Channel Box (Figure 4.56).
Figure 4.56 Type -2 in the Translate X field of the Channel Box to move the object two units in the negative x direction.
- Press or click the Move tool icon in the toolbar.
- Press on the keyboard to go into pivot point mode.
- Holding down , move the pivot point to the origin (Figure 4.57).
Figure 4.57 Move the pivot point to the origin to send the copy an equal distance away from the origin.
- Press to get out of pivot-point edit mode.
From the Edit menu, select the box beside Duplicate Special.
The Duplicate Special Options window opens.
- Select Edit > Reset Settings in the Duplicate Special Options window to reset the settings, and then set the Scale X field to –1.
Click Duplicate Special.
A mirrored copy is duplicated an equal distance from the pivot point (Figure 4.58).
Figure 4.58 A mirrored copy is duplicated an equal distance from the pivot point.
Figure 4.59 Combining mirroring and instancing allows adjustments to one side of this face to be reflected on the other.
Instancing
Instancing is a great way to save time, both in modeling and in rendering. An instanced object follows the edits of the original, making instancing ideal for any object that will have identical copies anywhere else in the scene (Figure 4.60). Instanced objects are loaded into memory only once, saving render time. Very large scenes can be populated by instanced objects and stay workable. You can still scale, rotate, and move the objects independently once they've been instanced.
Figure 4.60 Oil drums are instanced to cut down on the number of edits that need to be made. The objects are rotated to hide their similar attributes.
To make an instance of an object
- Select an object by clicking it.
From the Edit menu, select the box next to Duplicate Special.
The Duplicate Special Options window opens.
- Set the Translate X field to 2 and the rest of the Translate and Rotate fields to 0 (Figure 4.61).
Figure 4.61 Set the Translate X field to 2.
- For Geometry Type, select Instance (Figure 4.62).
Figure 4.62 Selecting Copy duplicates the object; however, selecting Instance results in an additional connection to the original object.
Click Duplicate Special.
The duplicate is now an instance, or virtual copy, of the original.
- With one of the objects selected, press to go into component-selection mode.
- Marquee-select across the top third of the object to select one of its components (Figure 4.63).
Figure 4.63 Marquee-select across the top third of the object to select control vertexes to manipulate.
Press , and translate the components in any direction.
Note that the other object follows the translation of the selected surface (Figure 4.64).
Figure 4.64 The other object follows the translation of the selected surface but in the opposite direction, like an object in a mirror.
Duplicating Input Connections
Often, you'll want the construction history to remain attached to an object when you create a copy of it. This produces an effect like instancing but allows you to alter the objects independently as well. You can do this by selecting the "Duplicate input connections" check box in the Duplicate Special Options window. The objects then share the same Inputs node, and both the original and the duplicates are changed by it.
To duplicate an object with its input connections
- Select an object that has input connections attached to it—a primitive sphere, for example (Figure 4.65).
Figure 4.65 A primitive sphere's Inputs node holds the editable history of the sphere.
From the Edit menu, select the box next to Duplicate Special.
The Duplicate Special Options window opens.
- Select the "Duplicate input connections" check box (Figure 4.66).
Figure 4.66 Select the "Duplicate input connections" check box in the Duplicate Special Options window to copy the input connections to the new object.
- Type the number of duplicates you want to produce in the "Number of copies" field.
Click Duplicate Special.
A copy of the object is made, and its connections are attached to it (Figure 4.67). The new object sits directly on top of the original.
Figure 4.67 The same makeNurbSphere node is connected to both spheres.
- Select the Move tool, and move the duplicated object away from the original.
In the Channel Box, select the End Sweep attribute name, and drag the middle mouse button in the View pane to confirm the connections.
The End Sweep is changed on both objects interactively (Figure 4.68).
Figure 4.68 Because both spheres share the input node makeNurbSphere1, adjusting the sweep of that node adjusts both spheres.
Right-click a sphere, select CVs from the marking menu, and move a few around.
When you duplicate with input connections, you can make changes to the new copies without affecting the rest (Figure 4.69).
Figure 4.69 When you retain the Inputs node on duplicated objects, you can continue to make individual changes to the surfaces.