UV: Improve UV Packing efficiency with non-square aspect ratio #105784

Merged
Chris Blackbourn merged 3 commits from Chris_Blackbourn/blender:uv-pack-aspect-ratio into main 2023-03-15 21:29:43 +01:00

3 Commits

Author SHA1 Message Date
Chris Blackbourn 442fafbd7b UV: Improve UV Packing efficiency with non-square aspect ratio
Improve pre-conditioning of UV Islands before passing them to the
UV Packing API.
2023-03-16 09:09:34 +13:00
Chris Blackbourn 9f7ae89e5c UV: Improve UV Packing efficiency with non-square aspect ratio
Improve pre-conditioning of UV Islands before passing them to the
UV Packing API.
2023-03-15 23:18:15 +13:00
Chris Blackbourn 6b6b3261e5 UV: Improve UV Packer for non-square aspect ratios.
When packing UVs on non-square materials, care must be taken when
rotating to maintain the original aspect ratio.

In this change:
 * Improve packing efficiency on non-square materials.
 * Add aspect ratio in UV Packing API.
 * Add output angle to UV Packing API for future use.
2023-03-15 18:52:28 +13:00