Page MenuHome

After Effects export: implement solid and image plane export; multiple fixes and cleanup
AbandonedPublic

Authored by Damien Picard (pioverfour) on Nov 13 2020, 5:45 PM.

Details

Summary

I reworked the After Effects exporter by @Bartek Skorupa (bartekskorupa) quite a lot (thanks, Bartek!). Here is a list of changes.

Add image plane and solid export

This allows for fast and precise replacement in post. Rectangle meshes will be exported either as a solid, or as an image. It has some restrictions, though:

  • textured planes need to have only one image texture in the shader node tree, otherwise an image will be picked at random;
  • they also need to have UVs occupying the full space, in order to find the image orientation;
  • the meshes need to be rectangles, i.e. exactly one 4-sided polygon, no edge loops.

Rendered from Blender

Rendered from AE

[EDIT: These images used to show AE’s proprietary UI]

Revert "io_export_after_effects: update to 2.8 T63856" (rBAC5781362d8)

I don’t know what happened there, but it actually removed some features, most notably rBA31e5c6b9.

Set default comp name to blend file name

The composition will most of the time bear the same name as the Blend file, so that can be the default in the import name prompt

Update the export window interface

Old UI

New UI

A bit of cleanup and refactoring, to make the code more readable.
Various smaller fixes
  • animation export was broken for nulls
  • proportions were wrong when the camera’s sensor fit setting was on AUTO and the output was higher than wide

This update breaks compatibility with previous versions because in order to make the image and solid transform calculations easier, the scaling had to be changed.

Please refer to this repo if you need to see the individual commits and details.

Script file

For those wanting to test, here is the current version:

Diff Detail