VbHacker
03-30-2004, 06:47 AM
My needs are very, very simple. I would like to use DirectX with VB.Net and fade a Jpg from a black background to 100% in a set amount of time, then, leave it there for a few seconds, and, fade it back to black. Then, load a new Jpg and repeat the process for a simple slide show.
The transition must be smooth. I would believe X can do that.
Can any one help me?
Thanks
Jon Dokken
Jon@JonDokken.com
JimCamel
03-30-2004, 11:17 PM
Have a look at alpha blending. Create a quad or triangles, put your image on it, use a black backround then just change the alpha value from 1 to 0, and it will fade out.
VbHacker
02-06-2006, 10:14 PM
After all this time, the solution was to use the AlphaBlend API call in VB5 or VB6. I tried dotNet but the hDW calls were tricky and, Net was too slow. I created a Dll and called it from the dotNet side and it works great. Not only fades to black but blends to another image and the timing between images is very flexible as well.
Thanks
Jon ...
g0ldru5h
04-10-2008, 04:12 AM
well i ve the same problem. and i ve searched through webs from more than a week. :confused:
if u succeeded in making a dll to do the blending, so i beg u 2 share the idea then. i m too stress now 2 think about other ways. thx b4.
VBitttt,
H.W.