Bake Matcher is a Blender Add-on that automates the naming of objects to match when setting them up for baking.
It works by renaming low-poly objects into a standardized naming format and then automatically finds their corresponding high-poly models in 3D space and renames them to match.
Keeping objects separated is important for preserving object data and modifiers, as well as baking by mesh name in texturing programs such as Substance Painter where each object is baked separately so that no bleed-over occurs.
Allows the user to select all objects within a selected collection, including those that are parented or within a hierarchy.
You can use this to select all of your low poly objects and high poly objects quickly and efficiently if they are organized in collections.
Bake Matcher treats all children of high-poly objects as floaters/floating geometry, so this will ensure that these also get selected when performing operations by selection.
Set as low-poly:
Renames selected objects into the specified standard naming format with automatic numbering and the "_low" suffix.
The name field underneath this button will determine the base name of your objects (Default: "Object") with numbering formatted as: "001_low", "002_low", "003_low", etc... after it.
Match Bake Objects:
Finds and renames the remaining objects to match their low-poly counterparts as high-poly objects with the "_high" suffix.
Match Bake Objects has 2 methods for comparing low-poly and high-poly objects for matching, which are Bounds Mode and Origin Mode.
- Bounds Mode: Takes a bounding box calculation of the global mesh data for each object, and then compares each corner of the bounding box with other objects to match them.
- Origin Mode: Compares the origin point of each object with other objects to match them.
Each method has its pros and cons, so you will have to decide which is the right one to use for your needs or to best suit your project.
Bounds Mode is the most automated method and will require almost no manual work, whereas Origin Mode will require some manual work to setup and troubleshoot.
The benefit of Origin Mode is that it is much faster in many cases than Bounds Mode, as Bounds Mode relies on accessing mesh data, which can be quite slow depending on the number and complexity of models that you are processing.
Both of these methods rely on a Distance value that can be defined by the user that acts as a threshold value for the matching of objects. The default value of 0.10 works well at the default Blender scale, but if you work at a larger or smaller scale, you may need to adjust this value in order to avoid conflicts.
Match Bake Objects will also account for floaters/floating geometry, which must be parented to their base high-poly object in order to be matched with the correct low-poly object.
Bake Matcher comes with Troubleshooting tools for both before and after the matching process: Detect Conflicts and Find Unmatched.
By default Bake Matcher will automatically run each process before and after the matching process respectively, which is controlled by the "Auto-Detect Conflicts" and "Auto-Find Unmatched" checkboxes.
These can be turned off to speed up the process of subsequent matching if you have ran them previously and are sure that there are no conflicts or unmatched objects.
Detect Conflicts will automatically find conflicting low-poly objects based on the current distance value and select them for the user to resolve.
You can resolve conflicting low-poly objects by adjusting the Distance value or by adjusting the origin point positions for Origin Mode. This tool is intended to be used before Match Bake Objects, as it will avoid overlap in the matching process.
Find Unmatched will find any low or high poly objects that haven't been matched to a corresponding object and select them for the user to resolve.
Objects will fail to be matched if the distance value is not large enough or if origin points have not been properly configured for Origin Mode.
Reset Selected can be used to reset the name of selected objects back to the specified naming convention without the "_low" or "_high" suffix.
An additional Origin Tools section has been included in Bake Matcher to assist with setting up matching for Origin mode.
Origin Tools includes quick access buttons for several built-in algorithms to set the origin point to the center of your objects. These include Bounds, Median, Surface, and Volume.
For setting up objects for Origin Mode matching, it is best to start by using the "Origin to Bounds" option on all of your objects, and then using the other modes to attempt to resolve any unmatched objects after that.
If none of the additional algorithms can match together the unmatched objects, it is quickest to use "Origin to Active", which will set the origin points of your selected objects to the origin point of the active object. This way you can set the origin point of your high poly object to your low poly object manually.