Re: camera access in Motion
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Pd8AJfMOL7NFWALZwxu3mRdogJSMk2TaaK6HanhFoGqHx2DtQ4pSufhwOfMBHNQm1ahAENHeuFADeaWWKIdEGmN2VymuLB3+sKqF9vQ0LtxMEG4EfX1NcyxYPS74/ZEZA/IZq2ZSf5TMahsR8xClCqC6KLifvGHpOanvHhtKeUM= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZJOeT+xqv+5fc1LVmGl9jlIicGxUfTsgQRvceGw+0+98tK6vS+mSi8G/uCo9CFVHJrtKmcEFZhODLBEUSmysM8G56Oi8CTB9QtlinrIoOUq87ydcLzgAvEnKVu8y8EzUV4EijHquzT6skM/zym2fh1yW9Y0DRn7N4Vbf1mJkVF4= Darrin, OK, I don't have Motion 3 and my Mac HD is full. You are saying I am applied to a 3D layer, Motion has no concept of 2D/3D layers like AE? Everything is 3D like combustion? Not very good for a 3D plugin, we want a 2D canvas that covers the "comp" to draw onto and the 3D camera to render from proper perspective. If I am on a 3D layer, I don't need anything, will just use my own camera but it will not be so good, not much to do... If I can be applied to a 2D layer and can get ALL (camera, lights, all layers) that info I can write some stuff that will blow everyones mind :-) but I have to work on Flux now. So for now all I need is the camera for 3D Stroke which is due out may. RG guys are on this list and working on it (Micah, get this?) In AE I get the 4 by 4 matrix AND a separate "Zoom" parameter (check AE camera in Timeline, Zoom is under Options rather than Transform) of the camera, not sure why that is separate - anyone? Should be possible to put into the matrix I think. But I'm not sure... I did most AE 3D camera stuff by trial and error, dat is how I do :-) Focal Length? I thought Motion had no concept of DOF? I repeat once again, if there is no concept of 2D/3D layers I *don't* need the camera matrix and Trapcode 3D Stroke will be quirky but it is ok. Peder Norrby / Trapcode 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 -- Darrin Cardani dcardani@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... On 4/30/07, Darrin Cardani <dcardani@apple.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
Peder Norrby