Dynamics and Particles
Using Dynamics
If an object is to participate in a dynamic simulation (see Anim
Run dynamics), it needs to have its material properties specified. These properties are used by the dynamics simulation to determine the object's behavior.
Dynamics Properties Parameters

Density
This field defines the density of the objects to which this shader is assigned. The value will be used to calculate the object's mass in units of kilograms/linear-unit-cubed.
Mass is calculated as density times bounding box volume. The density is used to calculate the mass of the object only if the object has Use Density turned on for its collision type. See Anim
Run dynamics for more information on the computation of an object's mass.
Elasticity
This field defines the damping of speed on collision with another object. A damping value of 0 means all speed is lost, a value of 1 means the object bounces back with the same speed.
Friction
The coefficient of friction affects the contact forces when objects are in collision. A value of 0 is frictionless, while a value of 1 stops all lateral movement.
Drag Coeff
The Drag Coeff (drag coefficient) slider value defines how much an object will get slowed down by the air. A value of 0 means the air won't affect it at all. Otherwise, the air drag is proportional to air density and the cross sectional area of the object. Air density is defined in the Dynamics Globals window for the Environment shader (See Editing Environment Shaders for more information). The drag coefficient is used as a scaling factor. This allows a per-object control of air drag.
Using Particles
An object can also emit particles, which can be simulated dynamically using Anim
Run dynamics and then rendered. If Emit Particles is set to ON in the Special Effects window, the Control window expands to display Particle Emission parameters. Click the black arrow to the left of the parameter heading to display the associated options.
Particle Emission Parameters
These parameters determine whether particles will be emitted or not (or read from an external file). The type of particle is also chosen which will determine what kind of motion parameters are available.

Presets
Click to display the Presets menu from which you choose a default particle emission.

Suggested glow threshold and turbulence values are displayed in a message box when you select the following Particle Emission Presets:
Use File
If set to ON, particles will not be generated during the simulation, but will be read from files instead. These files would have been generated by previous simulations or come from external sources.
Tip: See the File Formats section of the Alias Menu Book for information on Particle File Formats.
Filename
If Use File is set to ON, the Filename field is displayed along with a Browse button.

You can type your own path name in this field to determine in which directory particle files are to be stored, or click the Browse button to open the File Browser and type a path name in the Path field.
This is the full path prefix for the particle file name. This field is set on the shader when a simulation is run with Save Particles ON (see Anim
Run dynamics). The particles are saved in particle description files, one per shader or light particle emitter, per frame.
For example, if the particle emitting shader is called Shader#1, and you type test when prompted for a Save Particles file location, the particle files will be stored in./user_data/<project>/sdl/test.psys/Shader#1.n, where n is the frame number for that particle file.
Note: Remember to turn Use File OFF once you have accessed a file.
Motion Type
Click to the right of the heading to display the menu from which you can choose HAIR, SOLID or GAS particles. Gaseous particles follow the motion of the air; they are only affected by Turbulence and Wind fields. Solid particles have mass, and are affected by regular forces.
Start Frame
Particles are emitted starting at this frame. The start frame can be set earlier than the animation start frame in order to "run up" the particle system. Running up the particle system allows the first frame to show a particle effect in mid motion rather than just starting.
End Frame
Particles are not emitted after this frame.
Render Parameters for Particles
These parameters determine how the particles will be rendered.

Render Type
A particle can be rendered as THIN GAS, CLOUD, THICK CLOUD, BLOBBY SURFACE, or TUBE.
Blob Lighting
A blob can have 3 kinds of lighting: CONSTANT, ILLUMINATED, or SELF SHADOWING.
Color, Incandescence, Transparency
The Color, Incandescence, or Transparency of a particle can be set to a fixed value, or texture mapped over its lifetime. If it is mapped, the V values of the map are mapped onto the particles' lifetime.
Tips:
Blob Map
If the Render Type is BLOBBY SURFACE, the color can be texture mapped. A surface texture will be mapped projecting from the eye point, so that it will appear to follow the blob. A solid texture will be applied according to the solid texture placement so that the blobs will appear to move through the texture.
Parent Color
If ON, the particle obtains the color of the point on the surface that it emanated from. For a blob surface, the blobs inherit the parent's color texture map.
Density
This is the visual density of the particles. Less dense particles appear more transparent, dense ones appear more opaque. If density is 1, the transparency of the object is used. If density is 0, the particles are completely transparent.
Tip: Self shadowing is more visible in denser particles.
Translucence
Translucence is the extent to which diffuse light can penetrate the object. The translucence of a particle can be set to a fixed value.
Surf Shading
This parameter controls the level of shading on the surface of the particle system. It behaves somewhat differently depending on the Motion Type and Render Type selected.
- If the Render Type is BLOBBY SURFACE or the Motion Type is HAIR, it controls specular illumination. As the value approaches 1.0 the highlight becomes more intense and focused.
Tip: For the best results when rendering hair, the Render Type should be CLOUD.
- If the Render Type is THIN GAS or CLOUD and the Motion Type is anything but HAIR, the Surf Shading controls the amount of diffuse illumination at the surface of the particle mass.
The surface of the cloud for this shading is controlled using the Blob Threshold parameter. As the value approaches 1.0, the shading of a cloud becomes completely surface shaded, with no volume illumination of the particles.
If this is non-zero, it uses the Blob Threshold to create a "virtual surface" which provides normals to be used in the shading calculation. Increasing the surface shading gives the blobs sharper edges, (for example, clouds have a large surface shading component). A value of 1 means diffuse surface illumination, a value of 0 means blob illumination.
Note: Because normals are provided, the rendering is slower when the Surf Shading value is non-zero.
Blob Threshold
This value is the density at which you threshold the surface for Surf Shading or BLOBBY SURFACE rendering.
Blob Noise
A value greater than 0 makes the blobs look less regular. This helps hide the fact that the underlying system may have a small number of large blobs.
Noise Freq
The noise frequency should be chosen according to the size of the particles.
Noise aspect
This value is used to control the scale of the blob noise along the path of the particle. A low aspect value makes the noise long and stretched out. This is particularly useful when using blob noise to simulate sub-hairs within a hair strand.
Blur Quality
Blobs are generated along the path of the particle to get motion blur. If the blur quality is high, the particles are small, and they travel a long way in one frame, then a lot of blobs will be created for each frame. In this case, rendering will be slow and a lot of memory will be used.
Glow Intensity
Particles can emit glow effects. See the section on Glow for information on glow parameters.
Particle Properties based on Motion Type
These parameters determine how the particles will move. Different parameters are displayed when you select the SOLID, GAS or HAIR Motion Type in the Particle Emission window. The following is what is displayed when you select the GAS Motion Type in the Particle Emission window.
GAS Particle Properties
When you select the GAS Motion Type in the Particle Emission window, the following is displayed.

Size
The (world space) size of a particle can be set to a fixed value, or texture mapped over its lifetime. If it is mapped, then the V values of the map are mapped onto the particles' lifetime (a V-ramp is a good choice for a texture here). As the size of individual blobs gets larger and overlap increases, rendering time will increase.
Note: This size is also used for buoyancy calculations for solid particles, so that a particle that ends up much less dense than the medium may end up rising very rapidly.
Buoyancy
This value gives the particle additional velocity in the direction of gravity (a positive is high, and a negative value is low).
SOLID Particle Properties
When you select the SOLID Motion Type in the Particle Emission window, the Particle Properties window is expanded to display the Mass, Elasticity, and Friction parameters.
Note: These parameters are only applicable to SOLID particles.

Mass
This value is the mass of an individual particle (in kilograms). It determines how forces affect the particles. The lighter the particle, the more a force will accelerate it.
Elasticity
The elasticity of an object determines the amount of damping of speed on collision with another object. A value of 0 means all speed is lost, a value of 1 means the object bounces back with the same speed.
Friction
The coefficient of friction defines how much an object slows down when in contact with another object.
Using Hair Particle Properties
Hair particle properties are used to simulate flowing hair. Particles are linked to previously emitted particles to create a continuous strand. The number of hairs is determined by the number of Particles/Sec set in the Generation window.
Tip: Raise the Particles/Sec value to create more hairs.
Particle Distance
The distance a particle can travel in a frame is determined by the Hair Length Max and Hair Segments parameters set in the Particle Properties window for the HAIR Motion Type.
If the emitter is in motion, the oldest particles will lag behind that motion where the lagtime (Start and End frames set in the Particle Emission window) equals Hair Segments. This lag can create a nice effect (like hair in water), but if it is too great, either reduce the Hair Segments value, or increase the simulation's frames.
Hints & Tips:
Hair Particle Properties
When you select the HAIR Motion Type in the Particle Emission window, the Particle Properties window is expanded to display the Hair Leng. Max, Min, Hair Stiffness and Hair Segments parameters.

