|
-
Jan 23rd, 2003, 07:37 AM
#1
Thread Starter
Member
fadeout realtime (without dx)---RE-ASKED
can anyone tell me a way to make a bitmap to fade into another one in real time without using Dx ?? assuming the bitmap is fullscreen and i want the fade to take place within 2 sec
OK guys, now tell me how to do it in Dx
Last edited by anjulpa; Jan 24th, 2003 at 09:06 PM.
 ppl saw this
Die, ***** Die !
-
Jan 23rd, 2003, 12:36 PM
#2
Frenzied Member
It is impossible to do in realtime, unless you use raw assembly.
Z.
-
Jan 23rd, 2003, 12:52 PM
#3
Frenzied Member
anjulpa, your counters that apears in all your posts are loaded 3 times, making them count too much
-
Jan 24th, 2003, 03:10 AM
#4
Thread Starter
Member
Tell Me How to do it in directx
tell it in anyone of directx 7 and directx 8, i can work with anyone as long as it works
Last edited by anjulpa; Jan 24th, 2003 at 09:08 PM.
 ppl saw this
Die, ***** Die !
-
Jan 24th, 2003, 09:10 PM
#5
Thread Starter
Member
 ppl saw this
Die, ***** Die !
-
Jan 24th, 2003, 11:51 PM
#6
Frenzied Member
In Direct3D(DX8), the easiest way I can think of is to draw a large rectangle over the whole screen, colored black, with an alpha color of 0..1, where 0 is no darkening, 1 is full black.
Z.
-
Jan 25th, 2003, 10:03 AM
#7
If you want to fade out, that is. If you want to cross-fade you should take one quad textured with the first image and another textured with the second image. Have the alpha of the first at 1.0 and of the second at 0.0. For the fade you simply slowly increase the second to 1.0 while at the same decreasing the first to 0.0.
Btw you can try the same thing without DX using AlphaBlend, but there's a good chance it won't be fast enough. And it is only supported from Win2k and Win98 upwards, no WinNT or Win95.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
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
|