This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level.

25.2 - Asterize Tutorial

25.2.1 - Introduction

The Asterize Tutorial will explain and demonstrate some of the controls in the Asterize operation. Before starting this tutorial, you should read the Asterize operation section in this manual. This will help you to understand some of the basic terminology and the way the effect actually operates.

The tutorial will be broken up into three sections. The first section will be a basic illustration of using the Asterize control dialog. The second portion will deal with manipulating the Arm Profile graph. The final section will show you how to create an actual animation with the Asterize operation.

25.2.2 - Part 1 - The Basics

  1. The first thing that we will need is an image to apply the Asterize operation to. Instead of using one of the provided sample image, we will create a new image. This is done by first accessing the New Image... dialog in the File menu. This dialog allows you to specify the new image's name, pixel resolution, DPI settings, and an Initial Color. For this example, we will want an image that is 320 x 200 with a 100 x 100 DPI setting. The initial color should be Black. This is set by pressing Color, and then selecting the Black color box from the set of Basic Colors. You also have the option of using the RGB text entry fields to specify the Black (R=0, G=0, and B=0) initial color. Once you have specified the initial color simply select OK to exit the color palette and the New Image dialogs.

  2. After the new view has been created you will want to access the Asterize dialog. This can be done by selecting the Lighting group icon, and then selecting the Asterize icon. The icon is located at the far left-hand side of the lighting group. You also have the option of selecting the effect using the Operation menu, and then selecting Lighting and Asterize. The first thing that you will want to do is press the Four Star preset found in the preset group at the bottom of the dialog. This will alter the controls and the Arm Profile so that a simple four armed asterization will be created.

  3. The next step is to apply this simple asterism to a selected area in the image. In this case we will want the Ellipse tool. This area selection tool is located in the Toolbox second row, third column, and is represented with a circle icon. This tool allows you to select a circular or elliptical region on an image. The area that is selected will be the extents of the Asterize effect, or the total distance that the arms will extend. The Ellipse area selection tool is the recommended area selection mode for Asterize because it allows you to alter the width or height of the arms to achieve asterizations that are wider than they are tall or vice versa. If you are unclear on how to specify an Ellipse, please review the section in the manual about the Ellipse tool. After you have selected the Ellipse tool apply an Ellipse to the image near the center. Dependent on the size and shape of the Ellipse, you should get something that looks like this:


  4. You have just created an asterism using one of the default settings available to you. The next step involves creating an asterism using non-default settings. We will use the Four Star preset as an example for further discussions on the Asterize controls and their uses. Let's begin at the top with the Edge and Peak color selection preview windows. The Peak window contains the color of the asterization. This Peak color is then modified using the saturation to create an Edge color. You should notice that the Four Star Preset has a blue color as the Peak, and white as the Edge. This means that at the edges of the arms the color will be the Edge color (blue), and the center of the asterism will be the Peak color (white). The Edge and Peak colors are both affected by the Red, Green, and Blue sliders located directly below these preview windows. For example, click on the red slider with the left mouse button. Now, move the slider slowly to the right. You should see the Edge color slowly become more purple, and eventually the edge color will be a magenta (red = 255). You should also notice that there was no change in the Peak color preview. This is due to the fact that the saturation for this preset is set to 0 which forces the Peak color to white. To adjust this to a non-white color simply click on the saturation slide gadget with the left mouse button, and slowly drag it to the right. You should notice that only the Peak color is changing. After you reach 100% saturation the Peak and Edge colors should be exactly the same. Lets apply another asterism to our image to see the changes that we have made. The final result should look something like this:


    Notice that the original asterism with a saturation of 0 has a gradient of color from the edge to the center that ranges from a blue to white. The second asterism (saturation = 100%) only has the magenta color that we specified. So, as you can see the intensity of the center and the color of the asterism can be simply adjusted by altering the Red, Green, and Blue sliders and the Saturation control.

  5. The next control that we will examine is the Width control. The Width option is used to determine the thickness of the arms and of the Center Hot Spot, if one exists. The Center Hot Spot will create a purely saturated region in the center of the Asterization. The size of this hot spot will increase as the width control is increased. As an example, let's apply a width of 75% to the original Four Star preset. First, press Four Star preset to reset the initial values (you will need to adjust the Red slider back to 64). Next, slide the width gadget until it reads 75. Now, size an Ellipse below and to the left of the first asterism that you did. You should notice that the arms of the asterism have become wider, and appear slightly "blurred". The next step is to select the Center Hot Spot check box located in the Lighting Method control sub-group. Now, apply another Ellipse to our image above and to the left of the original asterism. The results should look something like this:


    Notice that the asterism with the Center Hot Spot has become almost completely round. This is because the width control will increase the size of the arms as well as the width of the hot spot. The last four controls (arms, rotation, additive, and taper) are thoroughly described in the main Asterize documentation. You should take the time to alter and then apply some of these modifiers to the current example image.

