Preparing Polygons for Render
Polyset prelight
Purpose
To set a color value per vertex. This value is then stored in the per vertex color field on polysets.
How to Use
- Select Render
Polyset prelight-
.
- Change the settings in the Polyset Prelight Rendering Parameters box, then click the Go button to commence prelighting.
How to Use Guidelines
- Prelighting is assigned on a per-shader basis for each polyset. Usage refers to using color values for shading as opposed to (re)computing shading values based on the shader. You can turn prelighting ON or OFF for a polyset within the MultiLister or within the prelighting tool.
- From within the Multi -lister, in the Shader
List Objects menu, you can view a list of objects associated with a given shader. A () string appears beside each polyset name. The string can be either c or nc. c shows that coloring is on for the selected shader on that polyset. nc shows that coloring is off. By default, all polyset shaders are nc. It is best to have this list displayed when changing the shader's coloring flag.
- A shader must be selected to use the new Tgl Shader Clred in the Shader menu. If the shader is not associated with a polyset, then you cannot use Tgl Shader Clred. If the shader is associated with a polyset and you have selected the polyset, then the shader flag is toggled to that polyset. If you have not selected a polyset, then the flags on each shader (associated with the respective polyset) will be toggled.
- From the Prelight menu option, there is an new option toggle labelled "Color Shaders." If you turn this option on, then during the prelighting process, each shader (per polyset) will have its flag set appropriately, depending on the other prelight option-box options.
Polygon Display Options

Target
The Target options specify whether to prelight All polysets, only Active Polysets, or only Active Vertices.
Color Shaders
This option toggles a flag on affected shaders to tell you whether or not to use the precolored values. By default, all shaders' flags will be toggled according to the options in the prelight option box. If you select only a set of vertices for coloring, any shader associated with the vertices will have its color flag set.
See the section on New Render Support for Color Shaders for more information.
Textures Off
You can choose to not use textures when computing the vertex colors.
Shadow Pass
This option computes shadows when computing the vertices. When you select Shadow Pass, a QuickRender shadow pass will be performed before the prelighting of vertices.
Like QuickRender, the shadow pass can only be performed by making the Perspective modeling window active, with one or more visible spotlights in the model. These spotlights must also have their Shadow Casting option on.
If these conditions are not met, then the shadow pass will simply be bypassed, and the prelighting will continue.
If a shadow pass has already been performed, then the shadows already computed will be used.
Grey Scale
With this option, you can convert prelight color values from Color to Grey Scale before storage.
Overwrite Previous
Toggle to specify the overwrite of lighting values previously set.
Remove Light
Toggle ON to specify whether to compute lighting values or simply remove lighting values.
The Overwrite Previous toggle has no effect if Remove Light is toggled ON.
Display Options
There is also a display mode that can be toggled ON or OFF in the Display
\
91 Poly draw mode option box.

If Colored Display is toggled ON, polysets are displayed in color.
The quality of colors assigned during prelighting is based on the current QuickRender settings. All instances of a given geometry will have the same colors since coloring is not assigned by attribute per instance.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.