Jump to content


Make Breakble and Debris problem


  • Please log in to reply
12 replies to this topic

#1 Houdini_VFX

Houdini_VFX

    Peon

  • Members
  • Pip
  • 31 posts
  • Joined: 14-November 10
  • Location:Italy
  • Name:Mirco Paolini

Posted 28 November 2010 - 05:26 AM

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

#2 johner

johner

    Initiate

  • Members
  • PipPip
  • 244 posts
  • Joined: 19-December 06
  • Location:Austin, TX
  • Name:John Lynch

Posted 28 November 2010 - 09:25 AM

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.

Attached Files



#3 Houdini_VFX

Houdini_VFX

    Peon

  • Members
  • Pip
  • 31 posts
  • Joined: 14-November 10
  • Location:Italy
  • Name:Mirco Paolini

Posted 29 November 2010 - 02:55 AM

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

Attached Files



#4 johner

johner

    Initiate

  • Members
  • PipPip
  • 244 posts
  • Joined: 19-December 06
  • Location:Austin, TX
  • Name:John Lynch

Posted 29 November 2010 - 08:41 AM

View PostHoudini_VFX, on 29 November 2010 - 02:55 AM, said:

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.

#5 Houdini_VFX

Houdini_VFX

    Peon

  • Members
  • Pip
  • 31 posts
  • Joined: 14-November 10
  • Location:Italy
  • Name:Mirco Paolini

Posted 29 November 2010 - 08:58 AM

View Postjohner, on 29 November 2010 - 08:41 AM, said:

You forgot to enable "Stamp Interior Primitives With Creation Time" on the Fracture tab of the RigidBodySolver.

oh!Thanks :-)

#6 cowboy71

cowboy71

    Peon

  • Members
  • Pip
  • 22 posts
  • Joined: 20-March 12
  • Location:Santa Monica
  • Name:David Silva

Posted 20 March 2012 - 03:37 PM

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 by cowboy71, 20 March 2012 - 03:38 PM.


#7 ryew

ryew

    Initiate

  • Members
  • PipPip
  • 111 posts
  • Joined: 02-May 11
  • Location:Urth
  • Name:Ryew .

Posted 20 March 2012 - 04:49 PM

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?

Attached Files



#8 Netvudu

Netvudu

    Houdini Master

  • Members
  • PipPipPipPip
  • 779 posts
  • Joined: 24-May 06
  • Location:Barcelona, Spain
  • Name:Javier Meroño

Posted 20 March 2012 - 06:16 PM

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.  :ph34r:

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  :P

#9 Benyee

Benyee

    Peon

  • Members
  • Pip
  • 81 posts
  • Joined: 18-May 08
  • Name:YD X

Posted 20 March 2012 - 10:22 PM

View PostNetvudu, on 20 March 2012 - 06:16 PM, said:

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.  :ph34r:

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  :P
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.
Attached File  torus_debris_h12_fix.hip   879.9K   281 downloads

#10 Netvudu

Netvudu

    Houdini Master

  • Members
  • PipPipPipPip
  • 779 posts
  • Joined: 24-May 06
  • Location:Barcelona, Spain
  • Name:Javier Meroño

Posted 21 March 2012 - 02:48 AM

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....

#11 cowboy71

cowboy71

    Peon

  • Members
  • Pip
  • 22 posts
  • Joined: 20-March 12
  • Location:Santa Monica
  • Name:David Silva

Posted 21 March 2012 - 10:01 AM

View PostBenyee, on 20 March 2012 - 10:22 PM, said:

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.
Attachment 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.

#12 deadalvs

deadalvs

    Peon

  • Members
  • Pip
  • 9 posts
  • Joined: 31-August 11
  • Location:Zurich
  • Name:Matthias Buehler

Posted 27 May 2012 - 05:05 AM

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 by deadalvs, 27 May 2012 - 12:35 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users