How to use SG_Explosion2
1. Add the plug-in to Layout

2. Apply the plug-in to the object you want do destroy
The plug-in will recognize the fragments in the object.
A fragment consists of all points that are connected via polygons.
So the smallest fragment possible is a 1-Point-Poly.
3. Adjust the parameters and move the frame slider to see the effect
(Preview.avi - 732 KB)
(Test.avi - 337 KB)
Explanation of the parameters:
Center : center of the explosion in object coordinates
Initial Time : starting time of the explosion
As frame : interpret time value as frame number instead of seconds
Velocity : velocity of the shock wave (in m/s)
Acceleration : acceleration of the shock wave (in m/sē)
Power : power of the shock wave
+/- : power tolerance
Range : maximum range of the shock wave
Duration: maximum duration of the shock wave (in s)
Horizontal/Vertical Attenuation : attenuate the horizontal/vertical movement of the fragments
Power Falloff : power calculation in dependency on time or distance
Mass Distribution : select a weightmap to relocate a fragment's center of gravity.
A fragment's center of gravity is the weighted average of the point coordinates.
Resistance: select a weightmap to define how much a fragment is affected by the explosion.
A fragment's resistance value is the average of all it's points resistance values.
A fragment with 100% resistance is not affected by the explosion.
World Coordinates: the transformed coordinates are world coordinates instead of object coordinates.
Before Bones: explosion transformation is applied to the object before bone transformation
Angular Velocity: maximum angular velocity of the fragment's rotation
Rotation axis is a random axis through the fragment's center of gravity
Gravity: gravity (in m/sē)
Randseed: initial value used to generate reproducible random numbers
Restrict Trajectory: fragments use a user defined trajectory instead of simply flying away from the center of explosion
Trajectory: -->Restrict Trajectory
Trajectory Distortion: bring some irregularity to the trajectories
Max. Distortion: maximum angle of trajectory distortion
Ground Collision: fragments keep their position and rotation when reaching the ground level
Ground Level: -->Ground Collision
IMPORTANT NOTES:
The plug-in does not yet work with objects containing SDS (MetaNURBS).
Do not modify objects in Modeler while at the same time the object is loaded into Layout and has the plug-in applied.
Copy the Plug-in (to keep your settings), remove it from the object, do your changes in Modeler and then paste it back.

If you forget to remove the plug-in before modifying the object, Layout may crash.
When explosion parameters are changed, it is often necessary to move the frame slider back to the explosion's starting frame.
The algorithm that recognizes the fragments in the object is not yet optimized and can be very time consuming.
If you want to blow apart objects consisting of many thousands of polygons,
it can be useful to split up the object on several layers
Points that do not belong to any polygon are summarized in one(!) fragment.
If you need useful trajectories for single points (Hypervoxels) convert them to 1-Point-Polygons.
Back
May 7, 2002