PDA

View Full Version : Algorithms for generating texture coords.



oswaldo
05-31-2002, 09:33 AM
Does anyone know about any algorithms for generating texture coordinates?
I know it is some kind of "philosopher's stone", but who knows about papers (or source code) describing good general-purpose coordinate generating algorithms. Something that could as well be used to assign 2D texture coords to an apple or to a spaceship. The model is supposed to be a net of triangles. Please, help.

Quaternion
05-31-2002, 12:47 PM
search for "Lapped Textures" on google.

edit: it's general-purpose though complicated.

[This message has been edited by Quaternion (edited 05-31-2002).]

LordKronos
05-31-2002, 01:10 PM
If you are looking for an algorithm to do it, sorry I can't help you. But if all you need is to generate texture coords for a model, there is a free program called LithUnwrap that does a halfway decent job. I used it for my own models.