Your next task is to optimize Grae, lowering the polygon count in the process. The limit for Grae was set at 5500; let's see how close we are to that.


Select all the geometry and go to Polygons > Triangulate.


Go to Display > Heads Up Display and make sure Poly Count is checked.

The current Grae model is 5394 polygonsnot bad; we are already under our budget. As mentioned in Chapter 5, the purpose of optimization is not only to lower the polygon count; it's also a way to remove unwanted and unneeded polygons. Removing 100 polygons from Grae could mean more detail can be added elsewhere in the gameevery polygon counts.

Lets recap what we're looking for as we optimize:

  • Unnecessary PolygonsAn unused polygon is one that neither adds to the shape of the mesh, nor aids in deformation.

  • Shallow AnglesPolygons that make a shallow angle do add to the shape of the geometry, but in such a small way that no one would miss them if they were gone.

Most important during optimization is to keep zooming out of your mesh to see how it will look from the game perspective. Chances are, you will never see Grae's body up close, so don't leave too much fine detail in the model that would never be seen.

With these objectives in mind, let's begin optimization. Following is a brief overview of areas that could be optimized, starting from the top and working downward. First, the wingsthey are really as low as they can go. We could reduce them further, but this could make them deform badly, so leave them alone. Hide them for now so you can concentrate on the rest of the body.

Head and Inner Mouth

As shown in Figure 7.50, there isn't much we can remove from the head. What we can do is collapse a few edges, knocking a few polygons off the count. These edges are around the sides of the head, so removing them will not alter the overall shape.

Figure 7.50. Optimizing the head

Moving on to the internal part of the head, hide everything except for the main, left side of Grae's body. Focus in on the inner mouth. There are a few edges inside here we can collapse, as highlighted in Figure 7.51. The inner mouth will have a basic texture and so does not need lots of detail. Removing these polygons won't cause any problems.

Figure 7.51. Optimizing the inner mouth

Next, look at his teeth. To help your examination, isolate the teeth using the view's Show > Isolate Selected > View Selected command. The very top of the gums will be hidden inside the geometry making up the inner mouth. Therefore, we can afford to collapse some of the edges. This process is demonstrated in Figure 7.52.

Figure 7.52. Reduce the top of the gums.

We are done with the head, now let's look at the rest of the body.

Main Body and Legs

First, there are a couple of extra polygons on his shoulder (Figure 7.53). These were created to show the muscles making up this area. Since these particular muscles could be defined with the texture, we can remove the detail here.

Figure 7.53. Remove the extra detail from the shoulders.

Looking at the overall lower leg, we initially see two areas containing shallow curves, one on the thigh and the other on the lower leg (Figure 7.54). We can safely select the edges highlighted in the figure and collapse them.

Figure 7.54. Remove the shallow angles from the legs.

Finally, we can do the same on the midsection of the leg, collapsing the edges shown in Figure 7.55.

Figure 7.55. Collapse the edges on the midsection of the leg.

There isn't much more we can remove at this stage, but take a last look around your model and see if you can find anything. When you're ready, clean up the mesh and save the file as Grae_Optimized.mb.

    Game Character Development with Maya
    Game Character Development with Maya
    ISBN: 073571438X
    EAN: 2147483647
    Year: 2004
    Pages: 169
    Authors: Antony Ward

    Similar book on Amazon

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