ZumoLabs / zpy

Synthetic data for computer vision. An open source toolkit using Blender and Python.
GNU General Public License v3.0
304 stars 35 forks source link

Cloud/Local asset paths #99

Closed hu-po closed 3 years ago

hu-po commented 3 years ago

This common snippet works locally but fails in headless/cloud. Can we abstract the asset path determination from the user so that it works seamlessly on both cloud and locally? image.png

hu-po commented 3 years ago

If no ASSETS environment variable is found, zpy will now use generic hdris and textures: image.png