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

  1. Select Render Polyset prelight-.

  2. Change the settings in the Polyset Prelight Rendering Parameters box, then click the Go button to commence prelighting.

How to Use Guidelines

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.