Hair Leng. Max/Min
The values in these sliders are used to determine the distance a particle can travel in a frame.
Hair length is randomized between the Hair Leng. Max and Min values. The Hair Leng. Max/Min value combined with the Hair Segments value determines the Lifespan min/max for the particles generated in the Generation window.
Hair Leng. Map
The value in this slider is used to scale the hair length across the surface. If the texture is white, the hair will be its normal length ( as determined by the Hair Leng. Max and Min values). If the texture is 50% grey, the hair will be half its normal length. If the texture is black, the hair will be so short it will disappear.
Tip: The length change is done by removing segments at the tip of the hair, so the number of segments must be high enough to view the range of lengths you want to see.
Hair Stiffness
As the stiffness of a hair approaches 1 it responds less and less to forces.
Tip: Time lag effects are not affected by Hair Stiffness. To completely remove the time lag effect, make the Start and End frames (in the Particle Emission window) for the simulation greater than the value for Hair Segments (and increase the Particles/Sec in the Generation window).
Hair Segments
This value is used to determine the number of line segments along the longest strands of hair. If the emitter is in motion, the oldest particles will lag behind where the lag time (in frames) equals the value set in Hair Segments and the Start and End Frame values set in the Particle Emission window. This lag can create a nice effect (like hair in water), but if it is too large, either reduce the Hair Segments value, or increase the simulation's Start and End Frame values.
Note: Increasing the Start and End Frame values requires that you increase the number of Particles/Sec in the Generation window in order to generate the same number of hairs.
Generation Parameters
These parameters determine how many particles you get, and when and where on the surface they emanate from. The following shows the default Generation parameters.

Particles Per Second
This value defines how many particles are emitted from the object per second. This is done in seconds so that the net effect is independent of frame rate. If particle emission is texture mapped, then the actual rate may be lower.
Speed
This value defines the average speed of particles being emitted.
Speed Range
This value defines how much the emission speed of the particles can vary. The speed at which a particle is emitted varies in the range (speed-speed range, speed + speed range). If Speed Range is 0, all particles are emitted at the average speed.
Speed Decay
This value is a multiplier which determines how fast a particle loses its initial velocity. A value of 0 means the initial velocity is lost immediately, a value of 1 means its initial velocity is retained indefinitely.
Note: This value is only applicable to GAS particles.
U Bend
Particles are usually emitted along the normal to the surface. U bend specifies how much the emission can bend in the U direction. A value of -1 means no bend, a value of 1 means the particles are emitted tangent to the surface in the U direction.
V Bend
Particles are usually emitted along the normal to the surface. V bend specifies how much the emission can bend in the V direction. A value of -1 means no bend, a value of 1 means the particles are emitted tangent to the surface in the V direction.
Lifespan Min
This value defines the minimum lifespan of a particle in frames.
Lifespan Max
This value defines the maximum lifespan of a particle in frames. If min and max are different, then particle lifetimes are uniformly distributed in the range between them.
Time Random
If time random is OFF, particles will be emitted from the same spot on the surface every frame. If set to ON, particles will be emitted from different spots every frame.
Normalize
When you click this button, the generation of particles on polysets is made uniform by taking the areas of polygons into consideration.The normalization takes place at the current frame as shown by the animation time slider.
Behavior Parameters
These parameters determine whether the particles can collide with other objects, and what happens when they do.

