[Sidefx-houdini-list] Pop in Dop hittime?

Javier Meroño javiermerono at hotmail.com
Sun Feb 2 12:25:28 EST 2014


hi,

I just implemented Nick´s explanation into an actual HIP file for anybody (specially Dominik) to check.
It works nicely.

it´s a bit delayed because files into this group have to go through moderation (understandably).

regards,

Javier Meroño.

> Date: Sun, 2 Feb 2014 08:43:19 +0100
> From: nick at nicknimble.com
> To: sidefx-houdini-list at sidefx.com
> Subject: Re: [Sidefx-houdini-list] Pop in Dop hittime?
> 
> Hi Dominik,
> 
> Like Francois suggested, I would make a custom attribute that defaults 
> to -1 which means it hasn't been set before. Then you can have a simple 
> VOPPOP that does a check if the particle has hit/impact values set on 
> this frame, if so you check if your custom attribute equals to -1 (it 
> hasn't been set before), then write the hit/impact value you are 
> interested in to your custom attribute. Because you have a check that 
> verifies if the attribute equals -1, it can only been set once being the 
> first impact.
> 
> Good luck! :-)
> 
> Cheers,
> Nick, be Nimble
> -- 2014 the year where things become clearer --
> +31 622 4243 94 | www.nicknimble.com | www.facebook.com/nicknimble
> 
> On 01/02/14 03:33, François Duchesneau wrote:
> > Hi Dominik,
> >
> > I haven't used the new Pop in Dop but I guess you can create a custom 
> > attribute and set its value to be the minimum between itself at the 
> > previous step and the hittime. Maybe you'll have to tell the default 
> > value is 9999 for the case hittime is not set yet.
> >
> > If you're looking for the clean way of doing it, I don't know though :)
> >
> > Francois
> >
> > Dominik Kirouac wrote:
> >> Hey all,
> >>
> >> I have a simple Pop in Dop Question.
> >>
> >> I'm trying to get the hittime attribute of the first hit, because the 
> >> particles are sliding on the surface, the hitime update each frame.
> >>
> >> Thanks
> >>
> >> Doum
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> 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
> 
> _______________________________________________
> 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