I use vb6. I want to generate a small 'moving' picture bitmap object. The bitmap is 50 by 10 pixel, black and white. I want to redraw the whole picture at least 10 times/second, pixel by pixel.
I tried to use PictureBox object, l used the pset method to draw the pixels. The result was very-very slow! Please HELP!!!
23-03-2003 at 08:52 AM
|
vbgen Level: Moderator Registered: 10-10-2002 Posts: 876
Re: Need faster pixel graphics
have you tried using timers to help you redraw? i'm not sure if it helps anyhow... but maybe you can try...
____________________________
Been busy trying to take a second degree <--it's not working out...
01-04-2003 at 12:29 AM
|
pet35 Level: Guest
Re: Need faster pixel graphics
Yes, I used the timer, but the weak point is the slowness of the drawing.
01-04-2003 at 09:03 PM
|
vbgen Level: Moderator Registered: 10-10-2002 Posts: 876
Re: Need faster pixel graphics
well... could you try posting your code? maybe there's another way to do it, but it would help if we can see how your trying to do this.
____________________________
Been busy trying to take a second degree <--it's not working out...