What is texture mapping Flashcards
Texture mapping
Technique to handle variations in reflectence
Stores the reflectence as a pixel based image and maps it onto the surface of the object
Texture Lookup
Used by the shader to get the colour of the texture of the shading point, and use it as the diffuse component of the lambertian shading model
Define texture
Bitmap image
2D array
Pixels of the texture –> texels
When does texture distortion occur
when care isn’t
taken to ensure that each texel area correctly corresponds to a single
pixel area,
Rasterization
Process that converts vector graphics (lines and curves) into a bitmap image.
determining which pixels should approximate the quad
Texture mapping function
function that maps from the surface to the texture that we can easily
compute for every pixel