Advertisement

You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Camera data export script

13

shakevp3.jpgThe pipeline including a video compositing program like After Effects and a 3D app is quite common among motion design professionals. More than just rendering the 3D content and importing it into AE or Shake, its often needed to use the camera data to get correct tracking.

Sometime ago, when presenting Blender to a friend who works extensively with After Effects, one of the first questions he asked me was if one could smoothly get the camera data from Blender into AE. After some research on this subject, the results were not very pleasing: there was no painless way of doing it.

Well... seems that things have changed!

Andrew Rollo (a.k.a. osxrules) made a Python script that allow us to do export camera data to After Effects and Apple Shake using Maya ASCII format.

You can download it on the BlenderArtists.org thread. Be sure to check for updated versions (in the time of writing this, they are in this post).

Wondering if it works well? I'll quote a response made by an user known as dsp_418:

I've played with your script: actually, it rocks.
I'm not getting any kind of problem, and finally I can exchange data between Blender and After Effects. That's really important for my job (and I think for many other people around who use Blender and do compositing in a commercial environment).

Thanks, Andrew, for making this and Piero for the heads up!

About the Author

Avatar image for Virgilio Vasconcelos
Virgilio Vasconcelos

Brazilian animator who uses Blender since 2003. Professor of 3D (with Blender, of course) and Digital 2D animation at UFMG (Federal University, Minas Gerais' state), Brazil. Writer of Blender 2.5 Character Animation Cookbook, from Packt Publishing. Has a MFA degree with a research involving tools for free character deformation in 3D and is now performing a PhD research on distributed creation of media and animation.

13 Comments

  1. I am having trouble with this i am using after effects CS3 but when i import the camera i doesnt have the data attached with it :-( (upsetting!) it looks like it des but doesnt i even had the updated version but still know joy i also keep getting this message in the code box of blender every time i try this:

    scene.getCurrentCamera deprecated!
    use scene.objects.camera instead
    scene.getChildren Depercated!
    use scene.objects instead

    i am a newbe so i dont know how to do any of the coding so i am in need of some help!!!

    ANYBODY...?

  2. Hi everyone,

    First thanks for that script, i've been looking for it...

    I need your help, I have a macbook pro running with Leopard and the latest version of Blender and I'm having trouble making it work (the script, of course). Can someone guide me trhough the installation of this script (on a mac)?

    Thanks.

  3. Reply to sambre

    you need to use terminal to show hidden files first (i had the same problem yesterday)

    open terminal and type:
    defaults write com.apple.Finder AppleShowAllFiles TRUE
    then press enter
    then type:
    killall Finder
    then press enter

    then go through your computer and navigate to the blender application

    then right click and click on show package contents

    then go into contents, macos, .blender, and drop it into scripts folder

    then go back into terminal and type the exact same set of lines except change TRUE to FLASE (this makes everything back to normal)

    by the way I am having the same problem with the camera data not being there in after effects. It has all the null objects and the camera but no keyframes or anything, just no data attached to the objects or camera.

    PLEASE HELP

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.

Advertisement

×