So here’s the thing. I have a shot in a short film that I have changed the time-mapping of in After Effects. Thing is, I matchmoved the un-changed shot with Syntheyes, and now I have the un-changed camera solve in Blender. I know exactly how the time remapping was done on the footage (ie matching the source frames to the new frames), all I can’t figure out now is how to get blender to speed up the motion of the camera to match the sped-up motion of the shot.
I have a dummy object (a plane) and I’ve animated the x position to match up to what the source frame SHOULD be for the camera. For example, at frame 46, the camera needs to be where it would have been at frame 56.11157.
I can’t for the life of me figure out how PyDrivers work. I’ve looked all over for some kind of REFERENCE for scripting and blender, and turned up NOTHING, except what would appear to be an extremely helpful list of functions and objects… were it not so ridiculously outdated/inaccurate. Why the hell is what’s in in the console (the bpy.data.whatever crap) SOOOOOO different than what I keep seeing in various places with extremely simple (read: NOT HELPFUL) examples of pydriver expressions.
Anyways… \rant. What I need is just an expression that takes a piece of data from “Camera01” (like LocX!) BUT from the time (frame) specified by the X-coordinate of the plane at the current time.
So maybe the code would look like: Camera01.getIpo().get(“LocX”).evaluate(Plane.getLocation)
RIGHT??? I know that’s nowhere near syntactically correct (I don’t know python, just Java at the moment )
Okay one more rant… what the hell is Blender.??? Looking in the console I have to go through bpy.data.object… blah blah, and NONE of those functions listed here are on there. http://www.blender.org/documentation/249PythonDoc/