Add Polygons

Purpose

The Add Polygons tool lets you create polygons in a new polyset, or in an existing polyset. If there is only one active polyset when you use the Add Polygons tools, new polygons are added to that polyset.

Overview

A polyset that is being added to, and any completed new polygons that are created, are highlighted in the affected color so that you know exactly what geometry exists in the polyset where you are adding new polygons.

The default affected color is purple.

If there is no polyset is to be added to, a new polyset is created for any new polygons. Once new polygons or vertices form complete geometry they become part of the new or existing polyset and are displayed in the affected color.

When exiting the Add Polygons tools, the polyset that is displayed as affected becomes active. When switching between options for the Add Polygons tool, the polyset that is selected to add to, or the new polyset created, is maintained as the polyset to add geometry to.

Note: This tool is a combination and enhancement of the tools that were previously found in the Add tools group: Triangle, Quad, Triangle strip and Quad strip.

How to Use

To use the Add Polygons tool, click on the Add Polygons icon in the Polygons tool palette. Double-click on the icon to open up the option box for this tool.

Polygon Mode

Strip creates polygon strips, and Single creates single polygons at a time. The default is Single.

Polygon Sides

Polygon Sides determines the number of sides that a polygon requires. For Strip mode, the options are 3 and 4 sides to create triangle and quadrilateral strips, respectively. Either 3 or 4 sides per polygon is required. For Single mode, the range is 3 to 100. This range is different from Strip mode, in that the range value is the minimum number of sides required.

Using the mouse buttons to create new polygons

To create new polygons, place vertices appropriately for the Add Polygons tool option you select.

Plotting vertex points with Grid Snap, Magnet, or Curve Snap

You can place polygonal vertex points in conjunction with the Grid Snap, Magnet, or Curve Snap functions. These functions let you restrict the positioning of vertices, as well as letting you place vertex points in the Perspective window.

Plotting new polygon vertices using the keyboard

You can also plot vertices using keyboard input. For each vertex, simply type three decimal value numbers separated by spaces or commas. In absolute (ABS) keyboard mode, the three numbers give the absolute position of the vertex in the current model coordinate system. In relative (REL) keyboard mode, the three numbers represent coordinate offsets from either the last vertex coordinates plotted, or from the origin of the coordinate system (0.0000, 0.0000, 0.0000) if no previous points have been plotted yet. To switch to ABS or REL keyboard mode, type the letter a or r.

Completing new polygon geometry and handling polygon strips

Completing a polygon requires at least three vertices to be plotted for each new polygon. A polygon with one or two plotted vertices is considered temporary and is discarded when you exit or switch between Add Polygons tool options. Completing geometry for the strip modes is slightly different, since vertices are automatically shared by adjacent polygons along the length of the strip.

Vertex texture coordinates for new polygon strip creation

Texture T values are constant for vertices along each side of the triangle/quad strip being plotted, with a value of 0.0 for T along the side of the first vertex plotted and a value of 1.0 for T along the other side. Vertices of the strip are assigned texture S values from 0.0, for the first vertex plotted for the strip, to 1.0, for the last vertex plotted for the strip.

Orientation (facing) of new polygons

When plotting vertices for a new polygon, note that the direction in which they are plotted determines the orientation, or facing, of the polygon.

If the polygon is viewed in a particular modeling window, vertices are ordered in a clockwise manner, and that view shows the polygon's front face. If those same vertices are ordered in a counter-clockwise manner, the view shows the polygon's back face (see the examples for Triangle Strip and Quad Strip for more information).

To plot vertices in a new polygon strip, you only have to be concerned about the vertex ordering in the first polygon plotted in the strip. The rest of the strip is adjusted to have the same vertex ordering, and consequently, the same general facing or orientation as the first polygon plotted.

Tip: To see which way polygons of a polyset are facing:

  1. Pick the polyset and select Windows Render stats.

  2. Deselect the Double Sided option, then select Display Tgl shade. Only the front faces of polygons in the polyset are rendered. A closed surface, like a sphere, should be completely rendered in this mode, as all of the polygons on it should be facing outward.




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