Skinning: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(18 intermediate revisions by 11 users not shown)
Line 1: Line 1:
'''Skinning''' is applying a texture to a Unwrapped model. This adds color, texture and looks to a model.
In Source, '''Skinning''' - also known as ''[[UV mapping]]'' or ''[[Texture mapping]]'' - is the process of aligning each polygon of the [[Mesh]] to a specific area of its 2D [[Skin]] - or vice versa. The resulting '''Skinning data''' or ''[[UV map]]'' is simply a pair of UV coordinates for each and every Vertex in the Mesh. The Rendering Engine uses this Mesh data and a [[Skin.vmt]] file to render the Skin's pixel-surface in 3 dimensions.


Shaders can be applied to the skin or [[Texture]]
*''Skinning'' is sometimes used to refer to linking a Mesh to its [[Skeleton]], although ''[[Enveloping]]'' is the preferred term for this.


Current Textures and Skin sizes are:
16 pixels
32 pixels
64 pixels
128 pixels
256 pixels
512 pixels
1024 pixels
2048 pixels


Example1: 512 by 512
== External links ==
Example2: 512 by 1024
* [http://www.sourceblog.org/ Sourceblog] - a great resource for tutorials and information on skinning.
Only those sizes are currently usable in hl2 engine.
* [http://www.adobe.com/products/photoshop/main.html Adobe Photoshop] - the most used program in skinning.




== Utilities ==
[[Category:Source]][[Category:Modeling]][[Category:Glossary]]
* [http://www.adobe.com/products/photoshop/main.html adobe photoshop]Most used program in skinning
 
* [http://nemesis.thewavelength.net/index.php?c=154#p154 Vtf photoshop Plugin] Great tool for photoshop users
 
* [http://nemesis.thewavelength.net/index.php?c=149#p149 VtfEdit, VtfLib]Common source tool
 
* [http://www.wunderboy.org/download.php?file=VTFTool_0.5b.zip&s=1 Vtf Tool] This tool is used for easy conversion of TGA to VTF or VTF to TGA

Latest revision as of 19:35, 8 April 2023

In Source, Skinning - also known as UV mapping or Texture mapping - is the process of aligning each polygon of the Mesh to a specific area of its 2D Skin - or vice versa. The resulting Skinning data or UV map is simply a pair of UV coordinates for each and every Vertex in the Mesh. The Rendering Engine uses this Mesh data and a Skin.vmt file to render the Skin's pixel-surface in 3 dimensions.

  • Skinning is sometimes used to refer to linking a Mesh to its Skeleton, although Enveloping is the preferred term for this.


External links

  • Sourceblog - a great resource for tutorials and information on skinning.
  • Adobe Photoshop - the most used program in skinning.