Re: Alpha blending

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: YYZ (none_at_none.com)
Date: 02/17/05


Date: Thu, 17 Feb 2005 08:48:11 -0600


>> That's not exactly what I was going for. I was looking for true
>> alphablending, so that the diagonal lines would appear dark red since its
>> blended red with black (of the pattern). But as always, I learn so much
>> from your examples.
>
> I would strongly suggest that you have a play with the various binary
> raster operations before disregarding it though,
> they will give you a huge performance increase over full alpha blending
> since they are performed at a lower level and
> are a far simpler calculation. If you're working with 'simple' colours
> then it makes a lot of sense to use them IMO,
> you may not get exactly the effect you're after but with a little tweaking
> you're more than likely to end up with
> something pretty close and more to the point, fast!

I see what you mean. I honestly didn't know that GDI+ was built on top of
GDI -- I figured it might be like DirectX, which is an alternative to GDI (I
think I'm saying that right), and I really thought that GDI+ would be faster
than GDI.

Now that we know its not, I may have to rethink this process AGAIN!

I also have to take into account the likelihood of getting help when stuck
on certain problems, and you use a lot of GDI but don't have a lot of GDI+
examples. That's not something to disregard lightly.

Thanks as always for everything.

Matt



Relevant Pages

  • Re: Alphablending
    ... Still no Alphablending, but looks about the same anyways. ... Its is GDI. ... Also, the way its done is, is very poor, this is brute force that causes all those leafes and the background to be repainted, in full, 4 times per frame, each, instead of 1 time each. ... But, well, not spending more time with this. ...
    (alt.lang.asm)
  • Re: Alpha blending
    ... >> alphablending, so that the diagonal lines would appear dark red since its ... > they will give you a huge performance increase over full alpha blending ... > since they are performed at a lower level and ... GDI -- I figured it might be like DirectX, which is an alternative to GDI (I ...
    (microsoft.public.vb.general.discussion)
  • Re: Wanted: help translating GDI+ to Direct3d
    ... that I can get better performance with Direct3d than I can with GDI+. ... want to do perform some alpha blending or shading. ... The easiest way to do this is to draw two textured triangles that fill ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Delphi 6 vs C# speed comparison
    ... Hardware acceleration refers to graphics specifically. ... (e.g. alpha blending) ... over the raw pixel manipulation as they can for pure GDI calls. ... well - and some of the new GDI+ features, like matrix manipulation, are very ...
    (borland.public.delphi.non-technical)
  • Re: how to draw a alpha blending image?
    ... Let us know if you find the answer in GDI+. ... GAPI about 2 years ago that does alpha blending, ... but it is written in evC++ ...
    (microsoft.public.dotnet.framework.compactframework)