On Apr 28, 2007, at 12:13 AM, Peder Norrby wrote: I'd like to get the camera matrix in Motion 3 to the plug-in. As you know I have a lot of 3D stuff so that would be totally wicked for the users.
Peder, I apologize for not responding sooner. After all the work we've been doing for NAB, I decided to take a break this weekend and not check my work email. Your message does appear to have gone to the whole list, as Chirstoph from CHV Electronics also responded.
from AE I get a 4 by 4 camera matrix, that I then invert to get the projection matrix (if I remember correctly).
We haven't yet written an interface for getting 3D info, but we'd like to do it as soon as possible for a bunch of different reasons. I'm hoping we can get it into the first point release of Motion 3. However, our time is limited, so I want to make sure that we implement only things that people actually need.
Clearly you need the 4x4 matrix of the camera. Do you also need the 4x4 matrix of the layer the effect is applied to? Do you need to get the matrices of all the layers in a scene? Do you need to get the matrices for the lights in the scene?
and then the zoom (scale) is another param I need. if possible check the AE api and do the same? afaik AE api is public.
I have several of the AE SDKs from about 5.0 through about 7.0, I think, so I can look at those. However, we won't be able to implement everything they have, so I need to know which features are most important to you.
When you say you need the "zoom (scale)" what do you mean? Do you mean the currently chosen resolution of the canvas? Or do you mean what the user has set the scale for the layer to in the properties tab?
how is your coordinate system? Y is down or up? Z goes into the screen? units?
I believe it's a left-handed system with Y pointing up and Z coming out of the screen. The units should be square pixels, I think. I'll verify this info with our 3D gurus to be sure.
I don't really do the Motion 3 versions myself so maybe get those people on this list?
If you mean the guys from Red Giant, I believe they are on the list. They were certainly invited. Feel free to mention it to them on the off chance that my invitation ended up in their spam folder.
Darrin
|