Message-ID: <37DC4B53.1ED4@ns.sympatico.ca> From: Klaas X-Mailer: Mozilla 3.04 (Win95; I) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro 3D functions - won't display on right half of the screen References: <37DBC0DF DOT 7A5D AT ns DOT sympatico DOT ca> <37DBDFF3 DOT E3ECD4A9 AT btinternet DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 20 Date: Mon, 13 Sep 1999 00:55:00 GMT NNTP-Posting-Host: 142.177.88.58 X-Complaints-To: abuse AT ns DOT sympatico DOT ca X-Trace: sapphire.mtt.net 937184100 142.177.88.58 (Sun, 12 Sep 1999 21:55:00 ADT) NNTP-Posting-Date: Sun, 12 Sep 1999 21:55:00 ADT Organization: Sympatico-Subscriber To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thomas Harte wrote: > > > I built a basic rotating cube demo with the allegro polygon and matrix > > functions, but I have a problem. The cube displays as expected when in > > 8bit color (cube in center of the screen). BUT, when I change NOTHING > > Unless I am mistaken, the polygon routines are only for 8bit modes (they are > not considered very important any more), so if you are trying to use them in > 16bit mode they will be writing one pixel every 8bits, causing one screen > pixel to be made up of two calculated pixels, and hence the 'squashing' > problem. > > Try one of the add-on libraries listed on the Allegro site if you want > polygon routines for other colour depths. > > -Thomas Thanks, I'll try that. -Mike