Module: tfg.rendering.texture.texture_map
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-08-09 UTC.
[null,null,["Last updated 2021-08-09 UTC."],[],[],null,["# Module: tfg.rendering.texture.texture_map\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/rendering/texture/texture_map.py) |\n\nThis module implements texture mapping.\n\nTexture mapping is the process of fetching values (e.g. colors) from an image or\ntensor based on the (u, v) coordinates at each pixel (please see\n\u003chttps://en.wikipedia.org/wiki/Texture_mapping\u003e for more information on\ntexturing). You can find how the uv-coordinates map to textures exactly in the\ndocumentation of the ops.\n\nFunctions\n---------\n\n[`map_texture(...)`](../../../tfg/rendering/texture/texture_map/map_texture): Maps the texture texture_image using uv_map."]]