Computer Science Canada see through colors |
Author: | msimard8 [ Sat Oct 08, 2005 10:10 am ] |
Post subject: | see through colors |
Is there a way in turing where you can draw a coloured box in which you can see through. Thanks |
Author: | Cervantes [ Sat Oct 08, 2005 11:00 am ] |
Post subject: | |
It won't actually be seethrough, but what you can do is average the RGB values of each pixel in the box with the RGB values of whatever is behind it. You may need whatdotcolour for this, if you don't know the RGB values of what is behind the box. If you don't want a perfect 50% transparency, you'll have to do something different than simply average them. You'd have to weight RGB values accordingly. |
Author: | zylum [ Sat Oct 08, 2005 9:09 pm ] | ||
Post subject: | |||
i would agree but the thing is, you would have to draw pixel by pixel... which means it will end up *very* slow...
|
Author: | Drakain Zeil [ Mon Oct 10, 2005 10:15 am ] |
Post subject: | |
kinda helpful: http://www.fastgraph.com/help/alpha_blending.html |