delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/22/03:30:56

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Speed-up Allegro polygon drawing
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <upd3lsc1kvc6gft7d65s2a0hijh8upjqe0@4ax.com>
References: <8io2gk$58cju$1 AT fu-berlin DOT de>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 27
X-Trace: /K49oFFDOIBN+FMiIh/JvBJZpVnLqZKpNMIosUiKY24JstwgW1E2BwLrnBxhPKDJB98n+5X1p3LK!gbiqkz30dDEldhCBLew8Yb+SZV4DQWi6DoewyuLZ9PGeWDRGZPaWoncglel4pNmAhTwREamQX4jX!S2Xs
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Thu, 22 Jun 2000 06:53:09 GMT
Distribution: world
Date: Thu, 22 Jun 2000 06:53:09 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 20 Jun 2000 17:25:46 +0200, "Steffen Hein"
<steffen-hein AT gmx DOT de> wrote:

>I'm drawing many perspective correct texture-mapped polygons with Allegro

One divide per pixel.

>but it gets too slow in higher modes (640x480, 800x600, ...   everything in
>256-Colors).

If it's too slow, drop perspective correction for polygons that are
reasonably close to being parallel to the screen.  This "affine"
method will produce reasonably good looking textures (if the
PlayStation can get away with it...)

>Are there any optimisation flags for Allegro/DJGPP or
>is there any other way to speed up this?

More MHz.  More money.

-- 
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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