Texture Coordinates and Image Samples

A texture coordinate maps a surface point to a position in an image or other sampled table. A convention establishes orientation and extent.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace one normalized coordinate
  2. Choose the edge mode

Trace one normalized coordinate

In a simple normalized layout, u=0.5 selects a location halfway across the texture before filtering. It can lie between sample centers. Nearest-neighbor resampling describes one selection rule.

Choose the edge mode

A location outside the unit interval can be clamped, repeated, or handled by a declared border rule. Remainder arithmetic provides the basic wrap idea for repeating discrete patterns.[1]

References

  1. Matt Pharr, Wenzel Jakob and Greg Humphreys, Physically Based Rendering ↩