SJBIDDLE
Hi everyone,

I've been playing with the scatter/shatter nodes to break up objects. I've been able to break standard primitives pretty easily following this method:



However I can't seem to get it to work on an object that I have modelled and deleted history on. Is anyone able to suggest what I need to do to break down my model? My current understanding is that because the history is deleted on the model there is no shape node before the mesh node like with the primitives, so I'm guessing that could be an issue?


Thanks in advance,

Sam
Reply 0 0
pshipkov
If you check the example videos and scene you will see that the scatter/shatter works on objects with contstruction history like walking human figure for example.
If you can send me your object and i can give it a try.
Reply 0 0
djx
SJBIDDLE wrote:
because the history is deleted on the model there is no shape node before the mesh node like with the primitives, so I'm guessing that could be an issue?

If that is the issue, you can recreate the shapeOrig node by creating and deleting a deformer. For example, select the object then execute this mel...

delete `cluster`;

David
Reply 0 0
SJBIDDLE
Cheers for the replies guys, I appreciate the help! I still haven't quite got there with it, I tried the mel script you mentioned David (that was pretty awesome, will come in handy) but whenever I hook up the scatter node the red point cloud doesn't show up within the object like it should.

Here is the scene file if anyone has a moment to have a look,

https://www.dropbox.com/s/k6ypi39azevjz2f/Pillar_Tests.ma

Thanks guys,

Sam
Reply 0 0
Pizzaman
Just freeze the transforms of your object... or if you want to keep them as they are, connect the worldMatrix of your shape to the inWorldMatrix of the scatterShape.
This way, the scatter node will take into account the position of your volume after transformation.
Reply 0 0
Reply