Unpremultiply (divide by alpha) in AE

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  11 November 2008
Unpremultiply (divide by alpha) in AE

OK so after having used the Nuke and Fusion demos, and falling in love with them (mainly Nuke), I'm trying to recreate my comps for multipass compositing in AE. Well we know this isn't going to be easy.

Main problem (aside from very complicated project structures with many comps) is that there is no straightforward divide operation in the standard AE package. How hard is it to write custom plug-ins for AE? Right now to do a divide by the alpha:

1) Comp with alpha shifted to RGB and inverted, alpha set to full

2) That gets piped into another compound arithmetic with the original image (alpha set to full again), set to multiply RGB.

3) Pipe the result of that into another comp and set to add on top of original image and voila, I have divided (multiply by inverse) by the alpha.

What a pain in the a$$! Now Genarts Sapphire MathOps has a divide in there but thats is a $600 single lic plugin. Shouldn't there be an easier way?

  11 November 2008
Well I caved and pulled the demo of Sapphire, rather than messing with writing an AE plugin. It is possible to achieve the same workflow in AE as in Nuke and Fusion for multipass compositing with MathOps, but man is it ugly.

  11 November 2008
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:15 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.