Results 1 to 3 of 3

Thread: drawing with translucency and transparancy

  1. #1

    Thread Starter
    Addicted Member jmiller's Avatar
    Join Date
    Jul 2002
    Location
    University of Michigan
    Posts
    238

    drawing with translucency and transparancy

    how do you do it?
    to draw with transparancy you blit a mask using vbSrcAnd, then blit a source using vbSrcPaint, but you can't use the API call "AlphaBlend" in this manner, or at least i think you can't. If anyone know how to accomplish this please tell me.

  2. #2
    Lively Member
    Join Date
    Jul 2002
    Posts
    118
    In DX8 it is easy but sorry I suck at the API I only know the bare minimum such as gettickcount and sleep

    Have u thought about using DX8 / DX7, it is v fast and alpha blending is easy. I have that book u use as well but it focuses far too much on the API I think persoanlly. DX7 / DX8 were meant for real graphics. Ask other peoples opinions in this forum and Im sure u will find that they agree.

    Anyway good luck

    Dan

  3. #3
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    use the same method as transparency but use shades of grey instead of a black mask. Depending on how far you defect from the black, the level of translucency will grow. That's the easy way not using DX. The hard way not using DX is HARD!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width