Understanding Space Warp Types


Just as many different types of forces exist in nature, many different Space Warp types exist. These appear in several different subcategories, based on their function. The subcategories are Forces, Deflectors, Geometric/Deformable, Modifier-Based, Particles & Dynamics, and reactor.

CROSS-REF 

The Particles & Dynamics subcategory includes a Vector Field button that is used with biped crowds, discussed in Chapter 42, "Creating and Animating Bipeds." Although it is not available in the Create image from book Space Warps menu, the Create panel includes a reactor category that makes the Water button available. The Water reactor object is discussed with the rest of the reactor objects in Chapter 37, "Simulating Physics-Based Motion with reactor."

Force Space Warps

The Forces subcategory of Space Warps is mainly used with particle systems and dynamic simulations. Space Warps in this subcategory include Motor, Vortex, Path Follow, Displace, Wind, Push, Drag, PBomb, and Gravity. Figure 36.1 shows the gizmos for these Space Warps.

image from book
Figure 36.1: The Force Space Warps: Motor, Vortex, Path Follow, Displace, Wind, Push, Drag, PBomb, and Gravity

Motor

The Motor Space Warp applies a rotational torque to objects. This force accelerates objects radially instead of linearly. The Basic Torque value is a measurement of torque in newton-meters, foot-pounds, or inch-pounds.

The On Time and Off Time options set the frames where the force is applied and disabled, respectively. Many of the Space Warps have these same values.

The Feedback On option causes the force to change as the object's speed changes. When this option is off, the force stays constant. You can also set a Target Revolution units in revolutions per hour (RPH), revolutions per minute (RPM), or revolutions per second (RPS), which is the speed at which the force begins to change if the Feedback option is enabled. The Reversible option causes the force to change directions if the Target Speed is reached, and the Gain value is how quickly the force adjusts.

The motor force can also be adjusted with Periodic Variations, which cause the motor force to increase and then decrease in a regular pattern. You can define two different sets of Periodic Variation parameters: Period 1, Amplitude 1, Phase 1; and Period 2, Amplitude 2, Phase 2.

For particle systems, you can enable and set a Range value. The Motor Space Warp doesn't affect particles outside this distance. At the bottom of the Parameters rollout, you can set the size of the gizmo icon. You can find this same value for all Space Warps.

Figure 36.2 shows the Motor Space Warp twisting the particles being emitted from the Super Spray particle system in the direction of the icon's arrow.

image from book
Figure 36.2: You can use the Motor Space Warp to apply a twisting force to particles and dynamic objects.

Push

The Push Space Warp accelerates objects in the direction of the Space Warp's icon from the large cylinder to the small cylinder. Many of the parameters for the Push Space Warp are similar to those for the Motor Space Warp. Using the Parameters rollout, you can specify the force Strength in units of newtons or pounds.

The Feedback On option causes the force to change as the object's speed changes, except that it deals with Target Speed instead of Target Revolution like the Motor Space Warp does.

The push force can also be set to include Periodic Variations that are the same as with the Motor Space Warp. Figure 36.3 shows the Push Space Warp pushing the particles being emitted from the Super Spray particle system.

image from book
Figure 36.3: You can use the Push Space Warp to apply a controlled force to particles and dynamic objects.

Vortex

You can use the Vortex Space Warp on particle systems to make particles spin around in a spiral like going down a whirlpool. You can use the Timing settings to set the beginning and ending frames where the effect takes place.

You can also specify Taper Length and Curve values, which determine the shape of the vortex. Lower Taper Length values wind the vortex tighter, and the Taper Curve values can range between 1.0 and 4.0 and control the ratio between the spiral diameter at the top of the vortex versus the bottom of the vortex.

The Axial Drop value specifies how far each turn of the spiral is from the adjacent turn. The Damping value sets how quickly the Axial Drop value takes effect. The Orbital Speed is how fast the particles rotate away from the center. The Radial Pull value is the distance from the center of each spiral path that the particles can rotate. If the Unlimited Range option is disabled, then Range and Falloff values are included for each setting. You can also specify whether the vortex spins clockwise or counterclockwise.

Figure 36.4 shows a Vortex Space Warp being bound to a particle system.

image from book
Figure 36.4: You can use the Vortex Space Warp to force a particle system into a spiral like a whirlpool.

Drag

Drag is another common force that can be simulated with a Space Warp. The Drag Space Warp can be Linear, Spherical, or Cylindrical. This Space Warp causes particle velocity to be decreased, such as when simulating wind drag or viscosity. Use the Time On and Time Off options to set the frame where the Space Warp is in effect.

For each of the Damping shape types-Linear, Spherical, and Cylindrical-you can set the drag, which can be along each axis for the Linear shape or in the Radial, Tangential, and Axial direction for the Spherical and Cylindrical shapes. If the Unlimited Range option is not selected, then the Range and Falloff values are available.

Figure 36.5 shows a Drag Space Warp surrounding a particle system.

image from book
Figure 36.5: You can use the Drag Space Warp to slow the velocity of particles.

PBomb

The PBomb (particle bomb) Space Warp was designed specifically for the PArray particle system. To blow up an object with the PBomb Space Warp, create an object, make it a PArray emitter, and then bind the PBomb Space Warp to the PArray.

CROSS-REF 

You can find more information on the PArray particle system in Chapter 35, "Creating Particles and Particle Flow."

Basic parameters for this Space Warp include three blast symmetry types: Spherical, Cylindrical, and Planar. You can also set the Chaos value as a percentage.

In the Explosion Parameters section, the Start Time is the frame where the explosion takes place, and the Duration defines how long the explosion forces are applied. The Strength value is the power of the explosion.

A Range value can be set to determine the extent of the explosion. It is measured from the center of the Space Warp icon. If the Unlimited Range option is selected, the Range value is disabled. The Linear and Exponential options change how the explosion forces die out. The Range Indicator option displays the effective blast range of the PBomb.

Figure 36.6 shows a box selected as an emitter for a PArray. The PBomb is bound to the PArray and not to the box object. The Speed value for the PArray has been set to 0, and the Particle Type is set to Fragments. Notice that the PBomb's icon determines the center of the blast.

image from book
Figure 36.6: You can use the PBomb Space Warp with the PArray particle system to create explosions.

Path Follow

The Path Follow Space Warp causes particles to follow a path defined by a spline. The Basic Parameters rollout for this Space Warp includes a Pick Shape Object button for selecting the spline path to use. You can also specify a Range value or the Unlimited Range option. The Range distance is measured from the path to the particle.

CROSS-REF 

The Path Follow Space Warp is similar to the Path Constraint, which is discussed in Chapter 32, "Animating with Constraints and Controllers."

In the Motion Timing section, the Start Frame value is the frame where the particles start following the path, the Travel Time is the number of frames required to travel the entire path, and the Last Frame is where the particles no longer follow the path. There is also a Variation value to add some randomness to the movement of the particles.

The Basic Parameters rollout also includes a Particle Motion section with two options for controlling how the particles proceed down the path: Along Offset Splines and Along Parallel Splines. The first causes the particles to move along splines that are offset from the original, and the second moves all particles from their initial location along parallel path splines. The Constant Speed option makes all particles move at the same speed.

Also in the Particle Motion section is the Stream Taper value. This value is the amount by which the particles move away from the path over time. Options include Converge, Diverge, or Both. Converging streams move all particles closer to the path, and diverging streams do the opposite. The Stream Swirl value is the number of spiral turns that the particles take along the path. This swirling motion can be Clockwise, Counterclockwise, or Bidirectional. The Seed value determines the randomness of the stream settings.

Figure 36.7 shows a Path Follow Space Warp bound to a Super Spray particle system. A Helix shape has been selected as the path.

image from book
Figure 36.7: A Path Follow Space Warp bound to an emitter from the Super Spray particle system and following a Helix path

Gravity

The Gravity Space Warp adds the effect of gravity to a scene. This causes objects to accelerate in the direction specified by the Gravity Space Warp, like the Wind Space Warp. The Parameters rollout includes Strength and Decay values. Additional options make the gravity planar or spherical. You can turn on the Range Indicators to display a plane or sphere where the gravity is half its maximum value.

Wind

The Wind Space Warp causes objects to accelerate. The Parameters rollout includes Strength and Decay values. Additional options make the gravity planar or spherical. The Turbulence value randomly moves the objects in different directions, and the Frequency value controls how often these random turbulent changes occur. Larger Scale values cause turbulence to affect larger areas, but smaller values are wilder and more chaotic.

You can turn on the Range Indicators just like the Gravity Space Warp. Figure 36.8 shows the Wind Space Warp pushing the particles being emitted from a Super Spray particle system.

image from book
Figure 36.8: You can use the Wind Space Warp to blow particles and dynamic objects.

Displace

The Displace Space Warp is like a force field: It pushes objects and is useful when applied to a particle system. It can also work on any deformable object in addition to particle systems. The strength of the displacement can be defined with Strength and Decay values or with a grayscale bitmap.

