Copyright © 1997 Dynamic Realities

Miscellaneous Legalities | Credits and Acknowledgements | Other DR produces | How to contact Dynamic realities



Main
Theory of Operation
Entering Particle Storm
Camera
Particle Groups
Collision Detection
Death wish
Drag
Force Fields
Fountain Emitter
Flocking and swarming
Gravity
Particle Shader
Wind
Particle Storm Post Process
Tutorials




Name: Space Fighters

Objectives:
Learn to create particles streaming from an object
Learn 3 different methods of parenting a fountain emitter to an object
Learn to position cameras for best viewing angles

Approximate Time: 45 minutes (approximately 15 minutes for each parenting technique)

Instructions:

Load spacefighters.lws into LightWave from the scenes\ space directory.

Particle Storm Settings

Enter Particle Storm through the LightWave Options Panel. Parent the Particle Storm Camera to the LightWave camera in the Parent list.

Select Item Type Particle Group and rename it exhaust. Change the Total Number of particles to 750 and leave the Recycle Particles activated. Click on the Copy button to make a second exhaust group.

Select Item Type Fountain Emitter. Change its name to exhaust and ensure exhaust is highlighted in the Affected Particles List. Parent the fountain emitter to the spacefighter.lwo (1) in the Parent list. Click on the play button in the transport controls to watch the basic simulation.

Aligning The Fountain Emitters To The Parented Object

There are three different ways of aligning the fountain emitters to their parented objects, each of which is described below.

Method #1 NO Modeler Version A

The first way to do this is to load the spacefighter objects into Particle Storm as Collision Detection objects, then parenting the collision objects to the LightWave spacefighter objects. This allows you to see what is going on, and aids in the placement of the fountain emitters.

Select Item Type Collision Detection. Click Create to create a new collision detection object. Ensure this active instance has nothing highlighted in the Affected Particles list. Click the Object File radio button in the Collision Shape area to use a complex shape as the collision detection object. Click the Load button to bring up the file selector and load the spacefighter.lwo. Under View Prefs, you can select the way Particle Storm will display the object. Choose the selection that works best on your machine. Parent this object to the spacefighter.lwo (1) in the Parent list. Click on the Copy button and parent collision detection (2) to spacefighter.lwo (2). When the simulation is played, the spaceships will be seen along with the particles trailing behind them. The advantage to this is that you can actually see your scene as you record the simulation. The disadvantage is it will slow down the interaction.

To position the fountain emitters at the exhaust ports, first select Camera from the Item Type list. Change the Active Instance to Camera (Top). Parent this to spacefighter.lwo (1). In the Preview area, set the Camera Source to Camera (Top).

Note: This technique can be used to setup multiple views of an object for easier placement of the fountain emitter.

At this point, the characteristics of the fountain emitter can be adjusted interactively to fit the simulation.

If you would like the stream of particles longer or shorter, select Item Type Death Wish. To make the stream longer, increase the Death Value. Decrease the Death Value to make it shorter.

To give the stream color, select Particle Shader from the Item Type selector. Deactivate the Use Collision Shading box by clicking on it. Click on the Edit Color Path button to bring up the color editor for living particle shading. Set the initial color you would like the particles to be. Click on Create Key and enter a key value corresponding to the Death Value on the Death Wish edit page. Select a color you would like the particles to progress to. Click Ok to exit the color editor.

Now that you have set up the fountain emitter for one ship, you need to make a copy for the second ship. Select Fountain Emitter from the Item Type selector. Click the Copy button and change the Affected Particles to exhaust (2). Parent this to spacefighter.lwo (2). Check the simulation to ensure this group corresponds to the exhaust port of the second spaceship.

To save this project, click on the Project button in the Preview area, then click on the Save button. Save this as fighters.prj. After the project has been saved, set the output and content paths and click Continue.

At this point it is recommended that you remove the collision groups to speed the simulation. Record the simulation, and remember that any parameter can be altered in real time as the simulation is recorded. Experiment with Size, Stretch, Birthrate, etcetera for different effects. When you are satisfied with the recording, click on Close to return to layout.

Load both exhaust objects from the Objects panel in LightWave. Also from the Objects Panel, load the Particle Storm Displacement Map plug-in.

Move to a frame in the middle of the animation and render a test frame. Adjust the scene to your liking. Try using Glow when rendering. When you are satisfied with the scene, save it as spacefighters2.lws for later use.

Method #2 NO Modeler Version B

The second way to align the fountain emitters to their parented objects is through the use of null objects. The nulls will be parented to the objects, and positioned in LightWave. In Particle Storm, the fountain emitters will then be parented to the nulls.

Clear the current scene if you haven’t already done so and reload the spacefighters.lws. Add two null objects and parent one to each ship. Reposition them so their positions correspond to the exhaust ports. Create a simple size envelope over time for each null. Enter Particle Storm and go to the Project menu. Click Clear Project to start fresh. While still in the Project window, load the fighters.prj.

Press play to confirm your settings, then remove both collision detection objects. Choose Item Type Particle Group, and rename both particle groups to thrusters.

Select Item Type Fountain Emitter and reset the positions of both fountain emitters to 0,0,0 by entering the numbers into the Position boxes. Parent each fountain emitter to one of the null objects. Notice the thrusters react to the null sizing. This can help set up more complex effects.

Go to the Project window and save this project as fightersB.prj. Record the new simulation. Click Close to go back to layout.

Load the thruster objects and their Particle Storm Displacement Map plug-ins from the Object Panel. Adjust the new scene, and save it as spacefighters3.lws.

Method #3 Modeler Version

The third way to align the fountain emitters to their parented objects is by using polygons from the objects themselves. The exhaust section of the spaceships will be cut out in the Modeler, and saved as a new object. In Particle Storm, the fountain emitters will then be parented to this new object.

Open the Modeler, and load the spacefighter.lwo. Click on the Polygon button at the bottom of the screen. Press ‘w’ to bring up the Polygon Statistics Screen. Select the polygons named SpaceFighterEngineGlow and press ‘x’ to cut them. Press ‘z’ to clear the layer without killing the buffer. Then press ‘v’ to paste the SpaceFighterEngineGlow onto the layer. Save this object as exhaustemitter.lwo and exit the Modeler.

Go back into Layout. If you have just completed the second method, the scene and the last project should still be loaded. If not, load the spacefighters.lws from the scene\ space, then load the fighters.prj project. After both files have been loaded, enter Particle Storm.

Select Item Type Fountain Emitter. Do the following for each Active Instance of exhaust:

- Enter 0,0,0 in the Position boxes to reset the position of the emitters.
- Enter 1,1,1 in the Size boxes to reset the size parameters.
- Select Object File from the Source Shape area and load exhaustemitter.lwo.
- Click on Use Normals to engage this option.


The advantages of the third method are that the fountain emitters are in place perfectly and they can be odd shaped. Also, the CPU is not slowed down by collision objects during creation. The disadvantages are the extra step in Modeler and the inability to see the entire scene during creation.

Keep in mind that all of the parameters can be changed interactively until you are satisfied. At this point, you may want to save this project and record another simulation.

Note: Remember if you want to keep the original .lwo and .psm files from the first method, either the names of the particle groups, or the output path must be changed.