SubstanceBakePrep

Overview

Quickly setup object names and material IDs for baking in Substance Painter or Designer.
blender_fuKptJ4bza

Latest release adds bake sets to work on different meshes in the same Blender scene! blender_bDpJDRZZfT

Installation

Download the latest release here

To install the add-on in Blender, follow these steps:

Preferences

Weo7b4XJ58

Scene collection

Provide possible names for the scene collections that the script recognizes for the export process. Names are separated by spaces.
Weo7basdsad4XJ58

With the default setup, you can choose between different names for the lowpoly scene collection:

Export

Choose if the exported files should be stored in the same folder as your blender scene or in a default path. You can also add the filepath of your Substance Painter executable here if you want to be able to start Substance 3D Painter directly from Blender. The path has to look something like this: C:\Program Files\Allegorithmic\Substance Painter\Substance Painter.exe
Weo7b4eawewaXJ58

Usage

Prerequisites

First, make sure that you have two collections in the scene: one for all highpoly meshes and one for all lowpoly meshes. The names of the collection are important because the script relies on the collection names to detect which objects are intended to be the highpoly and which are the lowpoly objects.
Possible collection names can be setup in the addon preferences.
hnK5udnwob
If everything is fine, you see these messages at the top of the UI and all buttons are activated:
j0whgcasdsav9E2
If not, please double check if you have the needed scene collections and they have the correct names.

Renaming

Enter the new name in the textbox, select every object in the scene you want to rename and click the Rename selected button. The Objects will then be hidden to provide a better overview of which objects still have to be renamed.
vreeEtmPTk

Hide/Unhide

Toggle visibility for every renamed mesh in the scene or just for the highpoly or lowpoly meshes.
Zlyfm9mlEP

Highpoly Colors

While the lowpoly is hidden, select different highpoly meshes and click on one of the colors to quickly assign a new color ID material to your selection.
wsZOr2PHCt

Export

Export your lowpoly and highpoly meshes. If you setup your Subtance 3D Painter path, you can also choose to start the application here.
j0whadsagcv9E2