[Sidefx-houdini-list] Maya .anim curves in Houdini

Andrew D Lyons tstexture at gmail.com
Wed Feb 21 14:41:54 EST 2007


Yep - all the .anim interpretation and hscript chblock commands get
created as double precision floats in python and handed to Houdini
that way. I'd thought it might be the math functions as well. Perhaps
I should try cmath instead of math in python? Complex numbers... :(

Cheers


On 21/02/07, Edward Lam <edward at sidefx.com> wrote:
> Hi Andrew,
>
> Andrew D Lyons wrote:
> > Before I look into writing new curve functions for Houdini, I just
> > want to find out if anyone used this math to get super precise
> > results?
>
> That I don't really know as I was only told that it worked after I gave
> someone the math. :)
>
>  > I'm not sure where the problem is at this point. I'm using
>  > the mel xform function to sample values out of Maya to do comparisons
>  > in CHOPs. Maybe it's there?
>
> The equations rely on tan() so it's possible to get precision error. There's
> also the issue that Houdini only deals with single precision float's in
> channel so depending on your values, you might also be running into that. Make
> sure you're performing the formulas in double-precision?
>
> -Edward
>
> > On 21/02/07, Edward Lam <edward at sidefx.com> wrote:
> >> I helped someone do this before as well. The formulas for cubic
> >> interpolation
> >> can be found here:
> >>
> >> http://odforce.net/wiki/index.php/KeysToHoudini
> >>
> >> -Edward
> >>
> >> Lucio Flores wrote:
> >> > I wrote something like that at DD years ago. YOu need something to
> >> dump a text
> >> > version of the keyframe data onto disk. Most animation channels are
> >> just cubic
> >> > hermite or bezier functions, so its just a matter of getting the
> >> > slope/time/value info, and correctly translating that into houdini.
> >> Some
> >> > packages have the slope derivative as value per frame, or value per
> >> second, so
> >> > there may be a fps multiplier in there. Using that was enough to
> >> translate
> >> > keyed channels between softimage, lightwave, maya, and houdini.
> >> >
> >> > --- Andrew D Lyons <tstexture at gmail.com> wrote:
> >> >
> >> >> Hi,
> >> >>
> >> >> Have any studios successfully found a way to accurately convert Maya
> >> >> keyframes into Houdini keyframes?
> >> >>
> >> >> If so - how was it done?
> >> >>
> >> >> My current guess is that we would need the HDK to replicate Maya's
> >> >> curve functions as Houdini curve functions. Not sure if there is other
> >> >> keyframe infrastructure needed though as well...
> >> >>
> >> >> Cheers
> >> >>
> >> >> --
> >> >>
> >> >
> >> > -------------------------------------------
> >> >
> >> > God, how much more profitable would it be,
> >> > if the Thinker would learn from the Drunk?
> >> >
> >> >                                    - Kafka
> >> >
> >> >
> >> >
> >> >
> >> ____________________________________________________________________________________
> >>
> >> > Need a quick answer? Get one in minutes from people who know.
> >> > Ask your question on www.Answers.yahoo.com
> >> > _______________________________________________
> >> > 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
>


-- 
=======================================
Andrew D Lyons | Digital Artist | http://www.tstex.com
=======================================



More information about the Sidefx-houdini-list mailing list