delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/17/23:22:37

From: Ludvig Larsson <ludvig AT club-internet DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro and dirty rectangles and fps
Date: Thu, 18 Feb 1999 04:52:21 +0100
Organization: Faas-Goldhart
Lines: 32
Message-ID: <36CB8E75.3599@club-internet.fr>
References: <Pine DOT SOL DOT 3 DOT 95 DOT 990217080711 DOT 2544A-100000 AT uxmcc8>
NNTP-Posting-Host: toulouse-camichel7-50.club-internet.fr
Mime-Version: 1.0
X-Trace: front1.grolier.fr 919309745 2449 195.36.147.50 (18 Feb 1999 03:49:05 GMT)
NNTP-Posting-Date: 18 Feb 1999 03:49:05 GMT
X-Mailer: Mozilla 3.01C-CLUB (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ismael Herrera Zamarron(MCC) wrote:
> 
> Hello, I have installed allegro and it compiled fine, I have a computer
> with an amd k6 processor 333 Mhz. with 64 M of RAM I have run rhe demo
> with diferents techniques among them dirty rectangles while double
> buffering produces 26-30 fps dirty rectangles could produce above 500 fps,
> when working with mesa in a workstation with a processor of 100 Mhz I
> recall it produces 9-11 fps. When an animation works with 24 fps it could
> be say that it emalutes real time, if it works at 30 fps it could be say
> that it emulates real time accurately, but what could be say when it works
> above 30 fps. Is this measure correct or is there some error?

Well, you need about 24 fps to get something good enough to fool
the brain, Film at cinema has a 24fps and Most european TV 25fps(IIRC).
After that, the bigger the better, with one condition, that is that the
out unit (your screen) can be able to show these higher frame rates
(most computer monitors has an update frequency of 60-80hz).
Everything also depends on what to show, a not so much moving video is
OK on 24fps, but a high speed F1 game could really benefice of 60.

BTW 500 fps for dirty rectangles is a rather useless measure as the time
consumption depends on how "dirty" the screen is.
If you aren't changing any graphics, your framerate will be both useless
and enormous.
So, I guess that for any graphic package, the fps that counts is when
the whole screen is redrawn, and then it's up to the user to use
the dirty rectangles if he only changes parts of the screen between
updates.

HTH

Ludvig Larsson

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019