Importing Mesh Objects: Substance Painter's Guide

how to import a mesh object into substance painter

Adobe Substance 3D Painter allows users to texture and paint 3D meshes. To import a mesh object into Substance Painter, it is important to prepare the mesh beforehand to ensure the best results. This includes modelling the geometry to scale and ensuring that the mesh geometry is clean to avoid issues in the texturing process. Once the mesh is ready, users can open the OBJ mesh file and activate the Use UV Tile workflow. After selecting the desired options, such as the Normal Map Format, users can import the mesh into their Substance Painter project. It is worth noting that Substance Painter requires a 3D mesh to start a new project, and users cannot add new meshes to an existing project without specific workarounds.

Characteristics Values
Importing a mesh into an existing project Export your original mesh with your new mesh as one .obj or .fbx file. Go to Edit > Project Configuration and reimport from there.
Separating different meshes Use mesh fill/UV island fill to set a mask that will separate the parts you need. Add an opacity fill to the part you need to hide temporarily.
Importing OBJ in Substance Painter Open the OBJ mesh file and activate Use UV Tile workflow. Select the Preserve UV Tile layout per material and enable painting across files option. Select OpenGL as the Normal Map Format. Import all the textures in order.
Importing meshes as parts Import each piece as an individual object.
Converting a mesh to clay Meshes are defined by vertices, edges, and faces, while clay is defined by a signed distance field (SDF). Converting a mesh to clay will result in the loss of UVs and color data.
Non-manifold geometry Most 3D modelling applications have tools that will highlight or automatically clean non-manifold geometry. Modeler does not include tools to fix non-manifold geometry in imported meshes.
Modelling for import into Substance Painter Model all the geometry to scale. This ensures that lighting and reflections react realistically when creating textures.

cypaint

Modelling geometry to scale

When it comes to importing mesh objects into Substance Painter, there are several considerations to keep in mind to ensure accurate modelling and geometry scaling. Here are some detailed instructions to achieve this:

Firstly, understand the scale of the project you are working on. For example, if you are creating an architectural visualization, refer to real-world measurements. Convert measurements to the metric system (meters) to ensure consistency. In Substance Painter, you can adjust the scale by clicking and dragging the size field or using keyboard shortcuts like Control + Z and the S and X keys to scale up or down.

When importing a mesh object, ensure that you import each piece as an individual object if the mesh has multiple components. This allows for easier modification and ensures that the mesh is accurately represented in your scene. To modify an imported mesh, you can convert it to clay, which changes the underlying data structure. However, be aware that some information, such as UVs and colour data, may be lost during the conversion process.

Additionally, pay attention to non-manifold geometry, which indicates a physical impossibility in the vertex, edge, or face data. Most 3D modelling applications have tools to highlight or automatically clean up non-manifold geometry. When working with complex meshes, consider performance optimization practices to avoid slowdowns in Substance Painter.

If you are working with separate meshes, such as a body and clothes, export them together as a single FBX or OBJ file to work on them simultaneously in Substance Painter. When painting on hidden parts of a mesh, use mesh fill/UV island fill to create masks that separate the sections you need to work on. You can also add an opacity fill to temporarily hide certain parts of the mesh.

By following these steps and considerations, you can effectively import mesh objects into Substance Painter while maintaining accurate geometry scaling and optimizing your workflow.

cypaint

Exporting mesh as OBJ/FBX

When exporting a mesh as an OBJ/FBX file, it is important to note that the process may vary slightly depending on the software used. Here is a detailed guide on exporting a mesh as an OBJ/FBX file:

Before exporting, it is essential to ensure that the mesh is properly configured and optimized. This includes performing UV Unwrapping, baking mesh maps, and assigning unique IDs to different objects in the scene. Additionally, make sure that the UVs do not intersect with UDIMs, as Substance Painter will not load objects with such configurations.

When exporting the mesh, you can choose between saving it as an OBJ or FBX file. If you encounter issues with exporting as an FBX file, such as missing mesh maps or meshes, try exporting as an OBJ file instead. Some software may have specific requirements or limitations when exporting in either format.

It is important to consider the destination software for the exported mesh. For example, if you are exporting from Maya to Substance Painter, FBX files are commonly used. However, if you are exporting to Substance Painter, ensure that your UVs are properly configured, as mentioned earlier.

Additionally, be cautious when working with complex meshes or scenes with multiple objects. Exporting each piece of a complex mesh as an individual object can simplify the process. If you are working with multiple objects in the same scene, consider exporting them together as a single FBX/OBJ file, allowing you to work on them simultaneously in Substance Painter. However, for convenience and performance, you may want to separate the meshes, especially when dealing with high-resolution textures or dense meshes.

Finally, pay attention to any textures or shaders associated with the mesh. In some cases, exporting the mesh may result in lost textures or colours. To mitigate this, ensure that you export the shader as well and replug it after exporting. Always check your render settings and ensure that your destination software is properly configured to handle the imported file.

cypaint

Preparing UVs

If you are using Maya and ZBrush, there are a few different workflows you can use to prepare your UVs for Substance Painter. One method is to create your low poly model in Maya, then create a high poly model in ZBrush. Duplicate the high poly model, use Zremesher, and then use UV Master to copy the UVs of the low poly version onto the high poly version before exporting. Alternatively, you can create the UVs in Maya after retopology, or create the UVs in Maya first and then create the high poly version in ZBrush.