Diffusion
Note: This effect is available only for the GAS Motion Type (set in the Particle Emission window).
When set to ON, particles automatically grow in size and become more transparent to simulate the diffusion of smoke or steam in air. When a particle becomes nearly completely transparent, it will die even if it has not reached the end of its lifespan.
The Lifespan min/max in the Generation window should be set long enough for the particles to have a chance to diffuse naturally. If the particle has not diffused by the last second of it's life, it will be forced to diffuse across the last second.
Hints & Tips
- If there are no forces or turbulence acting on the particles, the only diffusion is this forced diffusion at the end of the particle's lifespan.
- If the air turbulence is rough and strong, particles diffuse rapidly and die young.
- If the turbulence is smooth, particles live much longer and form long tendrils.
- Smoke with greater detail is possible using Diffusion because particles only grow in size when they are forced to spread apart due to force effects.
For example, if you created cigarette smoke with a turbulent volume light force above the stream of smoke, the particles would not diffuse ( and die) until they hit the turbulent force. Another advantage to using diffusion is that it tends to avoid lone blobs: when a clump of particles separate, the particles will grow ( becoming more transparent) so that the blobs stay overlapping.
- When using Diffusion, the start size of a particle is size value for the particle system, and the size across the particle life is determined by the local differential in forces acting on the particle. The texture map on particle size is ignored when Diffusion is set ON.
- The transparency of the particle is based on a combination of the normal transparency value( which may still be mapped), and the transparency due to growth in size of the particle. The default transparency of 100 or so should generally provide good results, however if particles seem to pop out slightly at the end of their life, you may want to increase the transparency( and possibly increase the density).
- The density value will affect how large the particles can grow. If the density is high, particles can grow to many times the start size before dying.
Note: The transparency value does not affect particle growth, so that a very low density combined with a very low transparency can result in particles that die before they have become fully transparent.
Diffusion Rate
This controls the speed at which particles grow in size when diffusion is set to ON. A Diffusion Rate of 1.0 provides good results for most situations.
If particles start out life in tight clusters overlapping one another, a lower diffusion rate (less than 1.0) may be desired, as a certain amount of diffusion occurs as particles move apart.
If the particles are emitted so that they barely overlap, a higher diffusion rate ( more than 1.0) may be needed to keep the smoke together as the blobs move apart. At a Diffusion Rate of 2.0, two particles that just touch at the edges are guaranteed to stay in contact until they die, however in a turbulent field it is more likely that the overlap will increase.
Note: Particles will always completely diffuse across the last second of their lifespan, regardless of the Diffusion Rate. Therefore, it is generally better to give the particles a long min/max Lifespan (for instance, 1000 or more) so that the particles die due to diffusion by forces and turbulence.
Collisions
If set to OFF, particles will not collide with any objects. If set to ON, particles will collide with any collision walls that have been turned ON (see Using the Environment Shader for more information), and any simulation objects that have particle collisions set to ON (see Anim
Run dynamics).
Hit Method
Set Collisions ON to display the Hit Method parameters.

If particles have collision turned on, they can do one of three things when they collide with an object. Click to the right of the heading to display the menu from which you can select the BOUNCE, DIE, or SPLIT Hit Method.
- BOUNCE means the particles will bounce off the surface of the object, subject to the elasticity of the particles and the surface.
- DIE means the particles will disappear the frame after they collide.
- SPLIT means the particles will split into several new particles, each of which inherit the parent's age and lifetime. Particles must be moving fast enough (more than the Split Vel. Min value) in order to split, otherwise they will just bounce.
Curl
This is the amount particles twist about their direction of motion. This is especially useful with hair.
Tips:
SPLIT Hit Method parameters
When you select the SPLIT Hit Method, the Split Vel. Min slider is added to the window.

Split Vel. Min
This provides a limit on the speed a particle must be moving when it collides with an object to determine if the particle splits.
Child Particles Parameters
These parameters determine what happens if and when a particle splits.

Split Time
Particles may split spontaneously (once per particle) as well as on collision. The Split Time is the fraction of their lifetime at which they will split. A value of 0 (particle birth) or 1 (particle death) will not cause any splitting.
Num Children
This is the number of children that a splitting particle will generate.
Branch angle
After splitting, child particles will move at this angle from the particles original path (for collisions, this is the path after the collision).
Caution!
Large branch angles may result in the particles penetrating the object that they were supposed to be colliding with.
Randomization
Randomizes the branch angle by rotating it around the direction of particle travel by the Randomization slider value set.
aliasdocs@aw.sgi.com
Copyright © 1997, Alias|Wavefront, a Silicon Graphics Company. All rights
reserved.