The Strength value is the distance that the geometry is displaced and can be positive or negative. The Decay value causes the displacement to decrease as the distance increases. The Luminance Center is the grayscale point where no displacement occurs; any color darker than this center value is moved away, and any brighter areas move closer.

The Bitmap and Map buttons let you load images to use as a displacement map; the amount of displacement corresponds with the brightness of the image. A Blur setting blurs the image. You can apply these maps with different mapping options, including Planar, Cylindrical, Spherical, and Shrink Wrap. You can also adjust the Length, Width, and Height dimensions and the U, V, and W Tile values.

CROSS-REF 

The Displace Space Warp is similar in function to the Displace modifier. The Displace modifier is discussed in Chapter 23, "Adding Material Details with Maps."

Figure 36.9 shows two Displace Space Warps with opposite Strength values.

image from book
Figure 36.9: The Displace Space Warp can raise or indent the surface of a patch grid.

Deflector Space Warps

The Deflectors subcategory of Space Warps includes PDynaFlect, SDynaFlect, UDynaFlect, POmniFlect, SOmniFlect, UOmniFlect, Deflector, SDeflector, and UDeflector. You use them all with particle systems, but only the DynaFlect Space Warps can be used with dynamic objects. This category includes several different types of deflectors starting with P, S, and U. The difference between these types is their shape. P-type (planar) deflectors are box shaped, S-type (spherical) deflectors are spherical, and U-type (universal) deflectors include a Pick Object button that you can use to select any object as a deflector.

Figure 36.10 shows the icons for each of these Space Warps. All the P-type deflectors are in the first row, the S-type deflectors are in the second row, and the U-type deflectors are in the third row.

image from book
Figure 36.10: The Deflector Space Warps: POmniFlect, SOmniFlect, UOmniFlect, PDynaFlect, SDynaFlect, UDynaFlect, Deflector, SDeflector, and UDeflector

PDynaFlect, SDynaFlect, and UDynaFlect

The PDynaFlect Space Warp enables particles to affect other objects in a scene. It is planar in shape. The SDynaFlect Space Warp is similar to the PDynaFlect Space Warp, except that its shape is spherical. The shape of the UDynaFlect Space Warp can be any other object within the scene. All three of these Space Warps share roughly the same parameters.

In the Particle Bounce section of the Parameters rollout, the Reflects, Bounce, Variation, and Chaos values control how particles reflect off a surface. The Reflects value determines the percentage of particles that are reflected. The Bounce value is a multiplier that defines a change in the particle's velocity after the impact: Values greater than 1 cause the particle to move faster after the impact. The Variation value causes each particle to bounce with a different value, and the Chaos value changes the randomness of the angle at which the particles leave the object. You can also set a Friction value, which causes objects to be reflected at odd angles and velocities. The Inherit Velocity value determines how much of the particle's velocity is inherited by the object being struck. This value causes the struck object to move when the particles hit it.

In the Physical Properties section, you can specify the mass of the bound particle in units of grams, kilograms (Kg), or pounds-mass (Lbm). This setting becomes important when working with dynamic systems. The UDynaFlect Space Warp includes a Pick Object button used to select the object to use as a deflector.

Figure 36.11 shows a Super Spray particle system emitting a straight line of particles at a PDynaFlect Space Warp. The PDynaFlect Space Warp is set to reflect 100 percent of the particles. The stream of particles is then reflected off an SDynaFlect Space Warp and then off a cone object that is selected as the reflecting object for the UDynaFlect Space Warp.

image from book
Figure 36.11: The PDynaFlect, SDynaFlect, and UDynaFlect Space Warps deflecting particles emitted from a Super Spray particle system

POmniFlect, SOmniFlect, and UOmniFlect

The POmniFlect Space Warp is a planar deflector that defines how particles reflect and bounce off other objects. The SOmniFlect Space Warp is just like the POmniFlect Space Warp, except that it is spherical in shape. The UOmniFlect Space Warp is another deflector, but this one can assume the shape of another object using the Pick Object button in the Parameters rollout. Its Parameters rollout includes a Timing section with Time On and Time Off values and a Reflection section.

The difference between this type of Space Warp and the DynaFlect Space Warp is the addition of refraction. Particles bound to this Space Warp can be refracted through an object. The values entered in the Refraction section of the Parameters rollout change the velocity and direction of a particle. The Refracts value is the percentage of particles that are refracted. The Pass Vel (velocity) is the amount that the particle speed changes when entering the object; a value of 100 maintains the same speed. The Distortion value affects the angle of refraction; a value of 0 maintains the same angle, and a value of 100 causes the particle to move along the surface of the struck object. The Diffusion value spreads the particles throughout the struck object. You can vary each of these values by using its respective Variation value.

