UV map: Difference between revisions
Jump to navigation
Jump to search

Note: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.
Thunder4ik (talk | contribs) m (→See also: clean up, replaced: See Also → See also) |
Thunder4ik (talk | contribs) m (→top: Unicodifying) |
||
Line 2: | Line 2: | ||
{{stub}} | {{stub}} | ||
A | A '''UV map''' is a part of an object's geometry. It defines which areas (using UV coordinates) of a 2D pixelmap should be rendered on which polygonal surfaces (using XYZ coordinates) of a particular 3D mesh. A UV map does not contain any pixel data (eg color, etc). It is only a matrix relating 2D to 3D coordinates. | ||
Materials apply the pixel data of each VTF (base map, normal map, specular mask) to same UV area of the model. Therefor the model's material can easily be changed without having to create additional UV maps. | Materials apply the pixel data of each VTF (base map, normal map, specular mask) to same UV area of the model. Therefor the model's material can easily be changed without having to create additional UV maps. | ||
{{note|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 | {{note|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.}} | ||
'''UV Mapping''', or '''Texture Mapping''', is the process of ''aligning'' Polygons to Pixels. | '''UV Mapping''', or '''Texture Mapping''', is the process of ''aligning'' Polygons to Pixels. | ||
* To UV map [[Model]]s use [[XSI Texturing|XSI Texture Editor]] (or [[model editor|equivalent]]). | * To UV map [[Model]]s use [[XSI Texturing|XSI Texture Editor]] (or [[model editor|equivalent]]). | ||
* To UV map [[Brushes]] use [[Hammer Face Edit Dialog]] (and the [[ | * To UV map [[Brushes]] use [[Hammer Face Edit Dialog]] (and the [[Hammer Face Edit Disps#Paint Alpha|Paint Alpha Dialog]] for blending Materials on Displacements). | ||
* To UV map [[Decals]] use [[Hammer Decal Tool]]. | * To UV map [[Decals]] use [[Hammer Decal Tool]]. | ||
* To UV map [[Overlays]] use [[Hammer Overlay Tool]]. | * To UV map [[Overlays]] use [[Hammer Overlay Tool]]. |
Revision as of 15:06, 7 January 2024


A UV map is a part of an object's geometry. It defines which areas (using UV coordinates) of a 2D pixelmap should be rendered on which polygonal surfaces (using XYZ coordinates) of a particular 3D mesh. A UV map does not contain any pixel data (eg color, etc). It is only a matrix relating 2D to 3D coordinates.
Materials apply the pixel data of each VTF (base map, normal map, specular mask) to same UV area of the model. Therefor the model's material can easily be changed without having to create additional UV maps.

UV Mapping, or Texture Mapping, is the process of aligning Polygons to Pixels.
- To UV map Models use XSI Texture Editor (or equivalent).
- To UV map Brushes use Hammer Face Edit Dialog (and the Paint Alpha Dialog for blending Materials on Displacements).
- To UV map Decals use Hammer Decal Tool.
- To UV map Overlays use Hammer Overlay Tool.
- Valve Material Type files can also specify UV mapping adjustments for each VTF seperately, via the $basetexturetransform, $bumptransform, etc VMT parameters. (Todo: confirm: this only works for VMTs applied to Brushes, not to Models?)
See also
- wikipedia:UV mapping and wikipedia:Texture mapping for the theory.
- The layout of a complex Model Skin is comparable to a wikipedia:Texture atlas.
- wikipedia:UVW mapping (used in 3DS Max only?)