-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDRI & texture randomisation #160
Comments
Hi Andrew! You may have found the solution already, but for others wondering, there's two options which I found by looking at assets.py in the zpy source code. The first is setting an environment variable named ASSET pointing to a path, and following a specific folder structure which you can infer from the source code. You can print this out:
In my case on Windows, it was: then the entire path was: I downloaded some textures from polyhaven, like: and it worked. Edit: had messed up the order of the commands, fixed it |
Hi,
thank you for ZPY- loving it & just what I need- thank you..!
I've worked through the tutorials. Suzanne 3 YouTube content seems to differ from the latest Suzanne 3 python run.py on GitHub.
Youtube has a Python list of explicit texture and HDRI paths, whereas Github seems to have moved it into a function ??
To get it to work- from the documentation I though I just needed to create a \textures directory and a \hdris\1k directory in the same folder as the .blend file ??
so:
path/foo.blend
path/textures/1.jpg
path/textures/2.jpg
path/hdris/1k/a.exr
path/hdris/1k/b.exr
However- I get a bunch of errors- looks like this is not correct
I would be very grateful if you could point me in the right direction
thanks again
Andrew
The text was updated successfully, but these errors were encountered: