VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Alphablending AND Animated Gifs in DirectX

by JimCamel (9 Submissions)
Category: DirectX
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

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

Download Alphablending AND Animated Gifs in DirectX

Download Alphablending AND Animated Gifs in DirectX (59 KB)

Alphablending AND Animated Gifs in DirectX Comments

No comments have been posted about Alphablending AND Animated Gifs in DirectX. Why not be the first to post a comment about Alphablending AND Animated Gifs in DirectX.

Post your comment

Subject:
Message:
0/1000 characters