CREATING GAME ART FOR 3D ENGINES- P2: Iwish to thank the editing team at Charles River Media (Emi Smith,Karen Gill, Jennifer Blaney, and Jenifer Niles) for their help in gettingthis book publish-ready. Thanks, too, to my technical editor, MikeDuggan. Also deserving recognition are the guys who make the TorqueGame Engine available, GarageGames, who directly or indirectly madethis book and the accompanying CD possible. In particular, I want tothank Joe Maruschak at GarageGames for the great articles and forumanswers that have helped me and many others get a handle on this engine.I...
Nội dung trích xuất từ tài liệu:
CREATING GAME ART FOR 3D ENGINES- P28 Creating Game Art for 3D Engines Using Selection Windows The Selection button on the Standard toolbar in 3ds Max toggles between activating a Window Selection mode and activating a Crossing Window selection mode. Every time you left-click-drag on the screen in 3ds Max, you define one corner of a selec- tion window. When you release the mouse button, you define the opposite corner of the selection window. All objects within that window will be selected. This describes the behavior of a standard selection window. A Crossing selection window selects not only the objects within the window but also the objects that are even partially in the window; that is, it also selects the objects that the selection window crosses.BOX MODELING A CHAIR Walking through the process of modeling a chair will be good practice for the mod- els we will build later in this book. You can find the video ModelingAChair.wmv in the Videos folder on the companion CD-ROM. Start by creating a simple chair from aON THE CD box primitive. Do this by going to the Create panel, activating the Geometry menu, verifying that you have standard primitives selected from the drop-down list, and selecting Box from the list of primitives. To create the box, use a click-drag-release action with the mouse. Perform this drag action in the perspective viewport. The first click-drag creates the base of the box; when you release and move the mouse again, you are defining the height of the box. When you click the mouse button, the box is complete. If this is your first time creating primitives with 3ds Max, spend a few minutes creating primitives such as spheres and cylinders. When you want to delete a primitive, select it with left mouse button and press the Delete key. Test some of the viewing tools that are built into your mouse; spin the mouse wheel to zoom in and zoom out, and do a click-drag on the middle mouse button/mouse wheel to pan the screen around. To modify the box, select it first. Figure 1.5 depicts four important things. First, the Select button is active in the Standard toolbar. If you find that you cannot select an object, first check to see that the Select button is active. Second, the box we just created is selected. This is indicated by a selection box with white edges that high- lights the box. Third, the Modify panel is selected. If you have an object selected and you select the Modify panel, you will generally find that you have access to the parameters or sub-objects of that selection. In this case, because our object is a box, we have access to the Length, Width, and Height, as well as the number of segments for each of these values. Adjust the dimensional values of your box to mimic the image seen in Figure 1.5 so that your box more clearly resembles the seat of a chair. Notice that our current viewport is perspective. (The name is in the upper-left corner.) To display edges in this viewport, right-click on the name of the viewport (Perspective) and click Edges. Now we are ready to add edges. This is the fourth im- portant thing to notice from the figure. We want three segments for length and three for width so that we have enough edges to create legs and a back for the chair. Chapter 1 Introduction to 3ds Max 9FIGURE 1.5 Edged faces are turned on for the viewport, and edges are added for the box. If your Move gizmo (or the other transform gizmos, for that matter) is not visible, there are two possible causes. The first is that you accidentally pressed the X button on your keyboard, which turns off the transform gizmo. Press X again and see if this corrects the problem. The second possible cause is that your preferences may have somehow been set to turn the trans- form gizmos off. If this is the case, try going to the Customize drop-down menu, select Prefer- ences, select the Gizmos tab, and make sure the check box for Gizmos is selected.Converting to an Editable PolyOur next step in going from a box to a chair is to convert the box into an EditablePoly. When we do this, we lose the ability to parametrically adjust the length, width,and height, but we gain the ability to modify sub-objects such as vertices, edges, andpolygons. To convert the box to an Editable Poly, right-click on the box and selectConvert to Editable Poly. When you do this, you will see the Modify panel change;the Edita ...