Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MiggyE

Pages: [1]
1
I'm working on a batch texture exporting javascript plugin and I was wondering if there is a way to determine which texture sets are selected for export in the "Export Textures" dialog under "Global Settings" so I only have to export the ones the user originally chose. So in the image attached I just want to know that CROUCH_Wall_Switch_1m_A is selected.


2
Hello

I've been trying to figure out how far i can automate and optimize a pipeline that would involve substance designer to author base materials for use in substance painter files. Followed by the option to bulk rearchive SBSAR files and then in turn look up the useage of the rerendered SBSAR files and reexport the SPP files within which they are found.

I've already figured out the following:
The painter files do not autmatically update if the source materials update in the shelf. I beleive it's possible to just reassign the source substance to the layers using them even via a script.
the binary data contained within the SPP files has reference to the material SBSAR files as follows:

resource://shelf/Lar_Leather_A/Leather_Material?version=d9b481d189e2307a8f2efb4c04234aa69ed2dd33.sbsar

I understand this as:
From a resource from the shelf we use the material archive Lar_Leather_A with graph Leather_Material in this layer or whatever the binary code around it means

Great I can find the archives back in an spp file, but now comes the mysterious part that might help solve the efficiency part of the conundrum in case a batch reexport has to be broken off for some reason.

A graph's entry in an SPP file it's binary data is followed by a version number of some sort
the version number does change if you change the base material archive and relink it to the layer using it.
The number is the same across multiple SPP files using the same SBSAR file. Barring that the SBSAR file didn't change in between authoring of the various files.

How is that number generated? Is there any way for me to generate it as well and use it to check if an SPP file containing the SBSAR needs a reexport before opening the SPP file.

If not generated can I querry an SBSAR with the automation tools in any way?


We are trying a similar workflow. It sounds like you are manually scanning the binary file for these references. Is that right? I was wondering if the API provided a way to query the sbsar dependencies in a .spp so we could know which .spp files to reexport when the base materials they depend on are modified?

3
We're working on integrating SAT into our material pipeline. What we'd like to do is paint meshes in Painter using a set of base materials. Then when a base material is changed we would like to reexport dependent Painter .spp files. We only want to reexport the materials from .spp files that use the modified base materials.

It looks like we can determine dependent sbs and sbsar files with SAT but how do you do it with .spp files? Is that even possible?

It also looks like SAT doesn't manage .spp files so to reexport those we would need to use a script and the Painter commandline. Is that right?

Thanks!

Pages: [1]