Module: tfg.rendering.texture.texture_map

This module implements texture mapping.

Texture mapping is the process of fetching values (e.g. colors) from an image or tensor based on the (u, v) coordinates at each pixel (please see https://en.wikipedia.org/wiki/Texture_mapping for more information on texturing). You can find how the uv-coordinates map to textures exactly in the documentation of the ops.

Functions

map_texture(...): Maps the texture texture_image using uv_map.