Introduction

In This Section:


Introduction to the Polygon Tools


The Polygons and Polygon Edit tools are used to create, edit, and fine-tune polygonal models for real-time execution on target game consoles.

Terms we use

Polygonal geometry in Alias is defined in terms of vertices, edges, polygons and polysets.

What is a vertex?

A vertex is a point in 3D space.

What is an edge?

An edge is a side or edge of a polygonal model defined by two ordered vertices. A edge is graphically represented by a straight line between the two vertices that define it.

What is a polygon?

A polygon is an n-sided shape defined by a group of ordered vertices and the edges that are defined between pairs of those vertices. The order of the vertices determines the facing of a polygon. The polygon's front face is graphically represented using a vector described as the polygon's "normal".

If a polygon's vertices are ordered clockwise when viewing a it in a modeling window, the view is of the polygon's front face. In this case, the polygon's normal is directed towards the viewer. If the vertices are ordered in a counter-clockwise direction, then the view is of the polygon's back face, in which case the polygon's normal is directed away from the viewer.

>
Note: Since Alias renders both sides of polygonal geometry by default, the direction a polygon faces is not a concern with polygonal surfaces generated using surface building tools. However, if connected polygons on a surface have opposing normals, the surface may not render as desired. (Use the Polygon Edit tool Normal > Flip to adjust facing directions of polygons).

What is a local axis?

Many of the polygon tools display a local axis to guide you when interactively using the tool. This local axis is formed using a polygon's normal and two basis vectors. The axis vectors are denoted with N, S, and T labels. For tools that work on polygons, the origin of the local axis is located at the centroid of the given polygon. Tools that work with edges utilize a local axis based on the polygon that the edge is part of. The axis is located at the midpoint of the edge.

What is a polyset?

A polyset is a collection of polygonal data associated with a leaf dag node, similar to the way a NURBS surface is a collection of spline data associated with a leaf dag node. Where a NURBS surface can be described by elements such as isoparms, CVs, spans, and patches, a polyset can be described by vertices, edges and polygons. In the SBD window, polysets and NURBS are displayed as follows.

Within a polyset, one or more adjacent polygons may share vertices where they meet. If one or more polygons shared a vertex, they are connected. This connectivity information is maintained when transforming or otherwise editing polygonal data. If a polygonal surface has shared vertices across most of the surface, it has smooth connectivity.

The following examples show vertices that are shared.

Special Cases in Polygonal Geometry

Deleting Hidden Polygonal Geometry

Hidden geometry is sometimes created when you edit and manipulate polygonal geometry. Hidden geometry is generally not very useful or desirable, especially when you want a minimal polygon count. You will most likely want to eliminate hidden geometry from your model.

Hidden geometry can be found in coincident coplanar polygons. That is, it occurs when there are two or more polygons in the same polyset that share the exact same vertices or have vertices in corresponding identical locations. If this happens, there appears to be only a single polygon.

This can be useful if you want to render different shaders on opposite sides of a "polygon" (two coincident, coplanar polygons with opposite normals will appear as a two sided polygon with different shaders on each side).

Tips - Using the Polygon Edit Clean tools

  • As noted above, coincident/coplanar polygons can be useful in certain situations. However, it is difficult to keep track of these polygons and in most cases you may want to eliminate them from your model. This can be done using the Polygon Edit > Clean tools.
  • Polygons with approximately zero area also represent hidden geometry. Zero area polygons have all their vertices at the same coordinates, or the polygon contains only one vertex. This type of geometry is not useful and can be deleted using the Polygon Edit > Clean tools.
  • In some circumstances a polygon may be reduced to two vertices (a single edge). This is the most common form of hidden geometry, especially when the two-vertex polygon exists along an edge of another polygon in the polyset. These polygons can also be deleted using the Polygon Edit > Clean tools.

Deleting Twisted Polygons and Bow-Ties

A polygon is twisted if it has more than three vertices, and those vertices do not lie in the same plane (that is, are not planar, or flat). Twisted or non-planar quads can be found using the Info > Highlight non-planar tool and can be fixed with the various Split tools.

An extreme case of a twisted polygon is a bow-tie, when a polygon is so twisted that two edges of the polygon intersect. Move a vertex or vertices to untwist a bow-tie, and then use the various Split tools to produce planar geometry.


Polygon Interface Summary


Polygons Palette

Icon Polygons Palette > For information ...

Create polygons Creating Polygons from NURBS on page 15

Add polygons Creating and Adding Polygons on page 12

Wedge Creating a Wedged Polygon on page 36

Extrude polygon Extruding Polygons on page 27

Extrude edge Extruding polygon edges on page 25

Extract curve Extracting Curves from Polysets on page 32

Stitch curves Stitching NURBS Curves on page 33

Polygon stats Displaying Polyset Statistics on page 38

Info Moving Polygon Vertices on page 45, and Picking Non-Planar Polygons on page 46

Polygon Edit Palette

Icon Polygon Edit palette > For information ...
Pick Picking Polygons on page 50
Xform polygon Moving Polygons on page 83 Rotating Polygons on page 86 Scaling Polygons on page 87
Xform edge Moving Polygon Edges on page 78 Rotating Edges around T and N Axes on page 81 Scaling from an Edge Mid-Point on page 82
Insert Inserting a Polygon Edge on page 26 Inserting Polygon Vertices on page 48
Vertex Splitting and Merging Vertices on page 73
Polyset Removing and Transplanting Polysets on page 63 Combining and Creating a Polyset on page 64 Creating Polygon "Chunks" on page 66
Split Increasing Polygon Divisions on page 68
Polygon reduction Reducing Polygon Count on page 55
Boolean Combining Polysets on page 59
Delete Deleting Polygonal Vertices on page 44
Polyset cleanup Removing Redundant Polygons on page 43

Poly Shading Palette

Icon Poly Shading palette > For information ...

Flip Unifying the Normal Direction on page 101

Vertex smooth Smoothing Polyset Vertices on page 103

TexCoord map Mapping Textures to Irregularly Shaped Polygons on page 105

UV Editor Changing UV Parameterization on page 109

Apply UVs Mapping Vertices to Projections and NURBS Surfaces on page 110

UV Xform Changing and Copying Polygon Parameterization on page 113

Color reduce Reducing Polyset Colors on page 119

Other Controls





Copyright © 1998, Alias|Wavefront, a division of Silicon Graphics Limited. All rights reserved. Please send questions or comments regarding the documentation to:
[email protected]