Texture coordinates
From Blood Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | Texture coordinates is a part of 3D model data, storing information which is used to map texture on geometry. | + | Texture coordinates is a part of 3D model data, storing information which is used to map texture on geometry. |
− | Texture coordinates are independent from texture resolution. In Blood Omnicide, up left corner of texture is always (0, 0) and right bottom is (1, 1). | + | == UVW map stores texture coordinates == |
+ | |||
+ | UVW map is array of vertices. Each model triangle have a three corresponding vertices on UVW map, storing texture coordinate. | ||
+ | |||
+ | == Normalization == | ||
+ | |||
+ | Texture coordinates are normalized to the image size, in other words they are independent from texture resolution. In Blood Omnicide, up left corner of texture is always (0, 0) and right bottom is (1, 1). A values greater than 1 or lesser than 0 causes texture to be repeated. | ||
+ | |||
+ | == Usage == | ||
+ | |||
+ | Texture coordinates are used on mesh models and [[Patch mesh | patch meshed]]. | ||
[[brush | Brushes]] dont use texture coordinates, they are using special technique to generate texture coordinates called texture projection. | [[brush | Brushes]] dont use texture coordinates, they are using special technique to generate texture coordinates called texture projection. |
Revision as of 11:04, 20 July 2012
Texture coordinates is a part of 3D model data, storing information which is used to map texture on geometry.
Contents |
UVW map stores texture coordinates
UVW map is array of vertices. Each model triangle have a three corresponding vertices on UVW map, storing texture coordinate.
Normalization
Texture coordinates are normalized to the image size, in other words they are independent from texture resolution. In Blood Omnicide, up left corner of texture is always (0, 0) and right bottom is (1, 1). A values greater than 1 or lesser than 0 causes texture to be repeated.
Usage
Texture coordinates are used on mesh models and patch meshed.
Brushes dont use texture coordinates, they are using special technique to generate texture coordinates called texture projection.