Blender Git Commit Log

Git Commits -> Revision 31ac2e2

Revision 31ac2e2 by Lukas Stockner (master)
December 16, 2019, 03:09 (GMT)
Cycles: Fix one-tile UDIM rendering

The code checked for the presence of more than one tile before
substituting the tile number into the filename, so if a one-tile
UDIM was used (or all but one tile were culled), the substitution
was skipped and as a result the file was not found.

With this change, the code explicitly tracks whether substitution
is required, avoiding this problem.

This also fixes another problem: The Environment texture never
does substitution since it doesn't support UDIMs, but before the
syncing code still inserted the placeholder into the filename if the
user selected a tiled background image.

Commit Details:

Full Hash: 31ac2e292e5fc5d4d85d00d97645bfcb9cd4e6c2
Parent Commit: 5a97a74
Lines Changed: +17, -8

4 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+3, -2) (Diff)
/intern/cycles/blender/blender_util.h (+10, -2) (Diff)
/intern/cycles/render/nodes.cpp (+3, -4) (Diff)
/intern/cycles/render/nodes.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021