W
WE
Hi, I was hoping someone might help me.
I have developed code that generates 1000+ small objects on the
screen. These are, for example, simple circles with small radii. A
circle with zero radii is a single pixel. The objects move abount on
the screen at various speeds.
In the simplese case I have a single red pixel moving across the
screen with a white background. What I have done is that:
1) I place the red pixel on the screen at position x.
2) I then place a white pixel at x and a red pixel at x+1.
In this manner the red dot moves across the screen. Now with 1000
objects on the screen the objects seem to flicker and there is no
smooth progression from state x to state x+1.
I am using VC++ Windows GDI. I guess the MS GDI is half my problem. Is
there an optimal approach to this?
Many thanks
I have developed code that generates 1000+ small objects on the
screen. These are, for example, simple circles with small radii. A
circle with zero radii is a single pixel. The objects move abount on
the screen at various speeds.
In the simplese case I have a single red pixel moving across the
screen with a white background. What I have done is that:
1) I place the red pixel on the screen at position x.
2) I then place a white pixel at x and a red pixel at x+1.
In this manner the red dot moves across the screen. Now with 1000
objects on the screen the objects seem to flicker and there is no
smooth progression from state x to state x+1.
I am using VC++ Windows GDI. I guess the MS GDI is half my problem. Is
there an optimal approach to this?
Many thanks