[Sidefx-houdini-list] Pop in Dop hittime?
pbowmar at gmail.com
Mon Feb 3 13:59:59 EST 2014
This was a standard attribute in the old POPs I believe? If so, IMO it's a
bug that it's missing from DOP POPs and perhaps should be submitted?
On 1 February 2014 23:43, Nick Nimble <nick at nicknimble.com> wrote:
> 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! :-)
> 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 :)
>> 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.
>>> Sidefx-houdini-list mailing list
>>> Sidefx-houdini-list at sidefx.com
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
--Fast/cheap/good. Pick two.
More information about the Sidefx-houdini-list