Re: Exotica, DirectX & Neil

new topic     » goto parent     » topic index » view thread      » older message » newer message

David Guy wrote:
>Hi,
>
>As of DX 6.1, DirectDraw provides no means of blending two images/surfaces
>in any way (other then simple color keying), though I belive, such
>capablities are included in DX 7.0 (I may be mistaken.)
>
>If you want to have DX <= 6.1 blend images, you have to use Direct3D: Setup
>one or both images as textures, and then blend away!
>
>Hope this helps,
>David

and David Cuny wrote:
>I don't know about DirectX, but the rest of the world calls it alpha
>blending.
>
>-- David Cuny

Okay, thanks for the advice Davids!

Neil2 won't use directx to do the blending - it will have it's own machine
code routines that do it fast.  That way it will work on non WIN32
platforms: DOS32 and Linux.

So how about:
"alpha_blit" means blend two images at 50% (or average them)
"blend_blit" means add two images (and saturate)

This naming scheme is currently reversed from the way I have it now. smile

The new blending routines will have a version for rectangular images and a
version for rle sprites.

 _______  ______  _______  ______
[    _  \[    _ ][ _   _ ][    _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
  |  ___/  |  _]    | |     |  _]
[\| [/]  [\| [_/] [\| |/] [\| [_/]
[_____]  [______] [_____] [______]
xseal at harborside.com  ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu