Alpha channel interpretation issue Topic is solved

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Audiovisualisa
Posts: 8
Joined: 26 Nov 2015, 12:06

Alpha channel interpretation issue

Post by Audiovisualisa »

Dear TVPaint community,
hopefully you can help me with an alpha export issue. I'll try to describe:

Basically, I've got a 2D handdrawn animation scene with characters running. As they touch the ground, they raise dust. I painted the dust clouds on extra layers in pure white. Then turned the alpha down to about 30% so the clouds look transparent. As the characters run off into the distance the clouds become more transparent.

Now I have to export the scene as TIFF sequence. The scene has NO background, because it will be composed in After Effects later on. The dust clouds partly overlap with the characters. So the parts that don't overlap with the characters have no background, and the final background should shine through them.

I exported the characters together with the dust clouds. But when they were composed with the backgound the dust suddenly turned grey (with transparency) instead of white (with transparency). Funny thing is that they are still white transparent where they overlap with the characters. But where there is no background they turned grey.

Looked like a premult issue for me at first. But I always tick the premult checkbox when exporting TIFFs. I checked it several times and even tried to save the dust clouds separately - but they continue to turn grey in After Effects. Also, in TVPaint, the clouds are set on blending mode "Color" so this, too, should cause no problems.

I could export them in 100% white with no transparency at all and adjust the alpha in After Effects. But it will be additional work, as I would have to animate the decreasing alpha again. And I still would love to know how to solve the issue in TVPaint. Or is After Effects causing this issue?

My PC has Windows 10 (64 bit). The version of my TVPaint is 11 (Professional, Education Edition)

Do you guys have any idea where the colour change might come from?

Many thanks in advance!
Lisa
Last edited by Audiovisualisa on 29 Jul 2017, 11:37, edited 1 time in total.
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: Alpha export issue

Post by schwarzgrau »

Have you tried to export it as PNG? (Honestly I don't know if this could help, but usually I never had such problems with PNGs)
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
slowtiger
Posts: 2885
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Alpha export issue

Post by slowtiger »

I've just done a test.
TIFF: no difference between pre and nonpremultiplied, both with grey border.
PNG: "Not Premultiplied" gives you the desired effect, without a grey border.

So the file format matters!
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
Elodie
Posts: 13913
Joined: 06 Jan 2009, 09:53
Location: Metz

Re: Alpha export issue

Post by Elodie »

Make also sure you import your images properly in Afyer Effects, for it won't always detect alpha channel ina proper way.
User avatar
Fabrice
Posts: 10077
Joined: 17 Jul 2007, 15:00
Contact:

Re: Alpha export issue

Post by Fabrice »

indeed, when exporting in pre-multiply (or not) , the result depends on the software opening the files : does it handle (pre)multiply ?
Fabrice Debarge
User avatar
slowtiger
Posts: 2885
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Alpha export issue

Post by slowtiger »

AFX had (last time I checked) the options Guess, Pre-Multiply, Without Pre-Multiply.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
User avatar
Audiovisualisa
Posts: 8
Joined: 26 Nov 2015, 12:06

Re: Alpha export issue

Post by Audiovisualisa »

Hello guys,

thanks for your quick replies. The problem is solved now. My team-mate and I finally found that the issue was caused when importing the TIFFs to Premiere where the alpha was misinterpreted.

We would have to switch the alpha options in the "interpret footage" settings in Premiere - the preset was set on "straight alpha" but with the confusing addition that it would use the alpha information from the files. We changed it to "premultiplied alpha" and this seems to work now. I think that I'll delve deeper into the alpha interpretation matter to fully understand what happened there.

But anyway, guys, thanks again and no TVPaint problems here. :)

All the best,
Lisa
User avatar
slowtiger
Posts: 2885
Joined: 08 May 2008, 21:10
Location: berlin, germany
Contact:

Re: Alpha channel interpretation issue

Post by slowtiger »

Alpha can be tricky. I found the only way to be sure is stubbornly test each possible combination in the workflow, take notes, and then adamantly stick to the one which works.
TVP 10.0.18 and 11.0 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
TVP 11.0 and 11.7 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
TVP 11.7 Mac Mini M2pro 32GB OS 13.5
Post Reply