UV map

From Valve Developer Community
Revision as of 10:00, 5 April 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

  • Models tend to have a more complex mesh than brushes, which makes UV mapping much more fiddly. Model VTFs therefore tend to be created specially to map easily and efficiently onto one specific model only. Models may use multiple (alternative) skins, so long as the layout of each VTF corresponds to the model's UV map.
  • A model's UV map is an index specifying which area of the relevant VTFs to apply to each specific polygon of the mesh. The UV map itself does not contain any pixel values (colour, etc), it only indexes the mesh's XYZ vertices to corresponding texture UV coordinates. Each UV map is therefore specific to a mesh rather than a texture file, and so it is stored as part of the mesh file. A mesh may only have one UV map, but it can use multiple or alternate skins, so long as the layout (coordinates) of each VTF skin is the same.
  • Todo: confirm: "Texture Mapping" means "UV mapping" and a "Texture Map" is a "UV map"?