emailhy / lib3ds

Automatically exported from code.google.com/p/lib3ds
GNU Lesser General Public License v2.1
1 stars 0 forks source link

3dsplay in 1.3.0 has switched texture coordinates? #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the call to glTexCoord2f in 3dsplay.c, it looks to me like the texture
coordinates are switched. The V coordinate is sent as the U coordinate, and
the other way around. Changing it makes 3DS models with texturing look
good, while the default/current code makes texturing look funny.

Let me know if you need an example model to see it.

Original issue reported on code.google.com by jkypr...@gmail.com on 20 Jan 2010 at 9:04