• Acolyte of the Butterfly
    Acolyte of the Butterfly
    Gelb
    Posts: 148 from 2003/3/4
    From: #amigazeux
    Quote:

    (btw why is it just fake transparency? no that it matters just out of curiosity)


    The problem is that MorphOS Text() function pokes alpha values directly into the rastports bitmap and thus making the resulting bitmap not showing correctly when being used as alpha bitmap for transparency. I don't know if this has been fixed (or rather if an alternative Text function with selectable behaviour is available) in 2.4 but the problem is known since ages.

    The workaround is to render the text in white to some bitmap, read either red/blue/green channel from that and use this as alpha data to do my own text rendering with it. As Wetter relies on MUI's powerful text engine (which also uses Text()) this workaround can't be applied of course. For this reason Wetter and most of the other stuff I do is stuck at fake transparency for the time being.
  • »19.10.09 - 07:40
    Profile Visit Website