|
-
Sep 23rd, 2002, 06:54 PM
#1
Thread Starter
Addicted Member
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.
-
Sep 23rd, 2002, 08:03 PM
#2
Lively Member
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
-
Sep 25th, 2002, 12:01 PM
#3
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|