photon problems with alpha blending

Hello,

could it be, that Photon has serious problems with Alpha blending?

When opening and drawing an image of type Pg_IMAGE_DIRECT_8888 it draws
the transparent area black without calling PgAlphaOn() and with Alpha on
it draws nothing (or completely opaque).

Another problem, when trying to PgDrawRect() with a PgMap_t alphamap (in
our case for rendering our own precomputed antialiased bitmap fonts) it
works fine in a simple test application but when using this in a bigger
multi process application it just draws filled rectangles, i.e. doesn’t
do the alpha blending.

Is that all known or am I doing something wrong.

Regards,

Wolfram Manthey

I have not used the alpha stuff myself, but I understand that you can
blow the draw stream buffer. So, first thing to do is up the draw
stream buffer and second is to try to limit the size of each alpha map.

chris

Wolfram Manthey <Wolfram.Manthey@gmx.de> wrote:

Hello,

could it be, that Photon has serious problems with Alpha blending?

When opening and drawing an image of type Pg_IMAGE_DIRECT_8888 it draws
the transparent area black without calling PgAlphaOn() and with Alpha on
it draws nothing (or completely opaque).

Another problem, when trying to PgDrawRect() with a PgMap_t alphamap (in
our case for rendering our own precomputed antialiased bitmap fonts) it
works fine in a simple test application but when using this in a bigger
multi process application it just draws filled rectangles, i.e. doesn’t
do the alpha blending.

Is that all known or am I doing something wrong.

Regards,

Wolfram Manthey


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/