Discussion of article "Studying the CCanvas Class. How to Draw Transparent Objects" - page 8

 
Nikolai Semko:


Thanks, that helped.

 
Nikolai Semko:

if you type "polynomial" or "trinomial" into Images on Google, a lot of funny pictures will come up :))))

Yeah, and Yandex images don't have such ugliness.

 
Dmitry Fedoseev:

It's just a little bit of 7th grade maths. You get a long polynomial, you have to reduce it. You should end up with a three-membered polynomial.

At least answer a simple question.
What will be the resulting transparency of two transparent pixels? For example, the transparency of the bottom pixel is 0.4 and the top pixel is 0.5.
You can formulate this question differently:
There are 2 tinted glasses. One transmits 60% of light and the other 50%. How much light will they transmit together when combined?
 
Nikolai Semko:
At least answer a simple question.
What will be the resulting transparency of two transparent pixels? For example, the transparency of the bottom pixel is 0.4 and the top pixel is 0.5.
You can formulate this question differently:
There are 2 tinted glasses. One transmits 60% of light and the other 50%. How much light will they let in when combined?

You're beginning to sound a lot like Peter.

...

I don't even know what transparency is, I'll google it....

 
Dmitry Fedoseev:

You're beginning to look a lot like Peter.

...

I don't even know what transparency is, I'll google it...

It's better to resemble Peter than a grumpy grandmother sitting on a bench in front of her driveway and looking for flaws in people passing by....

 
Nikolai Semko:
At least answer a simple question.
What will be the resulting transparency of two transparent pixels? For example, the transparency of the bottom pixel is 0.4 and the top pixel is 0.5.
You can formulate this question differently:
There are 2 tinted glasses. One transmits 60% of light and the other 50%. How much light will they transmit together when combined?

10%

One retains 40 per cent of the light and the other retains 50 per cent. Together they will retain 90 per cent of the light. So both panes of glass together will let in 10 per cent of the light.
 
Реter Konow:

10%

30%
 
Nikolai Semko:
30%

I just gave you the solution at a quick glance. Maybe it's more complicated and I'm wrong.

 
Реter Konow:

10%

The first will retain 40 per cent of the light, the second 50 per cent. Together they will retain 90 per cent of the light. So both glasses together will let in 10 per cent of light.
And if the first is 60 per cent and the second is 70 per cent, then both are 130 per cent :)))
 

We can put it this way:

The first glass reduces the intensity of the light passing through by 40 per cent. The second glass reduces the intensity by 50%, but since it only receives 60% of the original light, it will halve it by half. So that's 30 per cent of the original intensity.

I agree.