Edit Menu
The Edit menu in the Multi-Lister provides tools to create and edit shaders, lights, glows and forces. To access the Edit menu items, click and hold the Edit button in the Multi-lister.

New Shader
Creates a new shader that is identical to the default shader, regardless of which shader is active when you invoke the function.
Setting a User-defined Default Shader
The default shader can be user defined by saving a shader in the default shader directory with the name ShaderDefault. If the default shader has been edited, but not saved, that change will last for the duration of the session
Using New Shader
Select Multi-lister
Edit
New Shader. A copy of the default shader is created. The newly created shader will be made the active shader.
New Light
Creates a new default light located at (0,0,0) regardless of which light is active when you invoke the function. The default will be a light of the same type as the last light you created.
The default for the new light can be set by saving different values in the point light option box (see RENDER
Light
Point-
.)
Tip: You can use New Light to create a new force. Select Edit
New Light, then edit the light's parameters accordingly.
Using New Light
Select Multi-lister
Edit
New Light. A duplicate of the default light is created.
Copy
To create an identical copy of the currently active shader, light or force. This duplication contrasts with Edit
New Shader and New Light, both of which create an item with default attributes.
Using Copy
- Select the light, force or shader that you want to copy in the Multi-lister.
- Select Multi-Lister
Edit
Copy. A copy of the item is displayed.
Copying Shaders
If the active item is a shader, an exact duplicate of that shader is created.
The system automatically adds a number suffix to the name of the new shader, or increments the number if it already has a number suffix. For example, if you highlight a shader called Shader, then select Copy from the Edit menu, the shader is copied and named Shader#2. To rename the copied shader, click on the name in the icon, type a new name and press Enter.
Note: You cannot copy the environment shader. If you attempt to do so, a warning message will be displayed.

Click OK and select a shader or another item that can be copied.
Copying Lights, Forces or Glows
If the active item is a light, force or glow, an exact duplicate is created identically located. The system automatically adds a number suffix to the name of the new light, or increments the number if it already has a number suffix. For example, if you select the icon called Light#2, then select Copy from the Edit menu, the light icon is copied and named Light#3. To rename the copied light, click on the name in the icon, type a new name and press Enter.
Copy Parameters
Lets you copy selected attributes from one Multi-lister item to another.
Example
This example shows how the Color, Incandescence and Transparency parameters can be copied from Shader to Shader#2.
Double-click the Shader icon to open the associated editor and set the parameters to suit your needs. The following illustration shows the Shader icon in the Multi-lister displayed with the Color, Incandescence and Transparency parameters set in the editor.

To copy these parameters to Shader#2:
- While Shader is active, hold the Shift key and click on the Shader#2 icon to make it active.
- Hold the Shift key and click on the Color, Incandescence and Transparency parameter headings in the editor.
- Release the Shift key and select Copy Parameters from the Edit menu.
The Shader#2 icon now displays the parameters that were set for Shader.

Note: You cannot copy a shading model from one shader to another. If you attempt to copy one or more parameters that do not exist in the target shader, (for example, because the shaders use different shading models) a warning message will be displayed, the operation will be cancelled, and none of the selected parameters will be copied.
Copy Texture and Texture Parameters
Textures and texture parameters can also be copied this way. This function is particularly useful when matching texture placement and label mapping parameters.
Copy between Dissimilar Items
This function can also be used to copy between dissimilar Multi-lister items. For example, a color parameter from a light can be copied to one or more shaders.
Convert Solid Tex
Creates a new shader where all solid textures are replaced by file texture equivalents for selected objects. These textures recreate the shading qualities of the solid texture when converting to the file texture. In effect, this freezes the solid texture onto the object surface.
Applying to Spline Surfaces
Convert Solid Text can only be applied to spline type surfaces, it cannot be applied to polysets or faces.
Select the surfaces to assign the converted solid, then select the shader to convert. If no surface is selected, the following is displayed.

Click OK and select a surface. If no shader is selected, the following is displayed.