Note 

If the Refracts value is set to 100 percent, no particles are available to be refracted.

You can also specify Friction and Inherit Velocity values. In the Spawn Effects Only section, the Spawns and Pass Velocity values control how many particle spawns are available and their velocity upon entering the struck object. Figure 36.12 shows each of these Space Warps bound to a Super Spray particle system. The Reflect percentage for each of the Space Warps is set to 50, and the remaining particles are refracted through the Space Warp's plane. Notice that the particles are also reflecting off the opposite side of the refracting object.

image from book
Figure 36.12: The POmniFlect, SOmniFlect, and UOmniFlect Space Warps reflecting and refracting particles emitted from the Super Spray particle system

Deflector, SDeflector, and UDeflector

The Deflector and SDeflector Space Warps are simplified versions of the POmniFlect and SOmniFlect Space Warps. Their parameters include values for Bounce, Variation, Chaos, Friction, and Inherit Velocity. The UDeflector Space Warp is a simplified version of the UOmniFlect Space Warp. It has a Pick Object button for selecting the object to act as the deflector and all the same parameters as the SDeflector Space Warp.

Geometric/Deformable Space Warps

You use Geometric/Deformable Space Warps to deform the geometry of an object. Space Warps in this subcategory include FFD (Box), FFD (Cyl), Wave, Ripple, Displace, Conform, and Bomb. These Space Warps can be applied to any deformable object. Figure 36.13 shows the icons for each of these Space Warps.

image from book
Figure 36.13: The Geometric/Deformable Space Warps: FFD (Box), FFD (Cyl), Wave, Ripple, Displace, Conform, and Bomb

FFD (Box) and FFD (Cyl)

The FFD (Box) and FFD (Cyl) Space Warps show up as a lattice of control points in the shape of a box and a cylinder; you can select and move the control points that make up the Space Warp to deform an object that is bound to the Space Warp. The object is deformed only if the bound object is within the volume of the Space Warp.

These Space Warps have the same parameters as the modifiers with the same name found in the Modifiers image from book Free Form Deformers menu. The difference is that the Space Warps act in World coordinates and aren't tied to a specific object. This allows a single FFD Space Warp to affect multiple objects.

CROSS-REF 

To learn about the FFD (Box) and FFD (Cyl) modifiers, see Chapter 12, "Introducing Modifiers and Using the Modifier Stack."

To move the control points, select the Space Warp object, open the Modify panel, and select the Control Points subobject, which lets you alter the control points individually.

FFD Select modifier

The FFD Select modifier is another unique selection modifier. It enables you to select a group of control point subobjects for the FFD (Box) or the FFD (Cyl) Space Warps and apply additional modifiers to the selection. When an FFD Space Warp is applied to an object, you can select the Control Points subobjects and apply modifiers to the selection. The FFD Select modifier lets you select a different set of control points for a different modifier.

Wave and Ripple

The Wave and Ripple Space Warps create linear and radial waves in the objects to which they are bound. Parameters in the rollout help define the shape of the wave. Amplitude 1 is the wave's height along the X-axis, and Amplitude 2 is the wave's height along its Y-axis. The Wave Length value defines how long each wave is. The Phase value determines how the wave starts at its origin. The Decay value sets how quickly the wave dies out. A Decay value of 0 maintains the same amplitude for the entire wave.

The Sides (Circles) and Segments values determine the number of segments for the X- and Y-axes. The Division value changes the icon's size without altering the wave effect. Figure 36.14 shows a Wave Space Warp applied to a simple Box primitive. Notice that the Space Warp icon is smaller than the box, yet it affects the entire object.

image from book
Figure 36.14: The Wave and Ripple Space Warps applied to a patch grid object

Note 

Be sure to include enough segments in the bound object, or the effect won't be visible.

Tutorial: Creating pond ripples

For this tutorial, we position a patch object so it aligns with a background image and apply the Ripple Space Warp to it.

To add ripples to a pond, follow these steps:

  1. Open the image from book Pond ripple.max file from the Chap 36 directory on the DVD.

    This file includes a background image of a bridge matched to a patch grid where the pond is located with a reflective material assigned to it.

  2. Select the Create image from book Space Warps image from book Geometric/Deformable image from book Ripple menu command. Drag in the Perspective view to create a Space Warp object. In the Parameters rollout, set the Amplitudes to 2 and the Wave Length to 30.

  3. Click the Bind to Space Warp button, and drag from the patch object to the Space Warp. Figure 36.15 shows the resulting image.

    image from book
    Figure 36.15: A ripple in a pond produced using the Ripple Space Warp

