Building Polygons and Polysets


Introduction to the Polygon Tools

Purpose

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

Polygons tools

Select a tool from the Polygons menu, or click one of these icons.

Polygon Edit tools

Select a tool from the Polygon Edit menu, or click one of these icons.

Alias Polygonal Geometry Concepts

Terms we use

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

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, with the direction of the polygon's front-facing graphically represented using a vector described as the polygon's "normal".

If the vertices are ordered clockwise when viewing a polygon 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 manner, then the view is of the polygon's back face, in which case the polygon's normal is directed away from the viewer.

Tip: Since Alias renders both sides of polygonal geometry by default, the facing of a polygon 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. The Polygon Edit tool Normal Flip is used to adjust facing directions of polygons.

Local Axis Display

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 along with 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 a polygon 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 iso-parms, CVs, spans, and patches, a polyset can be described by vertices, edges and polygons. In the SBD window, polysets and NURBS are displayed as in the following.

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

When editing and manipulating polygonal geometry, hidden geometry is sometimes created. Hidden geometry is generally not very useful and is often not wanted in a model, especially where a minimal polygon count is desired. You will most likely want to eliminate hidden geometry from your model.

Hidden geometry can be found in coincident coplanar polygons. This 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.

Tips-Using the Polygon Edit Clean tools

Deleting Twisted Polygons and Bow-Ties

A polygon can be twisted if it has four or more vertices (four or more edges), and those vertices are positioned in such a way that the polygon is 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. This occurs when a polygon is so twisted that edges of the polygon actually intersect. Moving an appropriate vertex or vertices can untwist a bow-tie and then the various Split tools can be used to produce planar geometry.





aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights reserved.