Calculating texture coordinates for any polygon

Started by
2 comments, last by VisualLR 23 years, 11 months ago
I wrote a small program that loads .ASC files, but these files dont contain any texture information (and if they do I havent been able to make trueSpace save the file with that info), anyway, what I want to know is how can I calculate the texture coordinates for any given polygon that the .asc file may have? thanks! Luis Sempe
visual@guate.net
http://www.spheregames.com


Advertisement
you could always randomly assign them other than that i don''t know how it would be done. i''m not familiar with the .asc file format, but i know that 3ds files have texture coordinates. if your modeller can export 3ds files try writing a 3ds file loader.
http://www.inmytree.com/~roz/
Thanks, I just recently added support for ascii .DXF files, but Im going to look into .3DS, do you know where I can get any info on it?

Thanks!



Luis Sempe
visual@guate.net
http://www.spheregames.com


http://user.cs.tu-berlin.de/~digisnap/
spotlight has a 3ds fileformat description.
also check www.wotsit.org for info on 3ds as well as a lot of other 3d file formats.
http://www.inmytree.com/~roz/

This topic is closed to new replies.

Advertisement