delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/25/20:50:22

From: George Lugovoy <glugovoy AT uic DOT rnd DOT runnet DOT ru>
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
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

- Raw text -


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