Click OK and select a shader.
Applying to File Surface Textures
The surface does not have to have the solid shader assigned to it. Convert Solid Tex leaves the solid shader untouched, and creates a new shader with a file surface texture assigned wherever there was a solid texture, and the selected objects will have this new shader assigned to them.
Any image files created are referenced on the Per Object Images list of the new file texture (a sub-set of the File Texture Parameters editor). Each surface gets it's own image file for every solid texture converted. The file textures created have no default image file, only per object files, therefore the shader icon appears as if the solid textures have disappeared.
If you want to see the texture on the shader icon, you can copy any image file name from the Per Object Images list to the default image field (click in the Objects list to highlight the image file name, then click in the default image field and use the middle mouse button to paste).
Tips
Occasions which benefit most from Convert Solid Tex include the following:
- You are animating several objects that all use the same shader. Because solid shaders can have only one Texture node, the objects would appear to flow through the solid material, changing appearance as they move.
- You are using Blend Surfaces with a solid texture assigned, and as the objects change shape, their textures change as the surfaces move through the solid.
- You have a digitized head with a cylindrical scan image of the face. By converting a cylindrical projection map you can animate the face and have the skin texture behave properly.
- Generally, file textures are faster to render than solid textures. Speed is gained, however, at the cost of memory usage since file textures use more memory, especially if they are large and numerous.
- You can use several solid textures, like 3D paint brushes on a surface, by using the Overlay mapping technique (in the Effects section of the shader's editor) and turning U and V wrap OFF for the textures (in the Label Mapping section of the shader's editor). When the desired effect is achieved, Convert Solid Texture can then be used to both bind the texture to the surface and optimize render performance.
Using Convert Solid Tex
- Pick the surfaces to assign converted textures to.
- In the Multi-lister, pick the shader to convert.
- Select Edit
Convert Solid Tex.
- A dialog box is displayed. See the following example.

The default pix size is 256 pixels square. Image files are created and sized so that the Pix assigned to the longest dimension of the largest selected surface will be the size you specify. If more than one surface is selected, the other image files are proportionally smaller. The permissible range is 8 to 1024 pixels.
Tip: Larger image files require more memory to render, and depending on the render specifications may not discernibly improve render quality. Anti-Aliasing is recommended in most circumstances, but the pix creation will take Convert Solid Tex four times longer than generating image files with anti-aliasing OFF.
Note: Convert Solid Tex places the newly generated image files in a sub-directory with the same name as the shader being converted placed in the pix directory of the current project.
- When you click OK, information similar to the following is displayed in the information line. The progress bar at the far right indicates the status of the current pix creation.

Note: If you press Esc during a Convert Solid Tex operation, the files created up to that point will be correct, but will not necessarily be assigned. Also note that even if you delete the shader created by a Convert Solid Tex operation, the image files will still exist in a directory with the same name as the original shader in the current pix directory. If you perform a second Convert Solid Tex operation using the same shader and objects, the previously created files are silently overwritten.
Edit
To select and edit the parameters of a shader, light or force.
Using Edit
Select Edit
Edit to open an active Multi-lister item's editor.
Tip: You can also double-click the icon in the Multi-lister to open an editor.
Various parameters are available for viewing and editing. The available parameters depend on which icon is active in the Multi-lister. See the section describing specific textures for information on their parameters.
Color
To edit the color of any suitable parameter of a shader, texture, light, glow, fog or halo
Using the Color Editor
Select Edit
Color to display the Color Editor for the active Multi-lister icon. The name of the item is displayed in the title bar.

You can also open the Color Editor by clicking the arrow in the color field of a parameter in an item's editor. In the following, the bluemarble shader `s Incandescence color parameter is selected. Notice the Incandescence field in the editor is highlighted with a white border, and the Color Editor displays the shader name and parameter in the title bar.

Once the Color Editor is displayed, you can select any other icon from the Multi-Lister. When an different icon is selected, the Color Editor is updated to reflect the color of the active item and the title bar displays the name of the item and the parameter that is affected.
Using the Range Fields
By default, color values are displayed in the range from 0 through 255. If you prefer the range of values displayed between 0 and 1, click once on the Range field and it will automatically toggle to 0->1. See the following.

Using Sliding Scales
There are two sets of sliding scales in the Color Editor window; one for RGB (Red, Green, and Blue) color editing, and one for HSV (Hue, Saturation, and Value) editing. To the right of each color slider, a value field displays the current value of each color component.
RGB Color System
The RGB (Red, Green, Blue) color model is based on an additive color specification used in all CRT monitors. While not always intuitive, it is the standard color specification for electronic media. Red, green, and blue are the primary colors of light. Setting all three sliders to 0 produces the color black, and setting them to their highest values (255) produces white.

HSV Color System
The HSV color model is based on the way one naturally chooses color; tint (Hue), shade (Saturation) and tone (Value, gray scale). When using the HSV sliders, Hue values range from 0 to 359, and Saturation and Value range from 0 to 1.0.

Color Blending Palette
You can use the color blending palette to create and select colors. You can pick up any color from the blending palette by simply clicking on the appropriate area of the palette.
If you click and drag across the blending palette, a color is created based on a blend of the four colors displayed in small boxes at each corner. You can easily change any or all of the four blending colors used by the palette to suit your particular needs.

Changing Blending Colors
To change any of the four blending colors, select a color from the color palette directly below the blending palette, or create the appropriate color using the slider controls. Once the desired color has been created or picked up, click directly on the triangular color area at the corner of the blending palette that you want to change. The color is automatically deposited and blended with the other three corners.
Current Color Palette
The current color palette at the right of the blending palette displays the current shader color.