25.2.3 - Part 2 - The Arm Profile

  1. This section of the tutorial will introduce you to Edit Profilel which gives the Asterize operation all of its power. Let's begin this section with another new image (follow the steps in the previous section on creating a new image.) Once the new image is created, select the Four Star preset, and apply an asterism to the new image. This should look something like this:


    Now, press Edit Profile. Edit Profile allows you to alter the arm Profile of the Asterize operation. The arm Profile is the color and width of each arm in the asterization. The graph is read from left to right (Clockwise along the arm). The vertical axis of the graph is the brightness or color of each portion of the arm, and the horizontal axis determines the length of each portion of the arm. You will notice that as the graph increases vertically that the color of the arm is getting closer to the peak color, and that as the graph decreases vertically that the color of the arm is approaching the edge color. It is important to remember that the arm Profile that is specified will be used for all of the arms in the asterism. The Profile is altered by simply drawing the desired Profile using the left mouse button. There are several tools to aid in the creation of new Profiles. The arm Profile graph for the Four Star Preset will look like this:


    So using the above information, this graph tells us that each arm should reach the peak color near the middle of the arm, and then taper off in either direction towards the edge color, which is exactly what happens.

  2. Now, let's actually alter the arm Profile to create a new asterization. The graph itself is altered by simply drawing on the graph while holding down the left mouse button. You will want to bring the center of the graph (which is at the peak color) to the bottom of the graph. Next, pull down the graph that is to the left of the center up to the first vertical division mark. Now, press Symmetry. This will cause the left and the right sides of the graph to have a reflective symmetry based on the graph information on the left. This tool is very useful in creating very symmetric arms. After you have completed this, the graph should look like this:


    If you were to apply this graph with the current settings, you would get a very dark asterization that would be hard to see. This is due to the fact that the edge color (bottom of the graph) is very close to the image color of black. One way to make the asterism more visible is to move the entire graph up, so that the colors used will be nearer the peak color. To accomplish this, simply press the up arrow icon on the left-hand side of the Profile graph until the two peaks just touch the top of the graph.

    This new graph will create an arm that has two arms that reach the peak color and fade back to the edge color. Let's apply this new Profile, and see its effects. You may now close the Trend graph by pressing Close. Now, select an Ellipse above and to the left of the original Four Star Asterism. The final result should look like this:


    When this operator is dragged into the TimeLine, Profiles will automatically Trend to the next Profile, if another exists in the TimeLine.

  3. You have now applied a new arm Profile using the arm Profile graph. You have the option of using the default Profiles, or creating your own. It is important to remember that once you have altered the profile you should not press any of the preset buttons. F/x also allows you to save any arm Profile that you create. This is done by pressing Save at the bottom of the Asterize control dialog. These settings can then be loaded and used at any time by pressing Load. You should take the time to manipulate the arm Profile graph, and then view its effects. Once you feel comfortable using the graph, move on to the next section of this tutorial.

25.2.4 - Part 3 - Animations and Trends

  1. This section of the tutorial is designed to give you a step by step example of producing an animation using the Asterize operation. This tutorial will rely on your knowledge of the information provided in the previous two sections. If you have not read and completed Part 1 and 2 of the Asterize tutorial, do so before beginning this section. Let's start with a fresh image for this example. Follow the instructions for creating a new image in Part 1 of this tutorial section. The image should follow the specification made there (320 x 200 and black). After this is complete, make sure that the Asterize dialog is visible by selecting the Asterize icon in the Lighting group, or by selecting the Asterize option in the Operations pull down menu.

  2. The next step in the animation process is to set all of the output parameters in the Sequence Controls dialog. You can access this dialog by selecting the Time Line pull down menu, and then the Sequence controls... option. This will open a dialog which allows you to set the number of frames, output file type, and the name and path of the animation to be saved. The first thing to set in this panel is the Total Frames option. This option allows you to specify the total number of frames in the animation. This can range anywhere from 3 to more than 64,000 frames! The demonstration animation (located near the end of this tutorial) was created using 45 frames. For this example, set the Total Frames to a value between 15 and 30. If you find the animation is not smooth enough, increase the number of frames.

  3. The next step is to select the output format. The format can be any of the available file types including AVI and FLI/FLC animations. The file type is selected by clicking on the down arrow to the left of the Output Format drop down box. Clicking this will access a scrolling list requester which can be used to set the output format. We may want to use this animation in a later tutorial so select either AVI or FLI/FLC for simplicity. Next, you will want to set the Output Image Path and File Name You can select any valid directory and image name, or use Specify to access a file dialog for directory and name specification. It is important to remember to select a valid directory and name, or the animation could be saved in the wrong location, or the file name may be truncated. You should also set the extension if it is different from the default setting. For example, if you are creating an AVI, set the extension to AVI. There is no need to add the "." in front of the extension because F/x does this for you. The final option to set is the Save Results check box. If this check box is selected, the animation will be saved in the specified format to the selected directory. If you do not wish to save this or any other animation sequence, do not select this option. When the save option is not selected the animation will only be created for viewing in the Filmstrip. This allows you to rapidly preview an effect or group of effects. Once you have decided on saving or not saving the animation, press OK to exit this dialog.

  4. The animation that we are going to create will be a four armed asterism that changes colors and rotates in the center of the image. This will require that you set some of the available Trend Graphs. The Trend Graphs are used to specify a particular parameter over time. For example, if we wanted to have an asterism rotate from 0 to 360 degrees over the course of the animation, we would have to set the Trend graph for the Rotate option in the Asterize dialog. If you have further questions on Trends or the Trend controls, please review the section in the main Asterize documentation. This animation will use the arm Profile provided by pressing Four Star preset. If you have not already done so, press the Four Star preset.

  5. Now that we know what type of operation we are going to create, we will need to open the TimeLine. The TimeLine is a powerful key frame based animation controller. It allows you to specify which operations, area selections, and image files will be used to create an animated sequence. The TimeLine dialog can be accessed by selecting the TimeLine icon from the Toolbar, or by selecting the Show TimeLine option from the TimeLine menu. The TimeLine should appear with the current operation in the first frame. We will want to start with a fresh TimeLine, so select the Eject Time Line button to clear the current TimeLine dialog. Now, select the Asterize icon from the tool bar, and place it into frame one of the TimeLine. This method is known as Drag and Drop, and it is used to place operation and area selection key frames into the TimeLine. The Asterize operation will have been placed with all of the current settings information.

    In order to create the desired animation, we will need to set a Trend graph for the rotation and green parameters. This can be done by double clicking on the Asterize operation icon in frame one of the TimeLine. This will access the Time Line Operation dialog. This dialog contains controls for obtaining current settings and Trends from dialogs, or for setting new values for an operation parameter or Trend. For this example, you will want to select the Set Trends option. This will bring up a dialog which contains a list of all of the available Trends for the Asterize operation. You will want to select the Arm Green Trend, and then press Adjust this trend. This will open this Trend for manipulation. Also open the Saturation and Rotation Trends using the same method. Once you have opened these two Trends, select OK to close the dialog.

  6. We now have two Trends available for adjustment. The first Trend that we will adjust is the rotation Trend. The initial rotation Trend graph should look like this:


    As you can see the Trend for this control is set to 0 degrees rotation for each frame. We would like to have an animation that ranges from 0 to 360 degrees over the entire length of the animation. To do this we simply click on the button with the line that goes from the bottom right (minimum) to the top left (maximum). After you have done this, the graph will look like this:


    This is exactly the effect that we are looking for. The asterization will begin on frame one with 0 degrees rotation, and will finish near 360 degrees on the final frame. F/x will automatically reduce the final value of any Trend that ranges from 0 to 360 degrees. This is to eliminate "bumps" in a looping animation. You can manually move the final frame value up to 360 degrees. If you do this, you will notice that the animation will have two frames which are exactly the same (0 and 360). You can also manually specify each frame value by "drawing" on the graph with the left mouse button down. This allows you to visually set each frame, or a single frame to any value you like. You can exit the Trend by pressing OK.

    Now that you have set the Rotation Trend, set the Green and Saturation Trends to the exact same settings. This will produce an asterism that not only rotates, but also changes colors from dark blue to purple, and will have an increasing saturation value. This is done by simply Trends the button with the line going from the bottom left to the top right for both the Green and Saturation Trends. After you have done this for both Trends, select OK to close the Trend graphs.

  7. We have now finished setting all of the parameters for the asterization. We will now need to set an area select for the operation to occur in. For this example, you will need to select the Ellipse area selection tool from the tool box. This example is also going to show you how to create an effect that fades in, and then fades back out. This can all be accomplished through the TimeLine. First, place an Ellipse area selection into the first frame of the TimeLine using the Drag and Drop method described above. Now, double click on the Ellipse area selection icon in frame one. This will open the Area Selection Object dialog. This dialog contains controls for making and altering area selections. Click Make the area selection now. This will bring the current action image to the front. Now, click and hold the left mouse button near the center of the all black image. You will now be able to size out an Ellipse by holding the left mouse button, and moving the mouse. You may reposition the Ellipse by pressing the right mouse button at the same time as the left.

     Warning:

    If you release the left mouse button the operation will be executed. If this occurs, select the Undo option, and try again.

    The Ellipse should be about one quarter the entire size of the image, and approximately centered. This area selection will automatically be placed into the TimeLine when you release the left mouse button.

    Now we will set the transparency for the animation sequence. The area selection transparency controls are located in the Area Selection Details dialog. This dialog can be accessed by double clicking on the Ellipse icon in the TimeLine, and then selecting the Show Details option. This dialog contains the controls for altering the transparency of an area selection. These controls allow you to set the transparency and blending for any operation or area select. If you would like to view further information on these controls, press here, and then look for the section headed Transparency Controls.... To achieve the desired effect, select the Trend for the Level control, and then select OK.

     Note:

    You will not be able to edit the Level Trend until you select OK in the Area Selection Details dialog.

    The Transparency Level Trend should be set to a linear setting of 255. This means that the effect will be completely visible for the entire animation. For this example, we will want to have the effect change from not visible to visible, and then back to not visible. Using the left mouse button, set your Trend graph to look like this:


    This will give us the desired fade in, and then a fade out. Once you have set the Trend, select OK to exit.

  8. We are now ready to create our animation. If your TimeLine is not currently visible, please turn it on by selecting the Show Filmstrip option in the Filmstrip pull down menu, or the TimeLine icon on the tool bar.

     Note:

    If this option already has a check mark by it, the TimeLine is already "on". This means that you will not have to select this option.

    Once the TimeLine is visible, select Generate from the Time Line dialog. F/x will now begin to process the specified animation using the Trends and area selection information that you provided. The final result should look like this:


    You have now completed the Asterize tutorial. This tutorial can serve as a good base for other examples and tutorials. Not all of the tutorials will be as extensive as this one, but you can apply many of the same techniques to F/x's other operations. As a further example of some of the things you can do in an Asterize animation:


Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 365