Poly-Haven / polyhavenassets

A Blender add-on to integrate our assets natively in the asset browser
GNU General Public License v3.0
299 stars 17 forks source link

Asset Library folder structure #9

Open displayerror opened 2 years ago

displayerror commented 2 years ago

Is it possible to have the downloaded Asset Library organised into their corresponding HDRIs\Models\Textures folders? I would like to use the HDRIs with other addons (such as Gaffer) or other external tools - but when adding the PolyHaven resource folder path, everything is parsed including normalmaps/textures etc. since it's all in one folder. Okay thanks!

gregzaal commented 2 years ago

That's a good idea. Unfortunately right now the structure of library/slug/{files} is hard coded in many places, and it's not going to be trivial to change that to library/type/slug/{files} while still supporting the old structure at the same time.

I'll think about it some more.

mikdmst1 commented 1 year ago

изображение this categories was created manually? dony see them in my blender

gregzaal commented 1 year ago

@mikdmst1 If you have a separate issue to report please create a separate report.

mikdmst1 commented 1 year ago

@mikdmst1 If you have a separate issue to report please create a separate report.

no separate, its same "adding folder/category structure" enhancement whish, sorry :)

gregzaal commented 5 months ago

I would still like to implement this (separating assets into subfolders for each type), though right now I thought of a way to improve Gaffer's compatibility by simply ignoring the textures subfolder which contains all the pbr textures for models and materials. All the HDRI files are simply in the root folder for each asset, not a textures subfolder, so this way they are still detected and we don't accidentally include normal maps and such :) This is in Gaffer's master branch now and will be part of the next release.