On this page |
This shelf tool expands upon the Fireball shelf tool by adding debris with trails of smoke. It sets up a sparse pyro simulation of a fireball type explosion with trails of density emitting debris. The debris is instanced on the same source that generates the main explosion. Those debris then become the source for the pyro trail simulation, which is advected by the velocity field from the fireball simulation.
Important Nodes ¶
pyroburstsource1
The fireball is sourced from a single Pyro Burst Source node. This node has the biggest impact on the overall shape and speed of the fireball. The debris itself is instanced on this source, so it strongly influences the pyro trails as well.
calculate_hitframe1
The calculate_hitframe1 node determines the frame on which each debris piece hits the ground. That information is used to control how long each piece emits particles and prevents emission after the piece has landed.
emit_from_backface1
The emit_from_backface1 node ensures that only the back face of each piece emits particles into the
popnet_trail_source1.
Learning from this example ¶
To... | Do this |
---|---|
Change the shape of the explosion |
Adjust the Shape Offset parameter in pyroburstsource1 to easily vary the shape of the simulation. |
Change the number of debris |
Adjust the Voxel Size parameter on the pointcloudreduce1 node. Increasing this value will result in less debris. |
Adjust the expansion from flame |
Adjust the Expansion Rate and Flame Range parameters in the pyrosolver1 node in the Flame Expansion section of the Shape tab. |
Change the trail length |
Adjust the Emission Ramp parameter in the |
Change length of the trail source |
Adjust the Min Value and Range Length parameters in the attribadjustfloat2 node. |