Stage Editor

Purpose

Overview

What is the Stage Editor?

The Stage Editor is a powerful tool that you use for quick interchangeable effects. For example, in one simple operation you can swap one lighting stage for another to create a completely different lighting effect.

It offers a broad scope of design potential, from car showrooms to package design and animation. This flexible rendering environment has tools that are layered into an easy-to-understand interface.

Opening files and stages with the Stage Editor

When you use File Retrieve stage to open a file from the File menu in Alias or in the Stage Editor instead of performing a standard File Retrieve operation, the wirefile is maintained separately on an independent stage. This keeps the sizes of the individual wirefiles down, and also speeds the rate of interaction on the screen when you modify information.

What are Stages?

A Stage is an Alias wirefile that you have opened and can work on. You are always working on a stage whenever you are in Alias, but if you only use File Retrieve, then you will not notice them because Retrieve appends data to your current stage. Each stage is independent - you can have as many wirefiles of your models open at the same time to work on as you need them, without one model affecting another, and of course you can use them together to create a single complex model or scene.

Retrieves stages are standard wirefiles that contain Alias information including modeling, lighting, cameras, shaders, and animation. A stage will be saved as a single Alias wirefile.

Why would you want to use Stages?

Most models are built from a variety of independent objects or components. Building them all in one wirefile can result in a too much complexity, from both a modeling and an animation perspective. For example, a phone is made from many components that when combined, make an object. By using stages, the main surface components can be created in one stage, the buttons on a second stage, graphics on a third stage, and the environment on the fourth. When combined using the Stage Editor, all these items make a complete model. By taking advantage of the Stage Editor, many alternatives can be loaded, rendered, and evaluated.

The advantages of creating stages

You might choose to create a modeling stage on which to develop your models, an environment stage for the source environment and background, and a lighting stage for the source of general lighting for the scene. The modeling and environment stages can include specific lighting for linked light effects.

The Stage Editor also helps you render and animate a complex model in record time. It lets you modify any stage inside a scene or model with a minimum number of clicks. You can easily vary the colors, lighting, reflections, and shading.

What are Stage Sets?

Stage Sets are the complete collection of all the individual components of a complex model or scene. They are editable text files that hold the references to the wirefiles that make up the model and the states in which they were saved. For example, the stage set file specifies which one is the working stage, which one supplies the windows, the background, which ones are loaded automatically, and which ones will not be saved. A stage set file includes the Stage Editor information as well as a name and a wirefile reference for each stage.

Stage sets are stored in the Stageset directory which is located below the current project. They are automatically accessed using the stage set commands from the File menu in the Stage Editor and the File menu in the main Alias menu bar.

Stage Editor Window

How to Use

Select Windows Stage editor .

The Stage Editor is displayed:

Stage Editor Menu

The Stage Editor menu lists the stages you have retrieved or saved either by the Stage Name or Reference Path.

If you select Reference Path, the reference path and the name of the stage is displayed in the name box:

Tip: You can expand the Stage Editor by clicking and dragging the window border as follows:

If you select Stage Name, only the name of the stage is displayed in the name box:

Changing the Stage Name

  1. Double-click on the current stage name in the name box. The stage name is highlighted and a cursor is displayed.

  2. Type the new stage name and press Enter.

Changing the order of Stages

