Custom SP Exporter
![](https://static.wixstatic.com/media/bd49bc_567209d3c0b44e498789641e0241ba27f000.jpg/v1/fill/w_812,h_487,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/bd49bc_567209d3c0b44e498789641e0241ba27f000.jpg)
Project Overview
Functionality
This is a custom texture exporter for Substance Painter.
-
Naming validation for the texture sets to manage consistency with names and storing locations
-
Exporting textures with limited resolution according to the type we assigned
-
Automatically export to the folders according to diffrent types of textures
![sp3.png](https://static.wixstatic.com/media/bd49bc_2d7b08bd6fdf4d2f87ea447f12339b4f~mv2.png/v1/fill/w_337,h_215,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/sp3.png)
Custom Exporter
Naming Validation
Check the naming convention of each texture, assign textures to different Types, and different folders.
Highlight and select all the textures of current type.
![Sp1.png](https://static.wixstatic.com/media/bd49bc_37f89fbf455e4ab480dcb22cfdbad2a0~mv2.png/v1/fill/w_336,h_215,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Sp1.png)
Character Texture Automatic Validation
![sp2.png](https://static.wixstatic.com/media/bd49bc_bc2d21f62af24eb2a0d5381bbc20062e~mv2.png/v1/fill/w_337,h_215,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/sp2.png)
Weapon Texture Automatic Validation
![](https://static.wixstatic.com/media/bd49bc_54b1c990af834de1b67ade4048f8f56df000.jpg/v1/fill/w_720,h_405,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/bd49bc_54b1c990af834de1b67ade4048f8f56df000.jpg)
Naming Validation
Code for Naming Validation
Resolution Validation
Exporter verifies that everyone who’s exporting the data from Painter is following the specified texture resolution budget and prevents any slipped-through high-res textures usage on the project.
![](https://static.wixstatic.com/media/bd49bc_d015a2e86e8742249a588933fab1c77ff000.jpg/v1/fill/w_720,h_405,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/bd49bc_d015a2e86e8742249a588933fab1c77ff000.jpg)
Resolution Validation
Code for Naming Validation
Exporter
Export different textures to different folders according its own type.
![](https://static.wixstatic.com/media/bd49bc_3946f2b4b8224f4197cf0ae03d45bbf3f000.jpg/v1/fill/w_720,h_405,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/bd49bc_3946f2b4b8224f4197cf0ae03d45bbf3f000.jpg)
Automatic Exportation for Textures
Code for Naming Validation
Screenshots
![sp2](https://static.wixstatic.com/media/bd49bc_cc28185fb1a04b8898bef8a89bedfcec~mv2.png/v1/fill/w_742,h_472,al_c,q_85,enc_avif,quality_auto/bd49bc_cc28185fb1a04b8898bef8a89bedfcec~mv2.png)
![sp4](https://static.wixstatic.com/media/bd49bc_f4764e6a57254497a45a4a4d43b2a0ac~mv2.png/v1/fill/w_753,h_497,al_c,q_90,enc_avif,quality_auto/bd49bc_f4764e6a57254497a45a4a4d43b2a0ac~mv2.png)
![sp3](https://static.wixstatic.com/media/bd49bc_d77c15d5cc254f0e9c9524e14364d66d~mv2.png/v1/fill/w_747,h_476,al_c,q_85,enc_avif,quality_auto/bd49bc_d77c15d5cc254f0e9c9524e14364d66d~mv2.png)
![sp2](https://static.wixstatic.com/media/bd49bc_cc28185fb1a04b8898bef8a89bedfcec~mv2.png/v1/fill/w_742,h_472,al_c,q_85,enc_avif,quality_auto/bd49bc_cc28185fb1a04b8898bef8a89bedfcec~mv2.png)