After Effects 3D Transformation Stack Values and Javascript

Is there any way to get the final computed values for a layer's position, rotation, and scale in global space through the Javascript interface?
That would include all parent rotation, translations, scales, and orientation changes. Basically, whatever is at the end of the 3D transform matrix stack.
Thanks,
-Brad

Hi!
One solution would be to get the xyz value of pointTopLeft, pointTopRight, pointBottomRight via expression :
TL = toWorld([0,0,0]);
TR = toWorld([width,0,0]);
BR = toWorld([0,height,0]);
and then use the "AVLayer calculateTransformFromPoints()" method (see aftereffects_scripting_guide for details).
Hope it helps!
François

Similar Messages

  • After effects running prerendered @ 17 FPS and fluctuating up to 20 when it should be playing @ real time.  After effects 2014 CC  , brand new Mac pro strapped 10.10.1

    I have this on both machines running 10.10.1 OS X and AE 2014.  I see on line that others are having this issue.  I think it needs a Patch ASAP. 

    Hello.  Basically I can create a  new comp  that is set to 1920 x 1080, @ 30 frames per second for 1 minute TRT.  I create a new solid layer, say red.  I hit space bar or play on the screen,  and it does not play in real time.  ITs on my Imac as well.  same OS and Same Version software. 
    After effects running prerendered @ 17 FPS and fluctuating up to 20 when it should be playing @ real time.  After effects 2014 CC  , brand new Mac pro strapped 10.10.1
    created by Dave LaRonde in After Effects - View the full discussion
    Well, before you hit the panic button, why don't you tell us precisely what you're doing when AE plays at 17fps -- the keys you hit, the buttons you click to begin play.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7102588#7102588 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7102588#7102588
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in After Effects by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.
    Geoffrey M. Wetzel
    [email protected]
    [email protected]
    302.353.0798

  • After effect 2014 is crashing again and again pls... help

    My after effects 2014 is crashing again and again after applying any effect
    my laptop config. is as follow
    Model alienware 17x r4
    i7 extreme edition
    16gb ram
    1.5tb hard disk
    2gb nvidia 660
    windows 8.1
    Pls.....help its urgent

    Update your graphics driver. Anything beyond that would require much more info about your project settings, footage used and whatnot.
    Mylenium

  • File size changing when pass through after effects  (180Mb file goes in and comes out 33GB on export)

    im processing a video recorded of an  interview where the lighting was not very good on the interviewee
    im brightening up the light on the interviewees face
    the file was a 180Mb  H.264 file on import 
    when i export the file its coming out at 33GB in size.... im not sure why this is
    i have chosen the default setting "lossless" as the format for export
    i just want the file to export the same size and quality as it was when i imported it
    what options should i choose for this?    AE does not seem to tell me how big the end file will be and it takes 1 hour and half to process this 2 minute interview so it will take me an awfull long time to get to the bottom of this if i try by myself
    thanks

    It doesn't "increase" the file size. You're making a brand new file.
    What you put into After Effects has nothing to do with the resulting file. You can have an AE composition with no footage whatsoever and the resulting file will be much larger than 0!
    After Effects works internally with completely uncompressed pixel data, so no matter what you toss into it, it produces whatever you tell it to produce. As Mylenium points out, you made an uncompressed final file.
    Your original video file is VERY compressed. So, of COURSE uncompressed video is going to look massive by comparison.
    Read Mylenium's link to understand a bit more and go here to learn AE: Getting started with After Effects There are lots of "gotchas" like this that'll bit your butt if you skip this basic training stuff.

  • After Effects CS6 fails to render and I dont know why?

    I'm fairly new with After Effects and my problem is that when I am trying to render my movie, it fails to render at the exact same point every time. The point where it fails is when my 1st video is transitioning to my 2nd video in the movie. And when I try to RAM preview my movie, it wont render parts where one video transitions to another video. Earlier today there was an error coming up saying that frames could not render simultaneously and that I needed to fix my multiprocessing settings. I'm using both Quicktime Movie and MP4 files in this movie. Here are my Memory and Multiprocessing settings: http://gyazo.com/4974772d0a104f01c19257d75b790155

    Nope, sorrry, those effects don't help diagnose anything.
    If you answer these questions, we stand a fighting chance at diagnosis.

  • In After Effects, it says NOT Realtime and the video is really slow

    I'm editing a clip in after effects and the video preview is really slow. I also says in the preview section, "NOT realtime".

    How, exactly, are you initiating the preview? Are you using RAM preview?
    See this:
    http://helpx.adobe.com/after-effects/using/previewing.html
    Start here to learn After Effects: http://adobe.ly/bjBT3P

  • After Effects 12.0 cannot drag and drop files into it?

    I'm simply trying to drag and drop files into the programs project files. Has worked in other ae versions, help?

    Install the updates:
    After Effects CC (12.2.1) bug-fix update

  • I click to download After Effects, Creative Cloud pops up and says it's up to date but I can't find it anywhere on my macbook?

    I've searched my entire Mac and can not find After Effects anywhere. So I go to download it. When I click download, my Creative Cloud opens up and next to After Effects it says up to date.

    So, I fixed my own problem. Anyone else having the same problem follow these steps, they helped me.
    CC desktop lists applications as "Up to Date" when not installed

  • Can i use After Effects with FC4?! And how?

    Hello! For a while i thought you could not use Adobe after effects with Final express...but i was wondering again if i can use it, and if i can, how do i use it with FCE?? Thanks!

    Well after AE, i can continue editing it in final cut? Or once i use it in AE, it is too late to put the sequence or scene back into FCE?
    I guess an example would be that if i just want one scene or one sequence from final cut to be used in AE, i would export that sequence as a QT movie? Then how do i put it back into Final Cut once it is done with AE?

  • After Effects, Final Cut Pro HD, and QuickTime 7

    Hello friends,
    I just wanted to point out a problem I have experienced with QuickTime 7 when using After Effects and Final Cut Pro HD. If this has already been covered by someone else on the forum, please forgive my unnecessary post.
    I am used to working in AE 6.5 and FCP 4.5 and exporting/importing QT files between the two programs.
    After I downloaded QT 7 (Pro version) with iTunes 6, I discovered that when I export an AE 6.5 clip using the "Export-->QuickTime Movie" menu option, I cannot open the QT file in FCP 4.5. FCP 4.5 tells me that it does not recognize the file. (However, when I use AE's "Export-->DV Stream" option, FCP 4.5 will recognize the file, but it has to render the clip.)
    I decided to reinstall QT 6.5.2 (Pro version), and after that everything worked fine (I re-exported the movie using AE's "QuickTime Movie" option, and I was able to open the file in FCP 4.5 with no problems).
    Have any of you experienced this problem, or something similar? Do you suppose this is something Adobe might address with a software patch? Or Apple?
    Chris
    P.S. I downloaded all of the QT 7 patches that Apple released, including the recent QT 7.0.4 and encountered the same problem with AE & FCP every time. This is a problem, of course, because if I choose to stick with QT 6, I will be unable to enjoy the new videos offered at the iTunes 6 store.

    Hi David,
    Thank you for your reply. Honestly, I am really new to AE, so I am not very familiar with the render queue. When I had QuickTime 6, I would just use the "Export-->QuickTime Movie" menu and then open that file up in FCP. This was a fast and easy process for me. But now, after installing QT 7, I cannot do that, because FCP can no longer read the "QuickTime Movie" file I export from AE.
    I will look up some more information on the AE render queue and try using that. Thank you for the tip.
    Chris

  • Whenever i try to download Adobe after effects it says installation failed and it does nothing PLEASE HELP ME

    I tried to install after effects but then it said installation failed and came up with this :
    Exit Code: 6 Please see specific errors below for troubleshooting. For example,  ERROR: DS012 ...   -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 7 error(s)    ----------- Payload: Adobe After Effects CC 2014 Presets 13.0.0.0 {B11629D3-E9EE-467B-B9C6-30D37E2A39CF} -----------  ERROR: DS012: LocalizeFile:Localized string not found for locale 'en_GB'(Seq 351)  ERROR: DS012: LocalizeFile:Localized string not found for locale 'en_GB'(Seq 683)  ERROR: DS012: LocalizeFile:Localized string not found for locale 'en_GB'(Seq 685)  ERROR: DS012: LocalizeFile:Localized string not found for locale 'en_GB'(Seq 687)  ERROR: DS012: LocalizeFile:Localized string not found for locale 'en_GB'(Seq 689)  ----------- Payload: Microsoft Visual C++ 2008 Redistributable Package (x86) 9.0.30729.5677 {539B5BB0-18F9-11E2-BBBC-00215AEA26C9} -----------  ERROR: Third party payload installer vcredist_x86.exe failed with exit code: 1603  ERROR: Failed to install Microsoft Visual C++ 2008 Redistributable Package (x86). Please try installing it by double clicking on the executable at "C:\Users\Aejeaz\AppData\Local\Temp\{907694F0-1B67-475C-8E74-2B81DF08E30B}\AfterEffects_13_LS20\Adobe After Effects CC 2014\payloads\Microsoft VC 2008 Redist (x86)\vcredist_x86.exe", or download and install the latest Microsoft Visual C++ 2008 Redistributable Package (x86) from Microsoft website - www.microsoft.com  -------------------------------------------------------------------------------------

    JazzGames please see Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html for information on how to locate and interpret your installation log files.  You are welcome to post any specific errors you discover to this discussion.

  • SURVEY: Tell the After Effects team what you want and what you think.

    Michael Coleman just posted a web survey about After Effects.
    Please take a few minutes to tell us a few things about yourself, your projects, and your workflow. You'll also get a chance to indicate which potential features are most important to you. Surveys like this to are a great way for you to direct our efforts.
    The survey will probably take about 15 minutes to complete. It is hosted at Surveymonkey.com.
    Click this link to get started.
    The information we gather is just for Adobe's use and we promise not to do anything annoying with your survey responses. All data will be kept confidential. No information about you will be sold or furnished to any other company whatsoever, nor will you receive any unsolicited email messages because of your participation in this survey.
    On behalf of the entire After Effects team, thanks!

    Always glad to do these. I printed the previous survey from 2007(?) and it's interesting to see what features are now included in CS4, which ones are still to be included, and which ones have been completely forgotten.

  • I've installed the full version of After Effects, but codecs like MPEG2 and MPEG2-DVD are still miss

    The title kind of explains it. I've installed Master Collection CS5.5 as a full version, but After Effects and Adobe Media Encoder are still missing the protected content. I've rebooted and updated, and rebooted again. I've installed as a trial and then entered the serial number later, and I've also tried using the serial number during the install. It seems no matter what combination I try, I can't get MPEG2 to show up in the export list.

    Here: http://i.imgur.com/UQdWH.png
    and
    Here: http://i.imgur.com/Rv01I.png
    Also attached below:

  • After Effects CC 2014.2 Freezing and getting "After Effects[717]: -[NSMenu menuID]: unrecognized selector sent to instance" messages

    I’m having this same issue- it’s not crashing constantly but definitely freezes or chugs slowly along.
    Getting the "After Effects[717]: -[NSMenu menuID]: unrecognized selector sent to instance 0x610000263180"
    Thoughts?

    Hmmm.
    This thread seemed to find a solution, but you're not going to like it...
    I'd recommend being as aggressive as you can with other solutions first, such as fixing permissions problem that impedes start of Adobe applications on the off chance that they help.
    This thread on App Nap causing issues would also be worth a look.

  • After Effects CC 2014 RAM preferences and performance problem

    I have a RAM issue with AE CC 2014.
    Soon after updating, I began receiving errors that there was not enough RAM for other applications. I checked the preferences, and sure enough “RAM reserved for other applications:” was set to 0. I then changed it to 6G (out of 16) and restarted the application.
    Upon checking the preferences again, the preference was set back to 0. I changed it back to 6, OKd it, then went back into preferences immediately to see if the change took and it did still say 6.
    But every time I restart the application it chances itself back to 0!
    So I did an experiment to see if AE CC (pre 2014) did the same thing. It’s preferences were set to 3G, so I changed it to 6G for continuity, restarted the application and it stayed at 6.
    BUT THEN, I found that if I open AE CC 2014 it not only changes its own preference back to 0 but it changes AE CC back to 3!
    In a nutshell AE CC 2014 will change the RAM preferences of both itself and AE CC when it launches, back to a prior RAM amount (default?). In the case of itself: 0G of RAM. In the case of AE CC: 3G of RAM.
    Also another problem, which I assume for now is connected, AE CC 2014 will slow to an unusable crawl after about 5 minutes of using it. With no exaggeration, in only bounding box view mode, it would take 6-10 seconds to rotate a single solid a few degrees.
    Restarting the application, which takes a good 7 minutes, gives about 5 more minutes of work before crawling again. I’ve changed cache disks as well as stopping to use a disk cache completely with no change.
    Thank for any help you can provide!
    OS X Yosemite 10.10.2
    iMac (27-inch, Late 2013)
    3.5 GHz Intel Core i7
    16GB Ram, 1600 MHz DDR3
    NVIDIA GeForce GTX 780M 4096 MB

    After contacting tech support, it turned out to be a preferences permissions problem.
    We made sure that in the preferences folder, the Adobe folder had each administrator listed, and each administrator name was set to 'Read & Write'. From there applied that info to 'all enclosed items' and it solved the problem.

Maybe you are looking for

  • Album Artwork doesn't show in my iPod

    Hi everyone! I've seen a lot of people have problems with photos... but what about Album Artwork??!! I've got a lot of album artwork associated to my songs in iPod photo but only a few of them are shown and I don't know why... I've tried everything e

  • HP LaserJet CM1015 MFP All-In-One problem

    HP LaserJet CM1015 MFP All-In-One Printer gives a couple of vertical lines 1,5 inch from the right side (facing the printed paper), across the whole length of the paper. Same for different kinds of paper. Lines are more visible in colorpages. Same pr

  • CE Trial Version on Vista

    Hi all, I tried to install the CE on a Vista machine but without success the install routine doesn't start. Are there any workarounds available? Another colleague told me next day in the office that he tried to install the trial version of CE on a XP

  • Text exported From After Effects Troubles

    I made titles in After Effects CS3 exported them and then imported them in Final Cut Express. When I put them in the sequence they are pixelated and fuzzy looking. Does anyone know what I have done wrong? I tried changing all the different settings i

  • Unable to extend tablespace while EhP4 upgrade

    Hi Gurus, We are doing EhP4 upgrade from EhP ready SR1. Our database version is DB6 9.7.2. We are using EhPI version 37. In the chack phase the installer suggests to increase some tablspace size. But the tablespaces are in "Auto Storage Mode". We are