The Tool I'm creating is...
Posted: Tue Sep 21, 2010 3:02 am
..... is still not done, but I'm making headroom.
Here is an image of the interface. It is a Camera Tool called Point Camera (you can read the description in the interface):
http://www.peteroid.com/images/point_ca ... erface.png
I have the calculation routines completely done and seem to calculate correctly.
All I have left is the following:
- upon pressing the Execute button: for each frame in the range of Frames given, read the world locations for Camera and the currently selected Layer, run them through my routine which pops out pan and tilt for the Camera, then set those pan and tilt values for the Camera at the frame (which will create a keyframe there), and make sure everything is visibly updated ans all my 'ducks are in a row'.
So I'm close, but I still am having problems with things like getting the current frame, and even though I get a valid moho object, it seems to only have a nil elements (e.g., document = nil, layer -=nil, etc.).
But every day I get a little closer... I'm the putt putt train that CAN!
Here is an image of the interface. It is a Camera Tool called Point Camera (you can read the description in the interface):
http://www.peteroid.com/images/point_ca ... erface.png
I have the calculation routines completely done and seem to calculate correctly.
All I have left is the following:
- upon pressing the Execute button: for each frame in the range of Frames given, read the world locations for Camera and the currently selected Layer, run them through my routine which pops out pan and tilt for the Camera, then set those pan and tilt values for the Camera at the frame (which will create a keyframe there), and make sure everything is visibly updated ans all my 'ducks are in a row'.
So I'm close, but I still am having problems with things like getting the current frame, and even though I get a valid moho object, it seems to only have a nil elements (e.g., document = nil, layer -=nil, etc.).
But every day I get a little closer... I'm the putt putt train that CAN!