diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-06-03 13:52:09 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-06-03 15:23:23 +0300 |
commit | 284a3431aeee3e6a922d26415afcb50d0bf30b66 (patch) | |
tree | 8a385627da81b69bfd0166f94cd6cbd69391ad0a /extern | |
parent | fa5cf5360cbb93c7e607c8c616f3fffa28243359 (diff) |
Cycles: Fix rendering of packed UDIM tiles with different sizes
The packed image loader was not aware of the fact that UDIM tiles
can be of a different size.
Exposed Python API required to access this information. It has the
same complexity as the "regular" packed files: in both cases the
ImBuf will be acquired and released to access the information.
While the current workflow of packing UDIMs is not very streamlined,
it is still possible and is something what the studio is using here.
Test file:
{F13130516}
Expected behavior achieved with this patch: a bigger checker board
pattern in viewport render
Actual behavior prior to this patch: either memory corruption, or
wrong/black render result on the plane
Differential Revision: https://developer.blender.org/D15111
Diffstat (limited to 'extern')
0 files changed, 0 insertions, 0 deletions