Houdini_VFX Posted November 28, 2010 Share Posted November 28, 2010 Hi all, I'm trying to emit debris from a RBD automatic breakable object with no success. I can emit debris from manual fractured object but no with the new "make breakable" tools... Any suggestions? Thanks in advance Quote Link to comment Share on other sites More sharing options...
johner Posted November 28, 2010 Share Posted November 28, 2010 Hi Mirco, Yes, the "Debris" tool is really designed to work with the older RBD Glue and Fracture objects. You can emit debris from dynamically fractured objects pretty easily, but there are a couple of steps involved. It actually works better than the Debris tool in some ways, since that tool relies on proximity to detect when pieces have fractured, which can be a bit slow and inaccurate. But dynamic fracturing is actually creating new geometry at particular times in the simulation, so we can make use of that for debris. See the attached file for an example. The main parameter to be aware of is "Stamp Interior Primitives With Creation Time" on the Fracture tab of the RBD Solver DOP. This creates a "creationtime" attribute that records the simulation time on any newly created interior primitives in the fractured geometry. These are the new faces that are created at the fracture location, and generally where you want to create debris. In this file that creationtime attribute is mapped to an "emit" attribute, then the POPNet Source uses that as the probability of emitting from any surface, so interior surfaces will stop emitting particles after a specified time. Look in the particle_location1 network for the setup required. Also see this thread for some similar ideas to emit smoke from dynamically fractured interiors. Finally, this file shows a setup where the debris particles and fracture sim are simulated at the same time. While you can certainly do that, in production you'd probably want do the fracturing sim first and cache the geometry to files with the creationtime attribute. Then read this in and do the debris particle simulation separately so you can try things out and simulate more quickly. P.S. Most people read both this and the SideFX forum, so unless you don't get an answer you might want to post a particular topic on only one of those forums. torus_debris.hip 1 Quote Link to comment Share on other sites More sharing options...
Houdini_VFX Posted November 29, 2010 Author Share Posted November 29, 2010 Many Thanks... I've quite understand the procedure that you've illustraed but I can't make it work in my scene. I've applied the same node as in the example but I can't emit particles from the fractures...Here's my scene. What's wrong with it? thanks crash.hipnc Quote Link to comment Share on other sites More sharing options...
johner Posted November 29, 2010 Share Posted November 29, 2010 Here's my scene. What's wrong with it? You forgot to enable "Stamp Interior Primitives With Creation Time" on the Fracture tab of the RigidBodySolver. Quote Link to comment Share on other sites More sharing options...
Houdini_VFX Posted November 29, 2010 Author Share Posted November 29, 2010 You forgot to enable "Stamp Interior Primitives With Creation Time" on the Fracture tab of the RigidBodySolver. oh!Thanks :-) Quote Link to comment Share on other sites More sharing options...
cowboy71 Posted March 20, 2012 Share Posted March 20, 2012 (edited) Did you ever get this to work correctly. I did grab Johner's file and no particles were being emitted on fracture. I'm stuck. I did go and activate the timestamp in the rbd solver and then I guess I'm kinda unclear after that. Do you manually create a popsolver in the dop network? Thanks Dave (noob) Edited March 20, 2012 by cowboy71 Quote Link to comment Share on other sites More sharing options...
ryew Posted March 21, 2012 Share Posted March 21, 2012 Hi Dave, I just downloaded Johner's file, loaded it in Houdini 11.1.118 and it works for me there. However, loading the file in Houdini 12 generates an error regarding attributes in the rigidbodysolver, which is probably why it no longer works. I'm guessing you've loaded it in Houdini 12? Quote Link to comment Share on other sites More sharing options...
Netvudu Posted March 21, 2012 Share Posted March 21, 2012 Without delving deeper into the system to check the "good fix", a couple of quick clicks fixes this for H12: - Go to DOPs, and on the POPobject "particle location 1", activate "Creation frame specifies simulation frame" - Go to the "particle location 1" geo, and bypass the delete_zero_creation_time Delete SOP. It works. For some reason "the Creation time" attribute is being recorded as zero for all pieces, so the delete SOP was deleting everything. I´m still not sure why this wasn´t working properly. In other words, I used the force Quote Link to comment Share on other sites More sharing options...
Benyee Posted March 21, 2012 Share Posted March 21, 2012 Without delving deeper into the system to check the "good fix", a couple of quick clicks fixes this for H12: - Go to DOPs, and on the POPobject "particle location 1", activate "Creation frame specifies simulation frame" - Go to the "particle location 1" geo, and bypass the delete_zero_creation_time Delete SOP. It works. For some reason "the Creation time" attribute is being recorded as zero for all pieces, so the delete SOP was deleting everything. I´m still not sure why this wasn´t working properly. In other words, I used the force Because of the absence of necessary groups which keep off by defalut in h12 voronoi; Just turn on "Create Output Groups" parameter of voronoifracture node deep inside rbdsolver node. torus_debris_h12_fix.hip Quote Link to comment Share on other sites More sharing options...
Netvudu Posted March 21, 2012 Share Posted March 21, 2012 aaaah, of course. I did realize the same thing happened when you activate debris in H12 for any pre-fragmented objects if you didn´t turn on groups, but couldn´t find the node here.... Quote Link to comment Share on other sites More sharing options...
cowboy71 Posted March 21, 2012 Share Posted March 21, 2012 Because of the absence of necessary groups which keep off by defalut in h12 voronoi; Just turn on "Create Output Groups" parameter of voronoifracture node deep inside rbdsolver node. torus_debris_h12_fix.hip Ahhhh, awesome. Thank you everyone for your help. I'm only about three weeks into Houdini, so plenty to learn. Been in Maya for about 4 years now, and I must say it's a bit different. haha. Quote Link to comment Share on other sites More sharing options...
deadalvs Posted May 27, 2012 Share Posted May 27, 2012 (edited) hi ! is it possible that somebody posts a step-by-step list of putting this together in H12 ? I guess I am missing some small details which I'd never find out that they were user-set specific for the example. Edited May 27, 2012 by deadalvs Quote Link to comment Share on other sites More sharing options...
chirsty.J Posted August 12, 2012 Share Posted August 12, 2012 Dear John, May you please reply me with a more detail walk- through please. If there is a step by step will be very much appreciated. Because I have tried your files and I still do not quite understand. Hi Mirco, Yes, the "Debris" tool is really designed to work with the older RBD Glue and Fracture objects. You can emit debris from dynamically fractured objects pretty easily, but there are a couple of steps involved. It actually works better than the Debris tool in some ways, since that tool relies on proximity to detect when pieces have fractured, which can be a bit slow and inaccurate. But dynamic fracturing is actually creating new geometry at particular times in the simulation, so we can make use of that for debris. See the attached file for an example. The main parameter to be aware of is "Stamp Interior Primitives With Creation Time" on the Fracture tab of the RBD Solver DOP. This creates a "creationtime" attribute that records the simulation time on any newly created interior primitives in the fractured geometry. These are the new faces that are created at the fracture location, and generally where you want to create debris. In this file that creationtime attribute is mapped to an "emit" attribute, then the POPNet Source uses that as the probability of emitting from any surface, so interior surfaces will stop emitting particles after a specified time. Look in the particle_location1 network for the setup required. Also see this thread for some similar ideas to emit smoke from dynamically fractured interiors. Finally, this file shows a setup where the debris particles and fracture sim are simulated at the same time. While you can certainly do that, in production you'd probably want do the fracturing sim first and cache the geometry to files with the creationtime attribute. Then read this in and do the debris particle simulation separately so you can try things out and simulate more quickly. P.S. Most people read both this and the SideFX forum, so unless you don't get an answer you might want to post a particular topic on only one of those forums. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.