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: Snow Storm

Objectives:

Learn to use a loaded object as a fountain emitter
Learn to use the Drag controller
Learn to use Elasticity and Roughness with collision detection objects
Create a word made of particles and have it fall like snow onto another word and some snow drifts


Approximate Time: 30 minutes

Instructions:

Note: For this tutorial, a blank directory structure should be made for a new LightWave project. Set your content directory path (in the Project window) to it.

Creating the Main Objects

The first thing to do is create the main objects. Open Modeler and click on the Text button. Load the type-1 font Ol-bold from the PSFONTS\ B&PGRAPHICS directory. Click Ok.

Click the Custom button and drag down to testcompose to start the textcompose plug-in. The settings should be as follows: Block text, Centered, 500 mm Text Depth, 0 Bevel Width, and 80% Spacing. Type the word Particle on one line and the word Storm on another. Click on Ok.

Press ‘a’ to fit the words in the window. Using the lasso, select the word particle (left view). Click on Polygon at the top of the screen, then click Surface on the left side of the screen. Change the name to Particletxt. Click on Apply. Press ‘ “ ‘ to highlight Storm. Click Surface again, change the name to Stormtxt, and click Apply.

Press ‘x’ to cut the Storm from the current layer. Press ‘2’ to go to the second layer, and press ‘v’ to paste Storm on the second layer. Click on the Object button and save this as “storm.lwo”.

Press ‘3’ to go to the third layer. Press “Alt -1” to put layer 1 behind layer 3. Click on Box and make a flat rectangle that encompasses the Particle text in the face view. Click on Numeric and change X to 10, Y to 4, and Z to 0. Click Ok. Press Return to make the box. Click on the Polygon button at the top of the screen again, and click on Surface. Change the name to default and Click Apply. Since we will be using the polygon face to emit the particles, we will subdivide it a couple times, and triple it to keep a tight pattern. Click on the Subdivide button twice, then click on the Triple button. Click on the Tools button. Then Click on S Drill and choose Stencil. Change the surface to Particletxt, and click Ok. Press ‘w’ to bring up the Polygon Statistics and select all polygons named default by clicking on the ‘+’ to the left of the Surfaces box. Press ‘z’ to display only the word Particle. Click on Objects and Save As particle.lwo.

To make the snow drift, first press ‘4’ to go to the fourth layer. Then press Alt-Shift-1-2-3 and drag out the top view. Click the Box tool at the left hand side of the screen. Make a flat 5m box, laying in the Y=0 plane. Click on Numeric and change the X and Z segments to 10, and the Y segment to 0. Click Polygon at the top of the screen, then click Surface, change the name to ground and click Apply. Click on Triple, then on Subdivide- both on the left hand side of the screen. Click on Object and Save As ground.lwo.

To create snow drifts, first click on Modify and choose Magnet on the left side of the screen. Using the magnet, create some gentle hills behind and to the sides of the text. For later rendering purposes, we will create a surface called ice. By pressing the shift key and the left mouse button, select the flat ground area of polygons and click on Polygons on the top of the screen. Click on Surface and name the surface ice. Click on Apply. Click on Object and resave as ground.lwo.

Particle Storm Settings

Enter Particle Storm through the Options Panel by clicking on the Generic Plug-ins button and dragging down to Particle Storm. Parent the Camera to the camera in the Parent list.

Select Item Type Particle Group and change the name to particletxt. Change the Total Particles to 3000, and turn off the recycle particles option.

Click the Project button in the Preview area to bring up the Project window. Set the Output and Content paths.

Select Item Type Collision Detection, click on Create and change the name to ground. Highlight particletext in the Affected Particles list. Change the Elasticity to 5% and Roughness to 85%. Select Box in the Collision Shape area. Set the top flush with the Y=0 plane, and size it to fit. Click on Create again and name this new instance, text. Select Object File in the Collision Shape Area and load storm.lwo as the collision object. Highlight particletext in the Affected Particles list and change the Elasticity to 0% and the Roughness to 100%.

Select Item Type Fountain Emitter and change the name to snowtext. Select Object File in the Source Shape area, and load particle.lwo. Select Use Normals by clicking on the box next to it. In order to have all the particles active from the start, we could offset the frames, but that is a lot of work. An easier way is to multiply the number of particles in particletext by the number of frames per second and input this number for the Birth Rate. Input 90000 for the Birth Rate.

In order to keep the word legible as it falls, we have to slow the particles down. Select Item Type Drag and Click Create . Change the name to textdrag and highlight particletext in the Affected Particles list. Input ten for the Drag Strength.

Select Item Type Death Wish and click Create. Change the name to textdeath and highlight particletext in the Affected Particles list. Leave the Method of Death as Age, but input a Death Value of 10.

Select Item Type Gravity and click Create. Highlight particletext in the Affected Particles list. The default values will work fine for this application.

Select Item Type Particle Shader and highlight particletext in the Affected Particles list. Click the Color button in the Collision Age Shading area and adjust the color to gray. Input 1.5 as the Duration value in the PreDeath Fade Out area. Click on the Edit Color Path button in the Living Particle Shading area. Create a Key at 10 and adjust the color to be light gray at this point.

Click on the Project button in the Preview area and save the project as storm.prj.

At this point, you should take some time to play with this scene. Change the Active Instances for camera to setup different views. Experiment with Drag to loosen the particles from the text like form. Add a separate snow cloud. Experiment with Gravity speeds. Add some Wind gusts, etcetera. This should be a good starting point for basic scene setup.

When you are satisfied with the scene, click on the record button and record the simulation either in realtime, or by stepping through the frames. For more complex effects such as multiple gusts, etcetera, you can create null objects in layout and parent the Winds to them. They will react to the stretch and

size of the nulls, as well as their rotation and position. This leaves your hands free to adjust the flows, etcetera while recording the simulation. You can also record a simulation of the particle.lwo swarming around and play the animation backwards to create text from nothing effects. Also, using multiple particle groups will let you have different shaders and effects for more depth.

When the recorded simulation is paused, click on Project and create a scene for your particle groups called snowstorm.lws. Close Particle Storm and load the scene into LightWave. Load the objects, surfaces, etcetera. If you are using LightWave 4.0 or earlier, you must use motion blur due to a known LightWave bug. In 5.0, you can just use particle blur.