|
Blender
V3.3
|
Go to the source code of this file.
Functions | |
| void | RE_generate_texturemargin_adjacentfaces (struct ImBuf *ibuf, char *mask, int margin, struct Mesh const *me, char const *uv_layer, const float uv_offset[2]) |
| void | RE_generate_texturemargin_adjacentfaces_dm (struct ImBuf *ibuf, char *mask, int margin, struct DerivedMesh *dm, const float uv_offset[2]) |
| void RE_generate_texturemargin_adjacentfaces | ( | struct ImBuf * | ibuf, |
| char * | mask, | ||
| int | margin, | ||
| struct Mesh const * | me, | ||
| char const * | uv_layer, | ||
| const float | uv_offset[2] | ||
| ) |
Generate a margin around the textures uv islands by copying pixels from the adjacent polygon.
| ibuf | the texture image. |
| mask | pixels with a mask value of 1 are not written to. |
| margin | the size of the margin in pixels. |
| me | the mesh to use the polygons of. |
| uv_layer | The UV layer to use. |
| void RE_generate_texturemargin_adjacentfaces_dm | ( | struct ImBuf * | ibuf, |
| char * | mask, | ||
| int | margin, | ||
| struct DerivedMesh * | dm, | ||
| const float | uv_offset[2] | ||
| ) |
Definition at line 613 of file texture_margin.cc.
References blender::render::texturemargin::generate_margin(), and mask().
Referenced by bake_ibuf_filter().