Hi,
Is this possible with Substance Painter Scripting?
1) Check folder with FBX files
2) Import them one by one
3) Bake Maps
4) Texture Objects Based on Color ID Map. For instance, if Color ID has RGB(1,0,0) add Wood Material or RGB(0,1,) add Metal Material
5) Perform a rough render and save the image
The most important thing is probably the Color ID Map part. I don't want to add every material in the layer and add masking. Just add a material, if a corresponding color is in Color ID Map.
I know Python but completely oblivious to Javascript.
Before I start learning JS, is the aforementioned process possible (i.e. supported by the JS API)?
Or should I just wait for the Python version of the Substance Painter much the same way with the Python version of the Substance Designer (
https://docs.substance3d.com/sat/pysbs-python-api)?