Scripts used to handle .sbs files to generate textures on various formats, including preview files and zipped packages. Used to deliver different packages to several destinations
Find a file
2021-12-17 22:42:24 +01:00
blenderfiles Mise en place de contenu minimal pour tests 2021-12-15 23:17:13 +01:00
logo Enabling Git LFS for big files - adding png and .blend files 2021-12-15 22:18:27 +01:00
sbs Mise en place de contenu minimal pour tests 2021-12-15 23:17:13 +01:00
.gitattributes Enabling Git LFS for big files - adding png and .blend files 2021-12-15 22:18:27 +01:00
.gitignore Basic gitignore 2021-12-15 21:39:32 +01:00
global-config.mk Adding basic informations needed : paths to executables and sources, to build destinations 2021-12-17 22:42:24 +01:00
LICENSE Add LICENSE - GNU A-GPL 2021-12-15 22:21:23 +01:00
Makefile Add a variable to recognize identifiers of outputs from graphs, letting people choose any preset and file name they want as long as they indicate there the existing identifiers 2021-12-15 23:20:51 +01:00
Makefile_export Adding first batch of Makefiles 2021-12-15 21:55:20 +01:00
Makefile_previews Sending Blender logs to /dev/null - Typo corrected 2021-12-17 22:40:57 +01:00
Makefile_subformats Adding first batch of Makefiles 2021-12-15 21:55:20 +01:00
material_list.json Mise en place de contenu minimal pour tests 2021-12-15 23:17:13 +01:00
README.md Add a variable to recognize identifiers of outputs from graphs, letting people choose any preset and file name they want as long as they indicate there the existing identifiers 2021-12-15 23:20:51 +01:00

Factory to handle Substance files to distribute content

This repository use Git LFS.

Organisation of a factory

Configuration of the Makefile

The beginning of the Makefile contains all the variables and configuration needed.

Variables definitions

The very first one shouldnt be changed, as it will check the proper shell is used to execute the script.

Executables used

These are the adress of the substance automation toolkit binaries.

Sbsar files generation part

You need to define a sbs source folder where the script will check for new content. It must be indicated in the corresponding place there. Simply write either the absolute or the relative path from your Makefile script situation for the SBS_DIR variables content.

You must write down also the place where the script will write the generated sbsar.

Texturesets files

You can leave the folder indicated here, as it will be used only internally by the script to check the texturesets it handles.

Texture names possible

This variable is needed to recognize the files created as bitmaps from the substance source, it must include all the identifiers used in all the graphs, separated by a pipe and no space. It is used as regexp rule in the script.

Png files folders

Theses are the places where the script will generate the final png files. It will be the main repository used as reference to fill hereafter all the targets needed in any package needed.

You have to define also a blender file directory where you will store the files used to generate previews of texturesets. They will be handled vie the material_list.json file indicated in the following section. They will have to be organized a special way to function, see later.

The BLENDEREXEC variable is the path to the binary used to generate the preview. It must be compatible with the version used to save the renders files.

Logo file

Indicate any logo you would need as watermark in any of the content.

Destination preview folder

Where you will save the renders of the previews of each textureset generated by Blender.

Material list

The path to the json file used to manage all the metadata linked to texturesets and proper management of the content generated by the script. It must comply to a specific organisation and content to work properly.