Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Texel (graphics)

From Wikipedia, the free encyclopedia
Fundamental unit of a texture map
Voronoi polygons for a group of texels.
Voronoipolygons for a group of texels

Incomputer graphics, atexel,texture element, ortexture pixel is the fundamental unit of atexture map.[1] Textures are represented byarrays of texels representing thetexture space, just as otherimages are represented by arrays ofpixels.

Texels can also be described byimage regions that are obtained through simple procedures such asthresholding.Voronoi tesselation can be used to define their spatial relationships—divisions are made at themidpoints between thecentroids of each texel and the centroids of every surrounding texel for the entire texture. This results in each texel centroid having aVoronoi polygon surrounding it, which consists of all points that are closer to its own texel centroid than any other centroid.[2]

Rendering

[edit]
Two different projector functions.
Two different projector functions

When texturing a 3D surface or surfaces (a process known astexture mapping), therenderer maps texels to appropriate pixels in the geometric fragment (typically a triangle) in the output picture. On modern computers, this operation is accomplished on thegraphics processing unit.

The texturing process starts with a location in space. The location can be in world space, but typically it is local to a model space so that the texture moves with the model. A projector function is applied to the location to change the location from a three-element vector ((u,v,z){\displaystyle \left(u,v,z\right)}) to a two-element ((x,y){\displaystyle \left(x,y\right)}) vector with values ranging from zero to one (uv).[3] These values are multiplied by the resolution of the texture to obtain the location of the texel. When a texel is requested that is not on aninteger position,texture filtering is applied.

When a texel is requested that is outside of the texture, one of two techniques is used: clamping or wrapping.Clamping limits the texel to the texture size, moving it to the nearest edge if it is more than the texture size.Wrapping moves the texel in increments of the texture's size to bring it back into the texture. Wrapping causes a texture to be repeated; clamping causes it to be in one spot only.

See also

[edit]

References

[edit]
  1. ^Andrew Glassner,An Introduction to Ray Tracing, San Francisco: Morgan–Kaufmann, 1989.ISBN 978-0122861604
  2. ^Linda G. Shapiro and George C. Stockman,Computer Vision, Upper Saddle River: Prentice–Hall, 2001.ISBN 978-0130307965
  3. ^Tomas Akenine-Moller,Eric Haines, and Naty Hoffman,Real-Time Rendering, Wellesley: A K Peters, 2008.ISBN 978-1568814247.
Vector graphics
2D graphics
2.5D
3D graphics
Concepts
Graphics software
Algorithms
Retrieved from "https://en.wikipedia.org/w/index.php?title=Texel_(graphics)&oldid=1299685234"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp