Message-ID: <37DBC0DF.7A5D@ns.sympatico.ca> From: Klaas X-Mailer: Mozilla 3.04 (Win95; I) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Allegro 3D functions - won't display on right half of the screen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 14 Date: Sun, 12 Sep 1999 15:04:13 GMT NNTP-Posting-Host: 142.177.71.48 X-Complaints-To: abuse AT ns DOT sympatico DOT ca X-Trace: sapphire.mtt.net 937148653 142.177.71.48 (Sun, 12 Sep 1999 12:04:13 ADT) NNTP-Posting-Date: Sun, 12 Sep 1999 12:04:13 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 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 else in the program besides the color depth (to 16), the "view area" gets cuts in half - the cube is displayed 1/4 from the left edge of the screen, and when I apply transformations to move the cube around, it gets clipped at half the screen width. Also, this is in 800x600 screen mode, but the same problem exists in 640x480. The projection viewport is 0,0,SCREEN_W,SCREEN_H. Any help would be appreciated. -Mike