Automated texture mapping
- by brandon
I have a set of seamless tiling textures. I want to be able to take an arbitrary model and create a UV map with these properties:
No stretching (all textures tile appropriately so there is no stretching and sheering of the texture)
The textures display on the correct axis relative to the model it's mapping to (if you look at the example, you can see some of the letters on the front are tilted, the y axis of the texture should be matching up with the y axis of the object. Some other faces have upside down letters too)
the texture is as continuous as possible on the surface of the model (if two faces are adjacent, the texture continues on the adjacent face where it left off)
the model is closed (all faces are completely enclosed by other faces)
A few notes. This mapping will occur before triangulation. I realize there are ways to do this by hand and it's probably a hard problem to automatically map textures in general, but since these textures are seamless and I just need uniform coverage it seems like an easier problem. I'm looking for an algorithmic approach to this that I can apply in general, not a tool that does it.
What approach would work for this, is there an existing one? (I assume so)