Your Ad Here

Modules Thinking Particles Nodes TP Generator Group PFragment

PFragment

Basic Parameter

Parameter

Using these parameters, you can control when fragments are created as well as their radius, thickness and much more.

Weight

This gradient controls the weight of the fragments. The brightness at the gradient’s left edge controls the weight at the start of fragmentation, while the brightness of the right edge controls the weight of the fragments at the time of their death. The brighter the color value, the greater the weight of the fragment at that point in its lifetime. The weight affects how fragments interact with forces (i.e. wind and gravity).

Threshold [0..10000000]
Variation [0..100%]

The Threshold controls the progress of fragmentation. With a value of 1 no fragments are created, while a value of 0 means that all particles will be fragmented completely. By animating the Threshold, you can vary the degree of fragmentation over time. Set the direction of fragmentation with From To.

To create nonuniform fragmentation, use Variation to vary the Threshold value randomly.

From To

Controls the progress of the fragmentation, especially the starting point and therefore the direction. For example, a setting of -Y to +Y will fragment the object along the Yaxis starting with negative Y values. The axis system of each particle is used to determine this direction. When modifying the direction of the particles, such as by applying spin, this rotation will differ from the world or emitter axis. The progress of fragmentation along this axis is controlled by Threshold.

Type
Angle [0..180°]
Radius [0..10000000%]
Count [0..2147483647]

Type controls the shape of the fragments. You can also set the shape by connecting a PShape node to the Born Particle output port.

Single Faces

If you set Type to Single Faces, three-sided polygons are used as the fragments.

Smooth And Distance

If Type is set to Smooth And Distance, the Angle and Radius parameters become available. The fragmentation will then depend on the angle of the surface normal. Contiguous faces with the same surface normal direction will form a single fragment. The size of the fragments is determined by the Radius value. This percentage relates to the original particle’s size / bounding box. A value of 50% will set the fragments to half the size of the original particle.

Count

With a Type setting of Count, the Count input box is enabled, which then defines the number of fragments per fragmented particle. For example, if Count is set to 5 and all particles are fragmented, each particle will give rise to five fragments.

No Fragments

This option enables you to create holes in the particle object by making the created fragments vanish.

Alignment Correction

Because forces such as wind can affect a particle’s direction, there is no simple way to predict a particle’s direction at the time of its fragmentation. Using this parameter, you can set the initial alignment of the fragments along the surface normals of the particle object.

Thickness [0..10000000%]

You can extrude the surface of fragments using this parameter. The extrusion is controlled by a percentage relative to the original size of the particle objects. For example, 100% will extrude each fragment to the maximum size of the particle object. Assigning a thickness will increase the number of faces that has to be calculated and stored. This requires much more RAM than twodimensional faces.

Life Span
Variation [0..100%]

This setting defines t CINEMA 4D pahe life span for each fragment, rather like the life span of a standardrticle. Each particle will die after exceeding its life span. You can vary the life span of each particle using the Variation parameter.

Speed [-10000000..10000000]
Variation [0..100%]

Defines the speed of each fragment relative to the original particle object. You can vary this speed for each particle using the Variation parameter.

Remaining Type

This setting affects how the original object ‘left behind’ looks after the fragments have broken away from it.

None

The original particle object will vanish completely.

Hollow

This will create gaps in the surface of the particle object, as though the fragment has been chipped away from it. This will create the effect of an object breaking into pieces.

Solid

Each fragment will cut a chunk out of the object. This is comparable to an orange that is being peeled.

Thickness [0..10000000%]

This value sets a thickness for the object left behind to make it appear solid instead of hollow. This will increase the number of faces and will require more memory.

Die after Fragmentation

This option prevents the fragments from being fragmented.

In this example a particle group will be fragmented the moment a light shines onto the group.

Additional input ports

On

A Bool value of True switches the node on; a value of False switches it off.

Animation Time

Since the node’s parameters can be keyframe animated, by default the CINEMA 4D time is used internally to ensure that the values are interpolated correctly. However, you can pass your own time value to this port. This should be of the data type Time, which is a Real number in the simplest case. If no value is passed, CINEMA 4D’s time is used.

Particle

Connect this port to the particle stream that should be fragmented, such as to the Particle output port of a PPass node.

Output ports

Born Particle

The particle stream that is available here is the particles that have been born at the current frame. So, if you connect this to a Particle input port of another node, the node will affect particles only as they are born.

If instead you want to affect all particles created, put them into a group by connecting this port to a PGroup node and then use a PPass node to pass on all the particles within that group. This is normally the most useful thing to do.

Particle Count [-2147483647..2147483647]

Outputs the number of particles created by fragmentation at the current frame.

Particle Number [-2147483647..2147483647]

Outputs the number of the last particle born at the current frame, starting from 0.

Return to CINEMA 4D Index


Your Ad Here