VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Alphablending AND Animated Gifs in DirectX

JimCamel  (9 Submissions)   DirectX   Visual Basic 5.0   Advanced   Wed 3rd February 2021

A while ago I posted some source code which allowed the loading of animated gifs into directx. A while later I wrote some code which allowed alpha blending in directx. Today, I rewrote the alpha blending code to use getlockedarray instead of pixel, which quite significantly sped the alpha blending up, and combined these 2 codes into 1. I average around 26fps without alphablending, and 24-25 with, which I think is a pretty good number, given that this is 100% vb :).
If anyone find any problems or has any ideas, feel free to email me.
Jim

Rate Alphablending AND Animated Gifs in DirectX (4(4 Vote))

Download Alphablending AND Animated Gifs in DirectX

Alphablending AND Animated Gifs in DirectX Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters