Closed VictorAtPL closed 3 years ago
We have changed the Suzanne Part 3 example to explicitly set the $ASSETS
environment variable so it is more clear. We have also modified the default behavior of zpy.hdris.random_hdri()
and zpy.material.random_texture_mat()
to check for this environment variable and warn if it cannot find it (defaults to blendfile path). Full changes here: https://github.com/ZumoLabs/zpy/commit/00923d7e8221d74aeb81a38515d8bf9090b2ab83
Thanks for making these tickets!
Describe the bug After upgrade to 0.9.10 (using in Blender 2.91) I need to specify
ASSETS
environment variable and I need to have 'lib/hdris/1k' directory there.Otherwise I get following error being thrown:
Expected behavior Specyfing
ASSETS
env variable is optional. Mention in documentation about such env variable.Current workaround
mkdir ../assets/lib/hdris/1k
ASSETS=$(pwd)/../assets blender