VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
Go Back  Xtreme Visual Basic Talk > > > > VB.Net DirectX Jpg Fade IN/Out


Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2004, 06:47 AM
VbHacker VbHacker is offline
Newcomer
 
Join Date: Mar 2004
Posts: 3
Default VB.Net DirectX Jpg Fade IN/Out


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
Reply With Quote
  #2  
Old 03-30-2004, 11:17 PM
JimCamel's Avatar
JimCamelVB.Net  DirectX  Jpg Fade IN/Out JimCamel is offline
Mostly Absent

* Expert *
 
Join Date: Jun 2002
Location: Christchurch, New Zealand
Posts: 2,006
Default

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.
__________________
Sometimes it happens feelings die, Whole years are lost in the blink of an eye
We once had it all but event conspired, Sometimes
Now that it's over, it is through, It gets me everytime I think of you
Sometimes It happens, feelings die, Sometimes
Reply With Quote
  #3  
Old 02-06-2006, 10:14 PM
VbHacker VbHacker is offline
Newcomer
 
Join Date: Mar 2004
Posts: 3
Default The Solution

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 ...
Reply With Quote
  #4  
Old 04-10-2008, 04:12 AM
g0ldru5h g0ldru5h is offline
Newcomer
 
Join Date: Apr 2008
Posts: 1
Default wanna help in reducing flicks when blending forms

well i ve the same problem. and i ve searched through webs from more than a week.
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fade in/out picture box on a form Visibleman General 0 02-20-2004 05:48 PM
Fade out a directX texture Cunny DirectX 2 11-25-2003 08:56 AM
API Fade in/out eXistenZ API 4 11-07-2003 01:26 PM
fade in/out eXistenZ Interface and Graphics 2 11-05-2003 09:55 AM
directx vb.NET error d1820 DirectX 1 07-21-2003 11:44 AM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
 
VB.Net  DirectX  Jpg Fade IN/Out
VB.Net  DirectX  Jpg Fade IN/Out
 
-->