Opened 10 years ago

Last modified 4 years ago

#1136 new defect/bug

Rendering with alpha has issues

Reported by: usul Owned by: cp15
Priority: blocker Milestone: version 0.6.0
Component: port/wince Version: git master
Severity: complex Keywords: rendering, graphics
Cc:

Description

(Maybe related to #614)

When you use navit on WinCE and Windows, there are some problems with the alpha rendering of icons and geometries:

Any .PNG OSD graphic has a strange white outline in the areas that aren't solid. As it's only a soft shading, it might be related to some overflows or bad bit-operations? As icons appear normal, it doesn't seem to be .PNG related in general (confirmed with SVN 5539 on WinCE Core 5.0

Another effect is that windows ports cant deal with alpha-color-values in styles.

I don't have the experience, if both bugs are related somehow. Maybe there is a problem in the GFX pipeline in general for this port.

Attachments (3)

IMG_1159.JPG (57.5 KB) - added by usul 10 years ago.
white outline around OSD controls
cursor_wrong_win.jpg (1.7 KB) - added by usul 10 years ago.
wrong cursor shadow at Windows XP
cursor_ok_android.jpg (1.3 KB) - added by usul 10 years ago.
right cursor shadow at android

Download all attachments as: .zip

Change History (13)

Changed 10 years ago by usul

white outline around OSD controls

Changed 10 years ago by usul

wrong cursor shadow at Windows XP

Changed 10 years ago by usul

right cursor shadow at android

comment:1 Changed 10 years ago by usul

(damnit, you cant add images in the first post)

white outline around OSD controls

wrong shadow: wrong cursor shadow at Windows XP, good shadow: right cursor shadow at android
from http://wiki.navit-project.org/index.php/Layout

comment:2 Changed 10 years ago by usul

  • Owner set to cp15

comment:3 Changed 10 years ago by usul

  • Milestone set to version 0.5.1

comment:4 Changed 10 years ago by usul

related to ticket #860

cp15 points out, that this is related to the way how alpha is mapped against a chroma key internally. See FAST_TRANSPARENCY in src to take a look for the procedures.

His recommendation for a first workaround is to remove partial transparency as it occures at antialiased surroundings

comment:5 Changed 10 years ago by usul

Please check also #650

comment:6 Changed 9 years ago by usul

  • Severity set to complex

comment:7 Changed 9 years ago by usul

  • Priority changed from major to blocker

I suggest this as blocker for 0.5.2 for the following reasons:

  • stops designers from contributing, as they are unable to get a final/stable view on their styles/UI/...

comment:8 Changed 9 years ago by mineque

i can confirm white surroundings in win32 also

comment:9 Changed 5 years ago by http://wiki.navit-project.org/index.php/user:jkoan

  • Milestone changed from version 0.5.1 to version 0.5.2

This ticket was pushed back in order to bring 0.5.1 out soon.

comment:10 Changed 4 years ago by http://wiki.navit-project.org/index.php/user:jkoan

  • Milestone changed from version 0.5.2 to version 0.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.