From: George Lugovoy Newsgroups: comp.os.msdos.djgpp Subject: Re: problems with Allegro polygon3d_f and txtrmapping Date: Tue, 25 May 1999 10:49:57 +0000 Organization: University Internet Class Lines: 10 Message-ID: <374A8055.41C67EA6@uic.rnd.runnet.ru> References: <7i67fn$9p9$1 AT news DOT ao DOT net> NNTP-Posting-Host: walter.uic.rnd.runnet.ru Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: oberon.rnd.runnet.ru 927629393 6433 195.208.252.25 (25 May 1999 10:49:53 GMT) X-Complaints-To: usenet AT oberon DOT rnd DOT runnet DOT ru NNTP-Posting-Date: 25 May 1999 10:49:53 GMT X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 3.0-CURRENT i386) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > can anyone please tell me what is wrong with the code below. > i am trying to do txtr-mapping with allegro but i am getting > garbage when it draws the triangle. the image loads and > displays correctly but the triangle is screwed up. I had the same problem. I just stretch texture to 256x256 and texture vertices scale to 256x256. After that my program is work. Probably, this is Allegro bug. - George