Adding and Editing Events


The seven event types that you can add to the queue are Image Input, Scene, Image Filter, Image Layer, Loop, External, and Image Output. If no events are selected, then adding an event positions the event at the bottom of the list. If an event is selected, the added event becomes a sub-event under the selected event.

Every event dialog box, such as the Add Image Input Event dialog box shown in Figure 48.3, includes a Label field where you can name the event. This name shows up in the queue window and is used to identify the event.

image from book
Figure 48.3: The Add Image Input Event dialog box lets you load an image to add to the queue.

Each event dialog box includes a Video Post Parameters section. This section contains VP Start Time and VP End Time values for defining precisely the length of the Video Post range. It also includes an Enabled option for enabling or disabling an event. Disabled events are grayed out in the queue.

To edit an event, you simply need to double-click its name in the Queue pane (or press Ctrl+E) to open an Edit Event dialog box.

Adding an image input event

The Add Image Input Event dialog box lets you add a simple image to the queue. For example, you can add a background image using this dialog box rather than the Environment dialog box. To open the Add Image Input Event dialog box, click the Add Image Input Event button (Ctrl+I) on the toolbar.

Tip 

If you don't name the image event, then the filename appears in the Queue pane as the name for the event.

The Files button in this dialog box opens the Select Image File for Video Post Input dialog box where you can locate an image file to load from the hard disk or network. Supported image types include AVI, BMP, MPEG, Kodak Cineon, Combustion, FLC, GIF, IFL, JPEG, PIC, PNG, PSD, MOV, SGI Image, RLA, RPF, TGA, TIF, and YUV. The Devices button lets you access an external device such as a video recorder. The Options button becomes enabled when you load an image. The Cache option causes the image to be loaded into memory, which can speed up the Video Post process by not requiring the image to be loaded for every frame.

The Image Driver section of the Add Image Input Event dialog box lets you specify the settings for the image driver, such as the compression settings for an AVI file. Clicking the Setup button opens a dialog box of options available for the selected format, but note that the Setup button is not active for all formats.

The Image Input Options dialog box, shown in Figure 48.4, lets you set the alignment, size, and frames where the image appears. The Alignment section of the Image Input Options dialog box includes nine presets for aligning the image. Preset options include top-left corner, top centered, top-right corner, left centered, centered, right centered, bottom-left corner, bottom centered, and bottom-right corner. You can also use the Coordinates option to specify in pixels the image's upper-left corner.

image from book
Figure 48.4: The Image Input Options dialog box lets you align and set the size of the image.

In the Size section of this dialog box, you can control the size of the image, using the Do Not Resize, Resize to Fit, or Custom Size options. The Custom Size option lets you enter Width and Height values.

The Frames section applies only to animation files. The From and To values define which frames of the animation to play. The Step value lets you play every nth frame as specified. The Loop at the End value causes the animation to loop back to the beginning when finished.

Adding scene events

A scene event is the rendered scene that you've built in Max. When you click the Add Scene Event button on the toolbar, the Add Scene Event dialog box shown in Figure 48.5 opens. This dialog box lets you specify the scene ranges and define the render options.

image from book
Figure 48.5: The Add Scene Event dialog box lets you specify which viewport to use to render your scene.

Below the Label field where you can name the event is a drop-down list that lets you select which viewport to use to render your scene. The active viewport is selected by default. The Render Options button opens the Render Scene panel, except the Render button has been replaced with OK and Cancel buttons because the rendering is initiated with the Execute Sequence button.

CROSS-REF 

For more information about the Render Scene panel, see Chapter 43, "Learning Rendering Basics."

The Scene Options section of the Add Scene Event dialog box also includes an option for enabling Scene Motion Blur. This motion blur type is different from the object motion blur that is set in the Object Properties dialog box. Scene motion blur is applied to the entire image and is useful for blurring objects that are moving fast. The Duration (frames) value sets how long the blur effect is computed per frame. The Duration Subdivisions value is how many computations are done for each duration. The Dither % value sets the amount of dithering to use for blurred sections.

CROSS-REF 

You can find more information on object motion blur in Chapter 7, "Selecting Objects, Setting Object Properties, and Using Layers."

In the Scene Range section, the Scene Start and Scene End values let you define the range for the rendered scene. The Lock Range Bar to Scene Range option maintains the range length as defined in the Time Slider, though you can still reposition the start of the rendered scene. The Lock to Video Post Range option sets the range equal to the Video Post range.