Color Editor Buttons
Undo
Selecting Undo returns the shader to the colors it had when the window was first opened.

Grab
The Grab button lets you grab any color from the palette and use it to customize the predefined color palette to suit your needs. For example, this particularly useful if you are trying to match a color from an image file.
Grabbing Colors
Click the Grab button. A medicine dropper appears. While holding the mouse button, you can drag the dropper to any part of the scene and click to select the current pixel color at any point.
Note: The Grab button is designed to work with any RGB window. Other display types may not return the correct color.
Grabbing Colors from a wrl image
When using the File
Show pix function, the system displays a wrl image of the selected image file on the screen. This can also be accomplished by using the wrl command directly from a UNIX shell window. Clicking the mouse on a wrl image window automatically closes the window. Therefore, when you want to grab a color from a wrl image window, you will have to select the Grab button and then click and hold the mouse somewhere outside of the wrl image window. The mouse pointer can then be dragged into the wrl window without the window closing.
Color Palette
The color palette is used to select and drop user-defined colors.

Note: A user-defined color palette is only maintained during the current working session.
Using the Drop button
Using the Drop button lets you drop the current color into the color palette. Select the desired color using the sliders or Blending Palette, then click the mouse button in any square on the color palette to place it there.
Using the Pick button
Click the Pick button (the default), then click on a square in the color palette to select the desired color from the palette.
Texture Map
To select, edit, and position the texture element of a shader or light:
Using Texture Map
Select Edit
Texture Map to display the Texture Procedures window for the active shader.
This window can also be opened by selecting the Map... button for any textural option from the Multi-lister item's editor.
In the following example, clicking the Color Map... button for a shader opens the Texture Procedures window. Notice that the shader name and parameter function is displayed in the title bar of the Texture Procedures window.

Textures are divided into three basic types:
Using Textures
- Select the shader or light icon in the Multi-Lister to which you want to apply texture mapping parameters.
- Select Edit
Texture Map to display the Texture Procedures window.
- To select a texture, click directly on any of the texture buttons displayed in the list. Once you select a texture, the window automatically closes. The selected texture map is displayed in the Multi-lister and is automatically mapped directly onto the active shader or light.
- If you select the File button for the texture, the texture map icon displayed in the Multi-lister window is initially blank. At this point, no file has been assigned to be used as the texture map.
If the editor was already open, or if you double click on the blank texture icon, the following is displayed.

- If you know the name of the image file that you want to use as the texture map, type the filename into the Image field and press Enter. The system checks for the file in the pix directory of your current working project. If the file is not found there, and you have defined a source pix directory by setting the appropriate.AliasPrefs, the system checks this directory and inserts the fully expanded pathname if the file is found.
If you are unsure of the exact filename, click the Browse button. The File Requestor is displayed. Click the Show List button to display the contents of the current Pix directory from which you can select the appropriate image file to be used.
- Once the appropriate image file has been chosen, the file appears in the previously blank texture icon in the Multi-lister and is mapped onto the active shader.
Notes:
Surface Considerations in Texture Mapping
Surface textures are mapped in parametric space onto the surface by default. For example, if the texture map is a rubber patch with the texture image printed onto it, as the patch is stretched over the contours of the surface, the texture image stretches along with it. This helps to explain the distortion of a texture you may encounter when attempting to map a texture to a spherical object of example.
Distortion encountered when texture mapping to a surface also depends on the parameterization of the surface to which you are mapping. You will encounter far less distortion when mapping surface textures to a surface with even parameterization than to a surface with uneven parameterization. For this reason, texture map distortion can be greatly reduced when using chord length mapping (Chord Length ON) rather than parametric mapping. If distortions continue to be a problem, a projection mapping technique can be used by using a surface texture as the source texture for an Projection solid texture.
In more extreme cases, world space texture mapping may have to be used to eliminate distortions.World space texture mapping should be used with caution.
The U and V parameter directions of the surface to which you are mapping are also a consideration. When the system maps the texture to the surface, it considers the point of origin for the map to be the lower left corner of the image. This corner is aligned with the surface where the U and V parameter values are 0.0.
If a texture is inverted when mapped to the surface, it can either be rotated on the surface or you can use Object Edit
Reverse
Reverse direction to adjust the direction of the U and V parameterization on the surface itself.
Undo
Reverts the active shader or light, and its family, to its settings when made active. A family is any shader and all textures assigned to it, or a light and all its textures.
Using Undo
- Select any shader, texture or light.
- Make changes to the shader (or light), or any of its textures. Make sure you don't select a different shader family.
- Select Edit
Undo from the Multi-lister. The shader and all its texture's parameters will revert to the values they had when the family was made active.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.