Generate a reproducible set of numbered diagnostic PNG textures without installing a DCC, image library, fonts, or a package manager. Python 3.10+ standard library only.
This is an asset generator, not a mesh validator or a new checker-map concept. It produces clearly identified neighboring UDIM tiles, global UV corner coordinates, an eight-cell grid per UV unit, and asymmetric +U / +V arrows. Tile-specific colors help reveal wrong-tile lookup; coordinates continue across adjacent tiles. Colors deliberately change between tiles: this is not a seamless artistic texture.
Rebuild this preview in a fresh directory with python /path/to/make_overview.py; it refuses an existing overview.png.
python udim_chart.py --tiles 1001-1003,1011-1013 --size 256 --output my-charts
python -m unittest -vmy-charts must not exist, even as an empty directory or symlink; its parent must already exist. There is no overwrite or delete option. Invalid parameters fail before creating the directory. An I/O failure can leave a partial newly created directory; inspect it and choose a fresh destination on retry. No networking, shell execution, or source asset discovery occurs.
Output:
my-charts/
uv-reference.1001.png
uv-reference.1002.png
...
uv-reference.1013.png
manifest.json
--tiles: comma-separated IDs / inclusive ascending ranges; duplicates deduplicated; sorted output. Supports IDs 1001–1999, maximum 32 tiles per invocation (intentional memory/time limit, not a UDIM standard limit).--size: square pixels per tile, a multiple of 8 in 128–1024. Default 256. Eight checker cells per axis.- Manifest records UV origins, filename pattern, global cell bounds, and each PNG's SHA-256. No local paths or timestamps are embedded; same arguments produce the same bytes on the same Python/zlib implementation. Compression bytes can differ between zlib versions even with identical pixels.
- RGB PNG, no alpha or embedded ICC/gamma profile. These are visual diagnostics, not calibrated color charts.
- Generate tiles matching the mesh's occupied UDIM region. This tool does not read or unwrap the mesh.
- In a UDIM-aware image/texture input, point to
uv-reference.<UDIM>.png(adapt token syntax to your renderer). - Inspect tile labels and corner coordinates. For example, 1001 is
(0,0)to(1,1); 1002 is one tile right; 1011 is one tile up. A mirrored island reverses the arrow/text; stretching deforms grid squares. - Use a simple unlit/emission-style preview if shading makes labels hard to read. This is a suggested inspection workflow, not a validated Houdini preset.
PNG scanlines run top to bottom; the chart intentionally draws V increasing upward. The leftmost lower pixel grid row corresponds to the lowest V cell. Corner labels describe geometric boundaries, not pixel-center samples. Global cell bounds are half-open; tile 1001 covers [0,0,8,8], 1002 [8,0,16,8], and 1011 [0,8,8,16].
The repository contains six real 256px generated examples. The 14 unittest cases cover UDIM row wrapping, invalid/bounded arguments, PNG chunk CRCs, decoded scanline bytes, grid origin, deterministic generation, manifest hashes, neighboring coordinate bounds, CLI generation/retry, and preservation of existing files/directories/symlinks.
Tested with Python 3.12 on Linux. Sample image visually inspected. No Houdini/Blender/Maya/render-engine integration test was run, and no claim of actual mesh-quality detection is made. Windows/macOS execution has not been verified. Three-by-five original bitmap glyphs intentionally prioritize sharp readable labels over typography.
Existing solutions are good: UVCheckerMapGenerator uses Processing; UV-Checker-Grid provides Substance assets; Atlux offers a browser generator; BlenderAids includes configurable grid tooling. This small implementation focuses on dependency-free, batchable multi-tile identity/orientation assets with machine-verifiable coordinate manifests, not replacing full-featured design tools. All drawing code and glyph patterns here were written for this project; no competitor artwork or code is copied.
- SideFX: UDIM tile addressing: 1001 origin, ten columns per row, 1011 next row,
<UDIM>filename substitution. - SideFX: UV Layout: packing into UDIM tiles and orientation handling.
- Public discussion: remembering UDIM texture groups: a concrete naming/identification pain point, not a market-size claim.
- Claude-Code-Game-Studios: game-asset review workflow inspiration; no affiliation or upstream implementation copied.
MIT licensed. Code, original glyphs, and included generated examples may be reused under the included license. AI-assisted implementation; the listed tests were actually executed.
