I'd like to use the default studio light hdris in a script. I was going to create a custom path based of bpy.app.binary_path
and then I realized that the storage location varies per operating system:
- [WIN] -
C:\Program Files\Blender Foundation\Blender <version>\<version>\Datafiles\Studiolights\World\
- [OSX] -
/Applications/Blender/Contents/Resources/<version>/Datafiles/Studiolights/World/
- [Linux] -
/opt/Blender <version>/<version>/Datafiles/Studiolights/World/
Q: Is there any way to get the filepaths of all the images in the world folder without hardcoding the folder paths?