delorie.com/archives/browse.cgi | search |
From: | Paul Richards <Paul AT dunvegan1 DOT demon DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Allegro vsync stuff |
Date: | Thu, 5 Nov 1998 18:47:16 +0000 |
Organization: | Paul's house |
Message-ID: | <DfUySGA0KfQ2EwRf@dunvegan1.demon.co.uk> |
NNTP-Posting-Host: | dunvegan1.demon.co.uk |
X-NNTP-Posting-Host: | dunvegan1.demon.co.uk:193.237.111.243 |
X-Trace: | news.demon.co.uk 910291811 nnrp-05:15034 NO-IDENT dunvegan1.demon.co.uk:193.237.111.243 |
X-Complaints-To: | abuse AT demon DOT net |
MIME-Version: | 1.0 |
X-Newsreader: | Turnpike (32) Version 4.00 <5Y9PmoTxnkdx6tAFcQ+gcCx86I> |
Lines: | 16 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I have a program that simulates things and in order for it to stay accurate it needs to run at a very high frame/recalculation rate. At the moment it is recalculating everything at over 300 times per second. In each of these recalculations it redraws everything and so it looks very flickery. If I add in a vsync then the updates are too slow and the program goes mad. Is there another function that I could use so that I'll only redraw the screen when it needs to but will also keep the re-calculation rate high? -- Paul Richards EMAIL paul AT dunvegan1 DOT demon DOT co DOT uk HTTP www.dunvegan1.demon.co.uk/paul <- Still under construction ICQ# 14106503 IRC, EFNet Pauldoo QuakeWorld [DIS] Pauldoo
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |