UV Export: add option to export UV tiles #104940

Merged
Damien Picard merged 4 commits from pioverfour/blender-addons:dp_export_uv_udim into main 2023-10-09 22:32:24 +02:00

4 Commits

Author SHA1 Message Date
Damien Picard 15902b2918 Do not export negative tiles 2023-10-09 15:26:12 +02:00
Damien Picard aca4e34fb9 Format 2023-10-09 14:13:48 +02:00
Damien Picard 688f388cae Address review
- Tweak enum items
- Add a check for UVs at the edge of a tile

Also sort tiles before export so they are exported in a predictable
order.
2023-10-09 12:00:18 +02:00
Damien Picard bcfb804811 UV Export: add option to export UV tiles
Tiles can now be exported, with either the UDIM or UV numbering
scheme.

Exporters for PNG, SVG and EPS were updated. The vector formats simply
offset the view, so all UVs can end up being exported multiple times.

Only tiles containing UV points will be exported. In theory, this may
result in some polygons being ignored, if they cross a whole otherwise
empty tile, but this should not happen in practice.

Fixes #74325
2023-10-08 23:50:33 +02:00