A demo script for the Mullet toolkit found in J_Ops. This script demonstrates compute intensive use of constraints to allow fractured objects to gradually disintegrate on repeated impacts.
J_Mullet_SmashingPumpkins
Updated: 19 November 2013
Author: jackb
Compatible Nuke versions: 6.3 or later
Compatibility:
This download is part of a series of example scripts which are available for the Mullet toolkit from Nukepedia. It requires J_Ops 2.0v1 also available from Nukepedia as well as Nuke6.3v8, available from the Foundry's website.
This script demonstrates:
-all-lone and all-pair constraint setups, for compute intensive shatter operations (this should be avoided where possible - see other examples for some avoidance techniques including animated gravity in the wood chopping example, and body substitution in the mug smash example).
-breakable constraints, again for shatter purposes.
-breakable pin constraints, for temporarily fixing objects to absolute positions within the scene.
-basic point and directional force usage.
-force filtering, to apply forces to particular bodies.
-force volumes, to apply forces to bodies within a particular spatial region.
Note that this script contains a number of baked solver nodes, so may take a while to load and parse. If these pre-baked solvers come in as errored then switch on ID ignore in the bake tab (they're checking against the hash of the incoming tree and this may change in some circumstances).
Emphasis is on simple Mullet use cases - scenes, shaders, materials, lighting, etc are not fleshed out. If you make useful improvements feel free to share back via the nuke users list.
Thanks to Rhys Dippie of Assembly Ltd for pre-fractured model in use in this script.