[Marble-devel] Supporting transparent overlays

Knut Schleßelmann knut.schlesselmann at lagom.de
Thu Jul 31 11:46:13 UTC 2014


So, instead of waiting I tried to fix the overlay blending myself ;-) At least 
for me it seems to work (using just one overlay). You could have a look at the 
things I've done in the atteched patch ;-)

Am Donnerstag, 31. Juli 2014, 11:20:18 schrieb Knut Schleßelmann:
> Hi there,
> 
> right now I try to show some PNG files with transparent background on a
> MarbleWidget using GeoDataGroundOverlay.
> 
> Sadly it looks like marble discard the alpha channel at some place (IMHO it
> could be in ImageF.cpp) and displays the background in black. That's not
> quite satisfactory since I'd like to simply add some visual information to
> the OSM theme.
> 
> Is it possible to fix this or can I use some other feature to display an
> overlay with transparent background?
> 
> regards
> 
> 
> Knut
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overlay-alpha-blending.patch
Type: text/x-patch
Size: 4663 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140731/f4f2c458/attachment-0001.patch>


More information about the Marble-devel mailing list