Radar Screen

Trivia and funny discussions

Radar Screen

Postby Nils Haeck » Tue Aug 29, 2006 3:01 pm

For someone in the Delphi graphics newsgroup I created a "radar screen demo".

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 :) Right now you can see the stepping on all the lines and blips.

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:
Image

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
User avatar
Nils Haeck
Site Admin
 
Posts: 953
Joined: Tue Jan 20, 2004 3:59 pm
Location: Hellevoetsluis, Netherlands

Postby john.steel » Sat Mar 17, 2007 8:32 pm

I'm interested in this but the link is broken - it it available please?
john.steel
Junior Member
 
Posts: 1
Joined: Sat Mar 17, 2007 8:29 pm

Postby Nils Haeck » Fri Oct 05, 2007 9:46 am

I've re-uploaded the demo :)

Nils
User avatar
Nils Haeck
Site Admin
 
Posts: 953
Joined: Tue Jan 20, 2004 3:59 pm
Location: Hellevoetsluis, Netherlands


Return to Coffee corner / koffiehoek

Who is online

Users browsing this forum: No registered users and 1 guest

cron