Adding image filter events

The Add Image Filter Event button (Ctrl+F) on the toolbar opens the Add Image Filter Event dialog box, shown in Figure 48.6, where you can select from many filter types. The available filters are included in a drop-down list under the Label field.

image from book
Figure 48.6: The Add Image Filter Event dialog box lets you select from many filter types.

Below the filter drop-down list are two buttons: About and Setup. The About button gives some details about the creator of the filter. The Setup button opens a separate dialog box that controls the filter. The dialog box that appears depends on the type of filter that you selected in the drop-down list.

Several filters require a mask such as the Image Alpha filter. To open a bitmap image to use as the mask, click the Files button in the Mask section and select the file in the Select Mask Image dialog box that opens. A drop-down list lets you select the channel to use. Possible channels include Red, Green, Blue, Alpha, Luminance, Z Buffer, Material Effects, and Object. The mask can be Enabled or Inverted. The Options button opens the Image Input Options dialog box for aligning and sizing the mask.

Note 

Several Lens Effects filters are also included in the drop-down list. These filters use an advanced dialog box with many options, which is covered in the "Working with Lens Effect Filters" section later in the chapter.

Contrast filter

You use the Contrast filter to adjust the brightness and contrast. Selecting this filter and clicking the Setup button opens the Image Contrast Control dialog box. This simple dialog box includes values for Contrast and Brightness. Both values can be set from 0 to 1. The Absolute option computes the center gray value based on the highest color value. The Derived option uses an average value of the components of all three colors (red, green, and blue).

Fade filter

You can use the Fade filter to fade out the image over time. You can select it from the drop-down list. Clicking the Setup button opens the Fade Image Control dialog box where you select to fade either In or Out. The fade takes place over the length of the range set in the Range pane.

Image Alpha filter

The Image Alpha filter sets the alpha channel as specified by the mask. This filter doesn't have a setup dialog box.

Negative filter

The Negative filter inverts all the colors, as in the negative of a photograph. The Negative Filter dialog box includes a simple Blend value.

Pseudo Alpha filter

The Pseudo Alpha filter sets the alpha channel based on the pixel located in the upper-left corner of the image. This filter can make an unrendered background transparent. When this filter is selected, the Setup button is disabled because it doesn't have a setup dialog box.

Simple Wipe filter

The Simple Wipe filter removes the image by replacing it with a black background. The length of the wipe is determined by the event's time range. The Simple Wipe Control dialog box, shown in Figure 48.7, lets you wipe from the left to the right or from the right to the left. You can also set the mode to Push, which displays the image, or to Pop, which erases it.

image from book
Figure 48.7: The Simple Wipe Control dialog box lets you select which direction to wipe the image.

Starfield filter

The Starfield filter creates a starfield image. By using a camera, you can motion blur the stars. The Stars Control dialog box, shown in Figure 48.8, includes a Source Camera drop-down list that you can use to select a camera.

image from book
Figure 48.8: The Stars Control dialog box lets you load a custom database of stars.

The General section sets the brightness and size of the stars. You can specify brightness values for the Dimmest Star and the Brightest Star. The Linear and Logarithmic options use two different algorithms to compute the brightness values of the stars as a function of distance. The Star Size value sets the size of the stars in pixels. Size values can range from 0.001 to 100.

The Motion Blur settings let you enable motion blurring, set the blur Amount, and specify a Dimming value.

The Star Database section includes settings for defining how the stars are to appear. The Random option displays stars based on the Count value, and the random Seed determines the randomness of the star's positions. The Custom option reads a star database specified in the Database field.

Note 

Max includes a starfield database named earth.stb that includes the stars as seen from Earth.

You can also specify whether the stars are composited in the background or foreground.

Tutorial: Creating space backdrops

Space backgrounds are popular backdrops, and Max includes a special Video Post filter for creating starfield backgrounds. You would typically want to use the Video Post interface to render the starfield along with any animation that you've created, but in this tutorial, we render a starfield for a single planet that we've created and outfitted with a planet material.