To change the order of stages in the Stage Editor:

  1. Click with the middle mouse button and hold over the name of the stage you want to move. The stage name is displayed by a label under the cursor.

  2. Drag in the direction you want to move the stage. A red arrow shows the direction in which the stage is being moved, and a red border around the stage you are moving is displayed:

  • Release the middle mouse button when the label is positioned over the location you want the stage to move to. The stage now appears in its new location.

    Stage Editor Icons

    When a stage is referenced to a wirefile, it displays the wirefile icon next to the reference path or stage name. This icon is updated each time the stage is saved or retrieved, so saving regularly helps keep the icon up to date.

    If the stage is not referenced to a wirefile, the icon is displayed as follows:

    If a file is retrieved that has no picture icon, the icon is displayed as follows:

    Changing the size of the icon

    The size of the icon is controlled by clicking the round buttons in the title bar of the Stage Editor:

    The following shows a large icon and a small icon for the same wirefile:

    Tip: If you are working on many stages and are familiar with their names, the small icon may suit your needs best. However, if you are working with a small number of stages, or if you are unfamiliar with the stage names, the large icons provide instant recognition.

    Status Columns

    There are six status columns in the Stage Editor - Working Level, Window Source, Backgnd Source, Visible, Auto Retrieve, and Wire Store.

    A check mark under a column indicates that a status is ON for a specific stage. A dash indicates that a status is OFF.

    Click the check mark or dash to change the stage status.

    The difference between Selected and Working stages

    The selected stage and the working stage are somewhat different.

    The stage that is highlighted across all six columns determines that it is selected. This stage can now be saved using File Save (selected) stage in the stage editor, dragged to a new position in the stage list, or merged with the working stage.

    The stage that has a check mark in the Working Level column is displayed in yellow and determines which stage is accessible for the changes you want to make.

    The following shows a selected stage with the Working Level checked on. This means that the stage is both selected and the wireframe model is accessible while all other aspects of the model are grayed out and not pickable.

    Tip: The inactive stage color (the color of the wireframe model) is independently changeable from the Template color. To learn how to change the color of the templated wireframe model, see the Modeling Window Colors section of the User Colors window documentation in this addendum for more information.

    In this next example, although the same stage is highlighted (selected) in the
    Stage Editor, the Working Level column is checked OFF which toggles the wireframe model for that stage off.

    However, the Working Level column for a different piece of the wireframe model is checked ON, making that part of the model accessible for changes.

    Saving and the Padlock icon

    A padlock icon can appear instead of a check mark or dash. The padlock icon indicates that you do not have write permission for the wirefile.

    If the stage has ever been the working stage, the Padlock icon changes to red. This means that even though you can't save it to that reference, you may still have made changes to it.

    Stage Editor column descriptions

    Working Level

    You can only make changes to the wireframe model if the Working Level stage is checked ON for its stage. If this column has a check mark, it is highlighted in yellow and indicates which stage is current. This makes it easy to organize your scene, especially if it contains a lot of information or library-type objects that are used in a number of different scenes.

    Some functions may make changing the working level impossible. This is indicated if the name fields of all the stages are grayed out. This helps to prevent switching levels in the middle of geometry operations, such as building a curve or creating a patch. To regain the ability to switch your working stage, choose a neutral function such as Pick.

    Window Source

    The modeling window source can be any stage.

    If you select File Retrieve (with Keep Windows set to ON in the Retrieve Options window), the wirefile and its associated windows are imported to the working stage. The Selected stage does not affect this. Retrieve only and always imports to the working stage.

    If you create a perspective or orthographic window, the window belongs to the stage that is the current Window Source, which may not necessarily be the working stage.

    Each stage can have its own set of modeling windows. The application windows that are displayed always belong to the current Window Source stage. If that stage is stored, then its windows are also stored (by making it the current Working Level and using File Save all, or if you select (highlight) the stage in the Stage Editor and select Save (selected) stage from the File menu in the Stage Editor). The stored windows do not have to match the visible ones, as the current Working Level does not have to match the current Window Source.

    Only one stage can be selected as the Window Source at a time.

    Backgnd Source

    This is a way to choose which background (environment shader) you want when you render a scene. To edit the Background Source, set the Working Level to the same stage as the Background Source and open the Multi-Lister.

    Stats windows and the SBD window are derived from the Working Level stage. The application (perspective and orthographic) windows that are shown belong to the current Window Source stage.

    Visible

    This shows which stages are visible. Toggling a stage invisible produces results similar to toggling objects invisible (ObjectDisplay Invisible). The entire stage and all its objects become invisible.

    A check mark next to the name of a stage under the Visible column indicates that the stage is visible.

    A dash indicates that the stage is invisible.

    You can click in the Visible box for an individual stage to make it visible or invisible without affecting the other stages.

    All stages can be made invisible except for the Working Level. The check mark for the working level's visibility can be turned off, but the stage remains visible.

    If you render the scene when all the stages are set to invisible, the image produced will be completely black.

    Visible Menu

    Click the Visible button to quickly make all stages either visible or invisible. The following pop-up menu is displayed:

    Select ON to make all of the stages visible, or OFF to make all the stages invisible.

    In the following example, all stages are visible.

    This is what happens when you select OFF from the Visible pop-up menu. Notice that the working stage is still visible.

    Auto Retrieve

    If you place a check mark in the Auto Retrieve column beside a stage name, the wirefile is retrieved the next time you retrieve a stage set. If you remove the check mark, the file will not be retrieved. This will only take effect when the Stage Set is saved.

    Auto Retrieve lets you control which of the files identified in the Stage Set file are loaded when the Stage Set file is retrieved.

    More than one user can be working on a common Stage Set, each one owning one or more of the referenced wirefiles, and their own copy of the Stage Set file. Not everyone will want to retrieve all the stages at one time - it is more likely that multiple users will want to retrieve only the particular files they need to use, a combination of their own files, and a few from other users as reference files.

    Tip: You can retrieve a referenced file at any time during a session, even if it has already been retrieved.

    Auto Retrieve Menu

    To quickly set all stages to be automatically retrieved, click the Auto Retrieve button. The following pop-up menu is displayed:

    Select ON to retrieve all of the stages automatically.

    A check mark next to the name of a stage under the Auto Retrieve column indicates that the stage will be automatically retrieved.

    A dash indicates that the stage will not be retrieved automatically.

    Wire Store

    If you place a check mark in the Wire Store column beside a stage name, this stage will be saved when the stage set is saved. If you remove the check mark, the stage will not be saved, and so it will not be overwritten accidently. This means that any changes another user may make to the stage will not be saved.

    More than one user can be working on a common stage set, so if you make changes to one of your own stages and want to use this particular reference data as a default each time you start (such as reference geometry or windows), toggle the Wire Store column OFF for that stage.

    Wire Store Menu

    To quickly set all stages so that the wirefiles will be stored, click the Wire Store button. The following pop-up menu is displayed:

    Select ON to store all of the stage's wirefiles.

    A check mark next to the name of a stage under the Wire Store column indicates that the stage's wirefile will be stored as part of Save Stage Set.

    A dash indicates that the stage's wirefile will not be stored as part of Save Stage Set.

    Stage Editor Menu Bar

    Three menus are included at the bottom of the Stage Editor - the File menu, the Edit menu, and the Delete menu.

    The following describes the Stage Editor menu items.

    File Menu

    Click the File button to display the File pop-up menu.

    Retrieve stage set

    Use this option to retrieve a new stage set. The following File Requestor is displayed so you can select a stage set to open:

    1. Click the Show List button to see the list of your saved stage sets and
      double-click to select it from the list, or if you know the name of the stage set, type the name in the File box.

    2. Click the Retrieve stage set button to retrieve the stage set.
    If you already have a stage set loaded, the following dialog box is displayed:

    Click YES if you want to delete the current stages in the Stage Editor.

    Click NO if you want to add the new stage set to the existing stages.

    Click CANCEL to stop the stage set retrieval and close the dialog box.

    Selecting Retrieve stage set from the File menu in the Stage Editor is the same as selecting File Retrieve stage set from the Alias main menu.

    Editing a stage set within the File Browser

    1. Select Retrieve Stage Set from the File menu in the Stage Editor.

    2. When the File Requestor is displayed, click the Show List button.

    3. Select a stage set from the file list. For example:

    4. Select Stage Editor... from the File menu in the File Browser.

      A special version of the Stage Editor is displayed. Notice that the menu buttons have been replaced by Save and Exit buttons.

    5. Change the status of the columns to suit your needs by toggling the check marks ON or OFF.

    6. Click the Save button in the Stage Editor to save the changes you made.

    7. Click the Retrieve stage set button in the File Requestor to retrieve the stage set with the new settings.

    Retrieve Stage

    Use this option to retrieve a wirefile as a new stage automatically making the wirefile the reference for that stage.

    The following File Requestor is displayed so you can select a stage to retrieve:

    1. Click the Show List button to see the list of your saved stages and double-click to select it from the list, or if you know the name of the stage, type the name in the File box.

    2. Click the Import New Stage button to retrieve the new stage. Selecting Retrieve Stage from the File menu in the Stage Editor is the same as selecting File Retrieve stage from the Alias main menu.

    Reload (selected) stage

    This option retrieves the last saved version of any stage.

    Reload (selected) stage can be useful if you want to change a stage reference and update your model to the latest copy of someone else's file, or to go back to an earlier saved version of a file. For instance, if you want to update someone else's file information for a particular stage, this options lets you return to the last saved version of that stage, make the updates, and then save the stage.

    Tip: The Stage Editor keeps track of your file references. So if you do change them, be aware that you will load in the new references and not the old ones.

    When you select Reload (selected) stage, the following File Requestor is displayed:

    1. Click the Show List button to see the list of the saved stages and double-click to select it from the list, or if you know the name of the stage, type the name in the File box.

    2. Click the Select Stage Reference button to retrieve the stage again.

    Save stage set

    When you select Save stage set for the current set of stages, the following File Requestor is displayed:

    Click the Save stage set button to save the stage set file.

    If you want to save a stage set other than the current one:

    1. In the File Requestor, click the Show List button to see the list of your existing saved stage sets.

    2. Double-click on the stage set icon you want to save, or type a name for the stage set in the File box.

    3. Click the Save stage set button.
    Each of the stages is saved to its referenced wirefile as long as the Wire Store option is checked for each stage in the Stage Editor. If Wire Store is not checked for a stage, that stage is not saved.

    If there is no reference wirefile, the following File Requestor is displayed. If you have not named the stage, the File Requestor supplies a default name for the wirefile.

    If you want to rename the wirefile, double-click on the name in the File box and type the new name.

    To save the wirefile, click the Save Wire button.

    Notes

    Tips

    Save (selected) stage

    Use this option to save the stage as a wirefile.

    If you create a new stage and there is no referenced wirefile, the File Requestor is displayed as follows:

    If you have not named the stage, the File Requestor supplies a default name for the file. To rename the stage, double-click on the name in the File box and type the new name.

    If there is a referenced file, the File Requestor is displayed as follows:

    Click the Save Wire button to save the stage.

    Notice that the icon in the Stage editor is updated to display the icon saved with the wirefile.

    Edit Menu

    Click the Edit button to display the Edit pop-up menu.

    Merge All

    Use this option to merge all the stages in the Stage Editor into the working level stage.

    Merge

    Use this option to merge the selected or highlighted stage to the working level stage.

    New

    Use this option to create a new, empty stage called NewStage.

    Delete Menu

    Click the Delete button to display the Delete pop-up menu.

    All Stages

    Use this option to delete all stages, including the root stage.

    When you select All Stages from the Delete pop-up menu, the following dialog box is displayed asking you to confirm whether you want to delete all of the stages:

    Click YES if you want to delete the stages, or NO if you want to stop the delete process and close the confirmation box.

    When you select All Stages, you are deleting all stages, objects, windows, shaders, lights, cameras, and anything else contained in any of the stages.

    Because there must always be a stage in Alias, a new stage is automatically created when you delete all stages. The new stage is called Stage# and includes a sequential number indicating how many stages you have opened during your current Alias session.

    Selecting All Stages from the Delete menu in the Stage Editor is the same as selecting Delete Del all from the Alias main menu.

    Selected Stage

    Use this option to delete the highlighted stage.

    When you select Selected Stages, the following dialog box is displayed asking you to confirm whether you want to delete the highlighted stage:

    Click OK if you want to delete the stage, or CANCEL if you want to stop the delete process and close the confirmation box.

    Because there must always be a stage in Alias, a new stage is automatically created when you delete the only stage. The new stage is called Stage# and includes a sequential number indicating how many stages you have opened during your current Alias session.

    Using the Stage Editor

    Creating a New Stage

    To create a new stage, select New from the Edit menu in the Stage Editor.

    A new stage is displayed in the list as NewStage.

    Double-click in the name field and type to rename the new stage. The new stage is the Working Level, and any objects, surfaces, or lights you create are placed in this stage.

    Using a wirefile as a New Stage

    To use a wirefile as a stage:

    1. Select Retrieve Stage from the File menu in the Stage Editor. The following File Requestor is displayed:

    2. Click the Show List button to display the File Lister and select the first stage wirefile.

    3. Click the Import New Stage button to load in the file. The name of the wirefile is used as the stage name.

    4. Repeat the File Retrieve Stage procedure until all the required stages are loaded. Stages are listed in the order in which they are created. Tip: This is the same as File Retrieve Stage in the main Alias menu.

    Creating Stages

    1. Create a wirefile that includes some of the geometry for an object (for example, the body of a car).

    2. Create another stage that includes a different set of the object's geometry (for example, the wheels of the car).

    3. Create a third stage that includes an alternate set of the object's geometry (for example, an alternate set of wheels).

    4. Create a fourth stage that includes an environment background and camera view (for example, use the Ramp texture as a background with a blue to white ramp).

    5. Select Save Stage Set from the File menu to make a set of all the stages. You will be prompted for file names for each of the new stages you have created. The next time you need them, you can select Retrieve Stage Set and all the wirefiles associated with the stage set are retrieved.

    Rendering with Stages

    1. A Ramp texture was used to create a gradient backdrop texture. Before you can QuickRender this, select Render Quick render- and toggle Background ON.

    2. Click Go and all the visible stages are rendered together.

    3. In the Stage Editor, toggle Visibility OFF for the second stage, and Visibility ON for the third stage, to see the alternate wheels.

    4. Produce another quick render. If you want to save the information that you have created in a stage, save it using File Save all, Save all as, or Save stage set in Alias, and File Save stage set and Save (selected) stage in the Stage Editor.

    Hints and Tips

    · Lights from all visible stages illuminate the scene.

    \ .

    \ µ .

    \ µ , . µ µ Stage Editor.

    \ (µ µ ObjectDisplay Tgl template µ µ µ).

    \ µ, µ µ.

    \ , µ .

    See also the chapter of this addendum covering Delete Del stage contents for related information.

    Referencing Stage Sets

    The following diagrams show how you can use stage sets to reference files in different ways:

    Referencing files in the same project

    Referencing files in different projects

    Referencing files owned by different users on different machines





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