[Sidefx-houdini-list] DOP Impact

Robert Thomas shinyary2 at gmail.com
Sat Jan 26 15:05:02 EST 2008

Alternatively, you can write the first frame of geometry to disk, then load
it back in.  You then write out each frame, using the geometry from the
previous frame as your basis and adding your attribute to that (in this case
probably with AttribTransfer).  I think this might be a little more
flexible, if a little slower, but it will allow you to keep any and all
attributes from frame to frame.

I think there might also be an expression similar to point() that you could
use instead to get the same result (it lets you see attributes from a frame
number).  I'm having trouble finding it, though.


On Jan 13, 2008 6:33 PM, Craig Zerouni <craig at zerouni.com> wrote:

> A very handsome fellow wrote a book about Houdini, and on page 121 he
> explains how to do this. Here's what it says, more or less:
> Put down a Modify Data DOP. In the Value 0 Name field, put something
> like "hasBeenHit" (no quotes) and make the Type a Boolean. Set the Value
> to 1.
> Now in the Activation field (at the top of the parameters) put this:
> dopnumrecords("/obj/dopnet1", "objectname", "Impacts", "Impacts")
> where "objectname" is the name of object that bounces off the wall and
> "/obj/dopnet1" is the path to your DOPnet.
> This will create a boolean value when there is impact, and that boolean
> will persist from then on. So you would test the value of that variable
> with a dopfield() command every frame, and once there is a collision,
> the "hasBeenHit" variable will return a value of 1.
> CZ
> Edmond Earl Smith wrote:
> > Hey everyone, I'm referencing dynamic collision in SOPS.  Something
> > bounces off of a wall and continues to fall to the ground.  I am
> > referencing the RBD motion in SOPS and assigning it to a metaball so I
> > can use a magnet to deform the wall.  The problem is I can't figure out
> > how to keep the metaball from continuing to follow the meta after
> > impact.  I need the meta to stop at that precise location. I've tried a
> > number of different solutions but what it has really come down to is
> > that I need a record of impact and location but these only last for one
> > frame.  Any suggestions on how to keep the impact data or different
> > ideas of how to get the deforming meta to stop at impact leaving the
> > wall dented for the rest of time?
> >
> > thanks,
> > Eddie
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> >
> >
> >
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

More information about the Sidefx-houdini-list mailing list