| View previous topic :: View next topic |
| Author |
Message |
eoffermann
Joined: 26 May 2005 Posts: 79 Location: Asylum Effects - Santa Monica
|
Posted: Tue Jan 30, 2007 2:32 am Post subject: Sizzle bug? |
|
|
I'm having a weird problem with a sizzle script: (version shown here has other items removed for simplicity.
//SIZZLET Tracker Scale
ob = Scene.activeObj
trk = ob.trk
for (tk in trk)
wasItDone = tk.isDone
tk.isDone = 0
shot = ob.shot
f0 = shot.start
f1 = shot.stop
for (frame = f0; frame <= f1; frame++)
newv = (tk.v * 1.125)
tk.v = newv
end
tk.isDone = wasItDone
end
closeout()
I'm working on a show where the plates that were originally provided were provided at the wrong pixel aspect. We're trying to avoid re-tracking the entire thing, and the tk.v*1.125 portion would put the trackers back where they belong: but the result is that tk.v is left alone and tk.u is set to the value of tk.v
I've tested this on the MacOS X version of SynthEyes under 2007.1003 and 2006.5.1011 with the same result. I'm tempted to run back over to work and try it on a windows machine...
Any suggestions? |
|
| Back to top |
|
 |
eoffermann
Joined: 26 May 2005 Posts: 79 Location: Asylum Effects - Santa Monica
|
Posted: Tue Jan 30, 2007 2:41 am Post subject: |
|
|
Actually, to be completely clear I should say that
and
have exactly the same result. (The u value of the 2d tracker gets changed, leaving the v value alone) |
|
| Back to top |
|
 |
ssontech Site Admin
Joined: 16 Mar 2005 Posts: 609 Location: Valley Forge, Pennsylvania
|
Posted: Tue Jan 30, 2007 10:03 am Post subject: |
|
|
Oops. There was the obvious typo in the sizzle implementation to set that attribute. For now, do this:
tk.uv = Point(tk.u, newv)
Sorry about that & thanks for pointing it out. |
|
| Back to top |
|
 |
eoffermann
Joined: 26 May 2005 Posts: 79 Location: Asylum Effects - Santa Monica
|
Posted: Tue Jan 30, 2007 11:41 am Post subject: |
|
|
| Works like a charm! |
|
| Back to top |
|
 |
|