![]() Next, let’s look at the other transitions: Composite & Co.Īs for the color blending, the same procedure applies that we’ve just seen with the Affine transition: the Opacity parameter controls how much upper frame (B) pixel color gets into the blend.īut when we look at how the transparency of the resulting pixel gets calculated, things are starting to look different. For the formular-affines: α = α A + α B (1-α A) Remember, we kind of paint over the lower frame. Favorite text compositor plus#The resulting transparency then is the sum of the green base alpha value, plus the rescaled red alpha value. So the red pixel transparency is scaled: you may think of shrinking the original 0-1.0 scale into the available space above the green transparency value. But simply adding both transparencies wouldn’t yield sensible results what does a transparency of 2.0 or 511 mean? But this time, we can’t ignore the transparency of the ( red) upper frame pixel. This is what we would probably expect from painting with semi-opaque paint.Ĭalculating the resulting transparency for two given pixels from an upper frame (B) and a lower frame (A) is thus more involved this time.Īgain, we start with the transparency of the lower frame pixel ( green) as a base. It will be even less transparent than the lower frame pixel transparency. Simply spoken: if you paint some semi-transparent pixel over another semi-transparent pixel, then the result will be less transparent. As the over operation produces results more to the expectations of many users, how does it handle transparency exactly? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |