SUBSCRIBE The SideFX mailing list is a great place to make contact with Houdini users. To subscribe, send us an email with no subject and the word subscribe in the body.
[Sidefx-houdini-list] Animating Boolean Triggers
Georg Duemlein, Dipl.-Des.
Thursday, 31 May 2007 Thu, 31 May '07
Sorry for not being clear. I want to animate the start/stop of an engine. If the engine is on the value 1 if it is off the value is 0. As this should support long animation ranges the real time idea is not that applicable. Trigger might be the wrong term: I think it is a switch.
Or do you mean that everytime someone hits the trigger button, it sets a value to 1 if it was zero and zero if it was one, and adds a key at that frame?I guess this is what I mean. I recently discovered this in 3dsmax: a boolean controller - it just can store booleans values (1 and 0) and if linked to an checkbox the animator can control this controller. It produces keyframes with constant interpolations. I am looking for the houdini pendant for this. Georg Sean Lewkiw wrote:
Not quite sure what you mean. Is this a real-time type of thing where the artist plays the file and hits a "trigger"? If so, you can use the record CHOP. Or are you talking about animating the on/off status of a toggle widget? Or do you mean that everytime someone hits the trigger button, it sets a value to 1 if it was zero and zero if it was one, and adds a key at that frame? If so, I think your callback idea is best, (setting a key on a spare channel for instance). Sean Georg Duemlein, Dipl.-Des. wrote: > Hi, > > how would one animate 'boolean triggers' in Houdini? > I have a OTL that should offer an Trigger (on/off). > This results in an animation curve of 1 if the trigger is on and 0 if > the trigger is off with contant interpolation. > > I looks like the 'trigger' interface is not animatable. > > I thought of having a callback script that generates keyframes and > sets the interpolation to constant(). > This is sure a funny and educative trip, but maybe I am missing > something obvious. > > Kind regards, > > Georg >-- Dipl.-Des. Georg D?mlein Brunnenweg 24b 48153 M?nster (Westf.) Ruf: 0251 68668236 GSM: 0179 5268405 http://www.preset.de/