StjerneIdioten / I3D-Blender-Addon

Rewriting the I3D blender addon from scratch and adding long-sought community features
GNU General Public License v3.0
66 stars 18 forks source link

Incompatibile paths for shader #214

Open LKAMinco opened 2 weeks ago

LKAMinco commented 2 weeks ago

Maybe would be nice to have some tool, that updates all sources from user fs data path to current user fs data path. -> now every shader has to be manually updated when one user send to another working file and they have different paths for data folder. Main focus on shader, textures can be packed into blendfile.

StjerneIdioten commented 2 weeks ago

This is more or less the same as #179 although I guess you are suggesting a tool instead. There is actually around 4-5 issues regarding shaders and I am currently (finally) reworking a prior pull request (#182) by @NMC-TBone. In any case handling this is the next feature coming up. I am not doing a tool, but rather a way to define "shader libraries" which are essentially just search paths to find shaders. The defaults that 99% of people are going to use is just the built-in shader library from the FS folder. The idea being that instead of having your shaders reset/not work, when sharing your blend file, you just have to tell the plugin where you keep your shaders. I've implemented most of my ideas for it at this point and it is backwards compatible with the existing files and will setup everything when the file is loaded.