To create a starfield background, follow these steps:

  1. Open the image from book Planet with starfield background.max file from the Chap 48 directory on the DVD.

    This file includes a simple space scene with a camera because the Starfield filter requires a camera.

  2. Choose Rendering image from book Video Post to open the Video Post interface. A Scene Event must be added to the queue in order for the render job to be executed. Click the Add Scene Event button, type planet scene in the Label field, and click OK.

    This adds the event to the Queue pane.

  3. Click the Add Image Filter Event button (or press Ctrl+F) to open the Add Image Filter Event dialog box, and in the Label field, type the name starfield bg. Select Starfield from the drop-down list, and click the Setup button to open the Stars Control dialog box. Select Camera01 as the Source Camera, set the Star Size to 3.0 and the Count to 150,000, and click OK. Click OK again to exit the Add Image Filter Event dialog box and add this event to the Queue pane.

  4. Click the Execute Sequence button (or press Ctrl+R), select the Single output time option and an Output Size, and click the Render button.

Figure 48.9 shows the resulting space scene.

image from book
Figure 48.9: A space scene with a background, compliments of the Video Post interface

Adding image layer events

In addition to the standard filters that can be applied to a single image, several more filters, called layer events, can be applied to two or more images or rendered scenes. The Add Layer Event button (Ctrl+L) is available on the toolbar only when two image events are selected in the Queue pane. The first image (which is the selected image highest in the queue) becomes the source image, and the second image is the compositor. Both image events become sub-events under the layer event.

Note 

If the layer event is deleted, the two sub-event images remain.

The dialog box for the Add Image Layer Event is the same as the Add Image Filter Event dialog box shown earlier except that the drop-down list includes filters that work with two images.

Adobe Premiere Transition filter

When it comes to transitions, Adobe Premiere already has created so many cool transitions that it makes sense to just use theirs. In Max, you can access these filters through the Adobe Premiere Transition Filter Setup dialog box.

This dialog box includes an Add path button to tell Max where to look for filters. All available filters are displayed in the Filter Selection list. You can access the filter interface with the Custom Parameters button. The two preview windows to the right display the filter effects. You also have options to Swap Input (which switches the source image) and Use Stand-In (which lets you specify a sample image to preview the effect).

Simple Wipe compositor

The Simple Wipe compositor is similar to the Simple Wipe filter, except that it slides the image in or out instead of erasing it. Its setup dialog box looks just like that of the Simple Wipe Control dialog box.

Other layer filters

The remaining layer filters include simple methods for compositing images and some simple transitions. None of these other filters has a Setup dialog box.

You can use the Alpha compositor to composite two images, using the alpha channel of the foreground image. The Cross Fade Transition compositor fades one image out as it fades another image in. You can use the Pseudo Alpha compositor to combine two images if one doesn't have an alpha channel. This compositor uses the upper-left pixel to designate the transparent color for the image. The Simple Additive Compositor combines two images based on the intensity of the second image.

Adding external events

The Add External Event button on the toolbar lets you use an external image-processing program to edit the image. This button is available only when an image event is selected and the image event becomes a sub-event under the external event. The Add External Event dialog box, shown in Figure 48.10, includes a Browse button for locating the external program. It also includes a Command Line Options field for entering text commands for the external program. Many external programs use the clipboard to do their processing, so the Write image to clipboard and Read image from clipboard options make this possible.

image from book
Figure 48.10: The Add External Event dialog box lets you access an external program to edit images.

Using loop events

The Add Loop Event button is enabled on the Video Post toolbar when any single event is selected. This button enables an event to be repeated a specified number of times or throughout the Video Post range. The Add Loop Event dialog box, shown in Figure 48.11, includes a value field for the Number of Times to repeat the event, along with Loop and Ping Pong options. The Loop option repeats from beginning to end until the Number of Times value is reached. The Ping Pong option alternates playing the event forward and in reverse. You can name Loop events using the Label field.

image from book
Figure 48.11: The Add Loop Event dialog box lets you play an event numerous times.

Adding an image output event

If you've added all the events you need and configured them correctly, and you click the Execute Sequence button and nothing happens, then chances are good that you've forgotten to add an Image Output event. This event adds the surface that all the events use to output to and should appear last in the queue.

The Add Image Output Event dialog box (Ctrl+O) looks the same as the Add Image Input Event dialog box shown earlier. The output can be saved to a file or to a device using any of the standard file types.

Note 

If you don't give the output event a name, the filename automatically becomes the event name.




3ds Max 9 Bible
3ds Max 9 Bible
ISBN: 0470100893
EAN: 2147483647
Year: 2007
Pages: 383

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net