Previous | Next --- Slide 44 of 70
Back to Lecture Thumbnails
cche

I think another use of texture mapping is environment mapping to create a light source.

Qwerty

Are u and v values evenly distributed in the texture space?

motoole2

@Qwerty (U,V) coordinates are used to sample a 2D buffer of RGBA values (your texture map), and the values of U and V typically range from 0 to 1. These (U,V) coordinates are "evenly distributed" in the sense that the texels are represented by a uniform grid of points.

That being said, the relationship between vertices and (U,V) coordinates is completely up to you! In fact, each triangle in the mesh on the left corresponds to one of the triangles shown on the right-hand side. And clearly, we can see that these triangles have all sorts of shapes and sizes. So when applying the texture map to an object, the texture might not be sampled uniformly.