
















|
This tutorial will cover every step in setting up a Particle Storm scene, including basic steps which will be skipped over in later tutorials.
Name: Flame
Objectives:
Using the Wind function in Particle Storm to create a realistic sputtering candle flame.
Approximate Time: 30 Minutes
Instructions:
Step 1: Start LightWave
Step 2: On the top right of the LightWave screen click on the Options button.
Step 3: From the Options panel, click on the Generic Plug-ins button, and while holding down the left mouse button, select Particle Storm and release the mouse button while the words Particle Storm are still highlighted.
You should now see the Particle Storm screen over the LightWave layout screen. You can return to the layout screen at any time by clicking the Close button in the lower right corner of the Particle Storm screen.
Basic Particle Storm project
To see the results of what we are doing, we will want to position our camera. First start the particles moving by hitting the "play" button (the single right pointing triangle) on the preview panel. Chances are the camera will already be properly placed. If not, select Camera from the Item Type list on the left and Camera from the preview camera source list. You can now move, zoom, and rotate the camera by selecting that function from the Mouse Input Target selector. Many settings within Particle Storm can be adjusted with the mouse, but for this exercise we will enter most of the values by typing the numbers in the appropriate entry fields.
Particle Group
The heart of each Particle Storm project is the Particle group. In the Item Type selector select Particle Group. This is where you define the number of particles you will use and the name of the Particle Group object. Leave the total particles set to 1000, and change the name from "Particle Group" to "Flame."
Fountain Emitter
Select the Fountain Emitter from the Item Type list. The fountain emitter is the point from which all the particles originate. Fountain Emitter and Particle Group are both necessary for any Particle Storm project, along with a virtual camera to see what is happening. These are the only items automatically created at the beginning of each session.
To begin our creation of the candle flame, start by giving the emitter a proper orientation. Under the Orientation section, put the value -90 degrees in the Pitch box. You should now see a stream of particles being expelled in an upwards direction.
For the purpose of our candle flame, we want our particles to radiate upwards. In the box called Spread (max), enter a value of 180 degrees. Notice that the particles are now flying upwards.
Adding Controllers
We will now add something new to the scene that will modify the directions of the particles once they leave the emitter. There are three steps to adding a controller to a project
1. Select the Item Type. In this case we want Wind.
2. Create an instance of this item type by clicking on the Create button.
3. Apply that controller to the particle group. In the list for Affected Particles, highlight the particle group we named flame.
Because we want the flame to flow upward, enter the value P=-90 in the wind orientation section. The particles should now all be moving in a generally upwards direction.
Lets skip to the item type Death Wish for a moment. This value determines how long a particle will be floating around. For our candle flame set the Death Value to 2. Now the particles will last long enough for us to see the results of the Wind settings.
Back at the item type Wind, we will adjust the settings to give us a particle group that is round on the bottom and tapered at the top by setting both Strength and the Inward Strength to 2.
(Optional) Adding Some Color
We can add some color to our simulation with the Particle Shader controller.
Select the Item Type Particle Shader. Click on the Edit Color Path button located inside the Living Particle Shading section of the Particle Shader edit page. This will bring up the Color Editor.
We want to change the color sequence the particles will go through, so we have to change the Color Sequence Bar at the top of the page. We do this by adding and modifying keys. First, select the key located at the beginning of the Color Sequence Bar by clicking on it. We will modify this color first. Modifying the color can be done through the keyboard or through the mouse.
With the mouse, click on one of the pointers on either side of the luminosity bar, and drag it about a quarter of the way down the bar. Then click on the target located in the Hue vs. Saturation area and drag it to the desired color. In this case, drag it to red.
The values should approximately read: Luminosity: 65; Hue: 125; Saturation: 90; Green: 90; Blue: 80.
The next step is to add a key with a color we want the color sequence to progress to. In this case, we will use yellow.
Click on the Create Key button and enter the value 2 at the prompt. For this key we will use the keyboard to input the color values. Input the following values into the appropriate entry fields. You can change fields by using the Tab or Enter keys, or by clicking on the desired field with the mouse. Luminosity: 65; Hue: 170; Saturation: 90; Red: 245; Green: 225; Blue: 80.
As you can see by looking at the Color Sequence Bar, the particles will progress from red to yellow during their 2 seconds of life. Click on Ok to return to the Particle Shader edit page.
When previewing the scene in LightWave, these colors will not show up.
The preview should now show a roughly onion shaped moving cloud of particles. The next step is to record these motions and get them into the LightWave layout screen so they can be rendered.
Recording Particle Motion
We need to tell Particle Storm where to put the finished object and motion file. Click on the Project button at the bottom of the screen to bring up the Projects Options window. Click on Browse and select a directory where you want all the project’s associated files kept. Without entering a file name, click on Ok and then Continue.
The recording process is controlled by the tape recorder buttons on the bottom right side of the Particle Storm screen. Return the simulation to the first frame by clicking the button with the two left facing arrows. Click on the record button, the one with the circle, it will turn red in preparation of recording. A warning will appear informing you that you will overwrite any previously created files if they have the same name or extensions.
Start recording by hitting the "play" button and let it run for about 150 frames. Stop the recording process by hitting the pause button, the one with the two vertical lines. The files have now been generated and stored in the directory previously selected. Hit the Close button to return to the LightWave layout screen.
Back in Layout
Go to load objects in the Objects panel and locate the particle group LightWave object which we named Flame. When the ‘flame.lwo’ loads it automatically loads the associated ‘flame.psm’ file, but it is still necessary to load the Particle Storm Displacement Map plug-in. While still in the Objects Panel, click on the Displacement Map Plug-in button, select the Particle Storm plug-in, and in the Options panel load the ‘flame.psm’ file. Return to the layout screen.
At frame 0 the particles have not yet started moving, so advance to frame 75 or so and position and keyframe the camera to see the full particle group. Positioning can be a little tricky because the particle points disappear when making layout adjustments. Remember you probably want to keyframe the camera at frame 0.
Run generate a wireframe preview animation. At this point the particle group Flame.lwo can be treated like any other LightWave object. It can be scaled, stretched, rotated, and given a motion path. The next step is to render the animation.
Going further
Though this is a fairly simple application of Particle Storm, it has numerous uses, such as smoke stacks, rocket exhausts and torches. You can alter the settings of the flame particle group by going back to the Options panel and re-entering the Particle Storm screen. Unless you exited LightWave completely, all the previous settings should still be there. If you want to keep the previous flame, rename the current particle group to something else, like Flame1.
Now play around with the Wind settings, altering the previously given values. You can create a second Wind modifier with less Strength but with added Turbulence and Swirl and apply it to the flame particle group also.
It is important to keep in mind that values can be changed and controllers can be applied and deactivated during the recording process. Also, several particle groups and duplicates of controllers can all have different settings and be generated within the same Particle Storm project.
|