If you are using pre-made geometry from kit bash collections, you may encounter issues with overlapping UVs that extend beyond the typical UV tile. This can cause problems when baking maps in Substance Painter. To resolve this, you can use UVLayout to remap the various UV maps into a single UV Tile, or create a set of UDIM Tiles for export into Substance Painter. Alternatively, you can use the Blast Node to remove UV sets for other material groups, then use UV Layout to arrange each of the individual UV sets into a single UV 0-1 Tile, and finally merge the branches back into one and add a Material node.

Substance Painter also has an Auto UVs feature, which can be useful when you need to texture something quickly. However, it may result in some stretching or warping of the material. To fix this, you can switch the Projection Mode from UV Projection to Triplanar Projection, or go back to Blender and delete the UV map for the affected parts.

cypaint

Converting mesh to clay

To import a mesh object into Substance Painter, you must first convert it to clay. Here is a step-by-step guide on how to do this:

  • Open the Modeler program.
  • Navigate to the "Modeler" menu and select "Organize Your Scene" > "Import Meshes". This will allow you to import your mesh object into the scene.
  • Once your mesh is imported, select the "Select Tool".
  • With the Select Tool, click on the mesh object to select it.
  • Open the action menu by right-clicking on the selected mesh.
  • From the action menu, choose "Convert to Clay".
  • The Modeler will now begin the conversion process. Please note that this may take some time, depending on the complexity of your mesh.

Understanding Data Loss:

It is important to understand that converting a mesh to clay changes the underlying data structure. Meshes are defined by vertices, edges, and faces, while clay is defined by a Signed Distance Field (SDF). As a result, some information will be lost during the conversion:

  • UVs: Clay does not use UVs, so any UV data from the original mesh will be lost.
  • Color Data: While clay can store color data, the current conversion process will result in the loss of color information from the mesh material, such as base color textures.
  • Surface Precision: The Modeler attempts to maintain the quality of the mesh during conversion, but SDFs inherently differ from vertex and edge data, leading to some loss of surface precision.

Handling Non-Manifold Geometry:

Non-manifold geometry refers to physical impossibilities in the vertex, edge, or face data of a mesh. When converting a mesh with non-manifold geometry to clay, the Modeler may introduce inaccuracies. For example, a non-manifold sphere in Blender may appear to have a hole in it when imported into Modeler due to backface culling. While the "Smooth Tool" can help reduce the visibility of these issues, some conversion errors may not be easily fixable within Modeler.

Using the Clay Tool:

After converting your mesh to clay, you can use the Clay Tool to add clay to a layer. The Clay Tool is the primary tool for creating clay and is ideal for blocking out shapes. However, it only works on a single layer at a time, as Modeler needs to know which layer the clay is being added to. Using a large brush with the Clay Tool may impact responsiveness while the scene is updated, so consider reducing layer resolution or brush size if you experience delays.

cypaint

Adjusting project settings

When importing a mesh object into Substance Painter, there are several project settings that can be adjusted to achieve the desired results. Firstly, it is important to ensure that the mesh geometry is clean and free of any issues that may cause problems during the texturing process. This includes addressing any non-manifold geometry, such as edges that belong to more than two faces, holes in geometry, or non-watertight models.

Once the mesh is prepared, the next step is to load the mesh file into Substance Painter. This can be done by going to "File", "New", and selecting the desired mesh file. In the import settings, certain options may need to be enabled or disabled depending on the specific mesh. For example, if the FBX file does not contain any cameras, the "Import Cameras" option should be unchecked. Similarly, if the FBX file is not using any UDIM tiles, the "Create a texture set for UDIM tiles" option should be disabled.

After loading the mesh, various project settings can be adjusted according to the specific requirements of the project. One important setting is the document resolution, which can be set to the desired value, such as 2048 or 2K. Substance Painter allows for flexibility by enabling changes to the document resolution at any time during the project. Additionally, the normal map format can be kept at the default DirectX setting, or changed to another format if required.

Another setting to consider is the "Compute tangent space for fragment" option, which is specific to projects that involve exporting textures for the Unreal Engine. If textures are not being exported for the Unreal Engine, this setting can be left unchecked. Substance Painter also provides the ability to import baked content created outside of the software. However, if the integrated baker within Substance Painter is being used, there is no need to add any external maps.

It is worth noting that when working with multiple meshes or complex scenes, it is recommended to manually prepare the UVs for optimal results. This involves understanding how UVs function as instructions for applying textures to a 3D mesh, a process known as UV unwrapping. While Substance Painter offers automatic UV unwrapping tools, manual preparation often yields better outcomes. Additionally, when dealing with multiple meshes, each piece should be imported as an individual object to ensure proper configuration.

Frequently asked questions

To import a mesh object into Substance Painter, you first need to prepare your mesh. Ensure that the mesh geometry is clean to avoid issues in the texturing process. Once your mesh is ready, open the Application menu, select Import, and choose your mesh file.

If your mesh has multiple pieces, you must import each piece as an individual object.

No, you cannot add a new mesh to an existing project. However, you can export your original mesh with your new mesh as one OBJ/FBX file and then go to Edit > Project Configuration to reimport and apply changes.

Written by
Reviewed by
Share this post
Print
Did this article help you?

Leave a comment