Conform

The Conform Space Warp pushes all object vertices until they hit another target object called the Wrap To Object, or until they've moved a preset amount. The Conform Parameters rollout includes a Pick Object button that lets you pick the Wrap To Object. The object vertices move no farther than this Wrap To Object.

You can also specify a Default Projection Distance and a Standoff Distance. The Default Projection Distance is the maximum distance that the vertices move if they don't intersect with the Wrap To Object. The Standoff Distance is the separation amount maintained between the Wrap To Object and the moved vertices. Another option, Use Selected Vertices, moves only a subobject selection.

CROSS-REF 

The Conform Space Warp is similar in function to the Conform compound object that is cov-ered in Chapter 18, "Working with Compound Objects."

Figure 36.16 shows some text being deformed with the Conform Space Warp. A warped quad patch has been selected as the Wrap To Object.

image from book
Figure 36.16: The Conform Space Warp wraps the surface of one object around another object.

Bomb

The Bomb Space Warp causes an object to explode from its individual faces. The Strength value is the power of the bomb and determines how far objects travel when exploded. The Spin value is the rate at which the individual pieces rotate. The Falloff value defines the boundaries of faces affected by the bomb. Object faces beyond this distance remain unaffected. You must select Falloff On for the Falloff value to work.

The Min and Max Fragment Size values set the minimum and maximum number of faces caused by the explosion.

The Gravity value determines the strength of gravity and can be positive or negative. Gravity always points toward the world's Z-axis. The Chaos value can range between 0 and 10 to add variety to the explosion. The Detonation value is the number of the frame where the explosion should take place, and the Seed value alters the randomness of the event. Figure 36.17 shows frame 20 of an explosion produced by the Bomb Space Warp.

image from book
Figure 36.17: The Bomb Space Warp causes an object to explode.

Note 

The Bomb Space Warp is seen over time. At frame 0, the object shows no effect.

Tutorial: Blowing a dandelion puff

You can use Space Warps with other types of objects besides particle systems. The Scatter object, for example, can quickly create many unique objects that can be controlled by a Space Warp. In this tutorial, we create a simple, crude dandelion puff that can blow away in the wind.

To create and blow away a dandelion puff, follow these steps:

  1. Open the image from book Dandelion puff.max file from the Chap 36 directory on the DVD.

    This file includes a sphere covered with a Scatter compound object representing the seeds of a dandelion.

  2. Select the Create image from book Space Warps image from book Geometric/Deformable image from book Bomb menu command. Click in the Front viewport, and position the Bomb icon to the left and slightly below the dandelion object. In the Bomb Parameters rollout, set the Strength to 10, the Spin to 100, and the Min and Max Fragment Size values to 24.

    This is the total number of faces included in the dandelion object.

  3. Click the Bind to Space Warp button on the main toolbar, and drag from the dandelion object to the Space Warp.

Figure 36.18 shows one frame of the dandelion puff being blown away.

image from book
Figure 36.18: You can use Space Warps on Scatter objects as well as particle systems.

Modifier-Based Space Warps

Modifier-Based Space Warps produce the same effects as many of the standard modifiers, but because they are Space Warps, they can be applied to many objects simultaneously. Space Warps in this subcategory include Bend, Noise, Skew, Taper, Twist, and Stretch (see Figure 36.19). All Modifier-Based Space Warp gizmos are simple box shapes. The parameters for all Modifier-Based Space Warps are identical to the modifiers (found in the Parametric Deformers category) of the same name. These Space Warps don't include a Supports Objects of Type rollout because they can be applied to all objects.

image from book
Figure 36.19: The Modifier-Based Space Warps: Bend, Noise, Skew, Taper, Twist, and Stretch

CROSS-REF 

For details on the Bend, Noise, Skew, Taper, Twist, and Stretch modifiers and their parameters, see Chapter 12, "Introducing Modifiers and Using the Modifier Stack."

These Space Warps include a Gizmo Parameters rollout with values for the Length, Width, and Height of the gizmo. You can also specify the deformation decay. The Decay value causes the Space Warp's effect to diminish with distance from the bound object.

You can reposition the Modifier-Based Space Warp's gizmo as a separate object, but the normal modifiers require that you select the gizmo subobject to reposition it. Unlike modifiers, Space Warps don't have any subobjects.




3ds Max 9 Bible
3ds Max 9 Bible
ISBN: 0470100893
EAN: 2147483647
Year: 2007
Pages: 383

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net