09-04-2004, 04:45 PM
I'm too lazy to check (I have little internet time now). You know that in most libs (i.e. Future.Lib) you call some kind of
and from that point every library function that draws something does it translucently using "127" as the translucency level. You have to call some kind of
To have it drawing stuff solidly again.
Can that be done easily in DirectDraw? I mean, can you call some sort of function or set some sort of property so the surfaces are blitted and the primitives are drawn translucently in subsequent calls to bitblt and stuff, or should I have to define special translucent surfaces/call special functions?
Thanks (I'm porting BSC3 (the engine that runs "Zhandha") to VB and I got stuck when I found the blending stuff )
Code:
SetBlender 127
and from that point every library function that draws something does it translucently using "127" as the translucency level. You have to call some kind of
Code:
SetBlender 0
To have it drawing stuff solidly again.
Can that be done easily in DirectDraw? I mean, can you call some sort of function or set some sort of property so the surfaces are blitted and the primitives are drawn translucently in subsequent calls to bitblt and stuff, or should I have to define special translucent surfaces/call special functions?
Thanks (I'm porting BSC3 (the engine that runs "Zhandha") to VB and I got stuck when I found the blending stuff )