moonjo
moonjo
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
sop geo position shift Sept. 12, 2008, 5:14 p.m.
Well, I managed to do it just with points; didn't deal with primitives or vertices.
I grabbed the points of the two geos, got their positions with getPos(), calculated the difference and just applied it to one of the geos.
Way too simpler than I expected so even though it's working, I'm still unsure. oh well.
I grabbed the points of the two geos, got their positions with getPos(), calculated the difference and just applied it to one of the geos.
Way too simpler than I expected so even though it's working, I'm still unsure. oh well.
sop geo position shift Sept. 4, 2008, 5:42 p.m.
Thanks mondi,
Didn't know about xyzw for the vector.
Will try current method and if it doesn't work I'll have to find out if there's anything in the api that can help.
* basically, I need to extrapolate a new position from last valid frames.
ie. take the difference in positions of frames 39-40, and get the position for frame 50.
Didn't know about xyzw for the vector.
Will try current method and if it doesn't work I'll have to find out if there's anything in the api that can help.
* basically, I need to extrapolate a new position from last valid frames.
ie. take the difference in positions of frames 39-40, and get the position for frame 50.
sop geo position shift Sept. 3, 2008, 5:32 p.m.
well, little update;
So I tried this
(*prim).getVertex(j).getPos().assign(p, p*shiftVal, p*shiftVal, p*shiftVal);
And the result looks horrible! didn't exactly work as I wanted.
I found GEO_Delta intersting, only problem is I don't know how/what it does..
So I tried this
(*prim).getVertex(j).getPos().assign(p, p*shiftVal, p*shiftVal, p*shiftVal);
And the result looks horrible! didn't exactly work as I wanted.
I found GEO_Delta intersting, only problem is I don't know how/what it does..