Some remarks: it would be nice to use "faded" dots, but I had no time to put a blurring algo in this. Also, the drawing operations would benefit from
using a bit more high-quality drawing engine than GDI, for instance my new pyro lib
Current demo only uses GDI, with pf8bit bitmaps and some low-level bitmap fumbling. You could optimize it surely with MMX and such.
Image here:
Source code + executable (zipped):
http://www.simdesign.nl/download/radarscreen.zip
I updated a few things:
- More comments: this is also a nice example on how to draw "flicker-free" using a paintbox
- Removed timer in favour of direct invalidating
- List frames per sec (I get 64 fps on my system when including a sleep(1)in the loop to avoid stressing the processor)
- Some minor tweaks and bugfixes.
Nils Haeck
www.simdesign.nl
