Optimize your Images/Textures

Minsar cannot support textures over 2048 x 2048 pixels. Yet on a certain amount of 3D providers, Sketchfab included, 3D models often come with very large textures. These textures can reach up to 16 384 x 16 384 when they have a very high resolution. If you find yourself in this situation, here is a little tool we have developed. It will allow you to reduce your texture to a suitable size for Minsar. In the same process, it can also allow you to convert an image to a suitable format for Minasr (in this case, .png).

Install the tool on your computer

1.1. Go and download the Texture Reduction tool on GitHub. Click on "Clone or download", then "Download ZIP".



1.2. Unzip the tool somewhere on your computer. If you don't change anything, the name of the folder should be "Texture_Reduction-master".



Prepare your object

2.1. Open the Texture_Reduction-master folder. You can see a sub-folder called "Input". Double-Click on it to enter it.



You now have three folders : "Both_Convert_Reduce", "Convert_Only" and "Reduce_Only". These three folders correspond to three choices you now have. If you only want to reduce your texture without converting it, then proceed to the Reduce only section. If you only want to convert your texture without reducing it, then proceed to the Convert only section. At last, if you want to both reduce and convert your image, then proceed to the Both reduce and convert section.





Reduce only

2.2. Enter the "Reduce_Only" folder. Create a new folder with the name of your object. Let's say "cat".



2.3. In your "cat" folder, put your object and the texture you want to reduce.



Don't rename your texture

If you just want to reduce your texture and import your object in Minsar afterwards, you must not rename your texture, even if it has a different name than your object. If you rename it, the link to the texture will be broken in your 3D model, and it won't be loaded in Minsar.

2.4. Copy the image you want to reduce and paste it back into the "Reduce_Only" folder. It should be next to the three scripts.



2.5. Now, you have to choose which resolution you want for your final image. If you want your image to be maximum 2048 pixels wide, then drag and drop your image onto the "2048_Reduce_Only.bat" file. If you want it to be even smaller, then go for the "1024_Reduce_Only.bat". At last, you can choose the "512_Reduce_Only.bat". In our case, let's say we want to reduce our adorable cat to maximum 2048 pixels wide.



2.6. A console is going to appear. Just let it work until you see your texture being duplicated. Now you should have "yourtexture" and "yourtexture_old".



Refresh

On some computers you might have to refresh the explorer page in order to actually see "yourtexture" and "yourtexture_old" instead of twice "yourtexture_old".

2.7. Take a look at "yourtexture" resolution. Right-Click on it and select "Properties".



2.8. In the Properties window, go to "Details". You will see that your texture has been reduced!



Proportional reduction

In the screenshot, you can see that my texture is "2048 x 1365" and not 2048 x 2048. This is due to the fact that we designed the script to take the original ratio of your image into account. If the script had resized your texture uniformly, it would have been stretched.

2.9. Now click on your "yourtexture", and copy paste it back into the "cat" folder to replace the original one.



Your texture is now ready to be imported in Minsar along with your object!

Convert only

2.2. Enter the "Convert_Only" folder. Create a new folder with the name of your object. Let's say "cat".



2.3. In your "cat" folder, put your object and the texture you want to reduce.



2.4. Copy the image you want to reduce and paste it back into the "Convert_Only" folder. It should be next to the script.



2.5. Now just drag and drop your image on the "Convert_Only.bat".



2.6. A console is going to appear. Just let it work until you see your texture being duplicated. Now you should have "Yourtexture" with the former extension, and "Yourtexture.png".



2.7. Move your newly acquired texture back into the "cat" folder, and delete the original texture.

All right, your texture is now at the right format for Minsar. However, you cannot import it along with your object as it is. Indeed, changing the extension means we have changed the path, the true name of your texture. Consequently, the link to the texture which is encoded in your object is now broken.

In order to link the object and the texture back together, we advise you to use another one of our tools, which converts any 3D object in ".glb". The ".glb" or ".gltf" format is indeed a new, free, very powerful and convenient 3D format which is supported in Minsar. With this tool, you will get your object in .glb with the new texture packed inside.

To do that, please proceed to our Glb conversion tutorial.

Both reduce and convert

2.2. Enter the "Both_Convert_Reduce" folder. Create a new folder with the name of your object. Let's say "cat".



2.3. In your "cat" folder, put your object and the texture you want to reduce.



2.4. Copy the image you want to reduce and paste it back into the "Both_Convert_Reduce" folder. It should be next to the three scripts.



2.5. Now, you have to choose which resolution you want for your final image. If you want your image to be maximum 2048 pixels wide, then drag and drop your image onto the "2048_Both_Convert_Reduce".bat file. If you want it to be even smaller, then go for the "1024_Both_Convert_Reduce". At last, you can choose the "512_Both_Convert_Reduce". In our case, let's say we want to reduce our adorable cat to maximum 2048 pixels wide.



2.6. A console is going to appear. Just let it work until you see your texture being duplicated. Now you should have "Yourtexture" with the former extension, and "Yourtexture.png".



2.7. Take a look at "yourtexture" resolution. Right-Click on it and select "Properties".



2.8. In the Properties window, go to "Details". You will see that your texture has been reduced!



Proportional reduction

In the screenshot, you can see that my texture is "2048 x 1365" and not 2048 x 2048. This is due to the fact that we designed the script to take the original ratio of your image into account. If the script had resized your texture uniformly, it would have been stretched.

2.9. Now click on your "yourtexture", and copy paste it back into the "cat" folder. Delete the original one.

All right, your texture is now at the right format for Minsar. However, you cannot import it along with your object as it is. Indeed, changing the extension means we have changed the path, the true name of your texture. Consequently, the link to the texture which is encoded in your object is now broken.

In order to link the object and the texture back together, we advise you to use another one of our tools, which converts any 3D object in ".glb". The ".glb" or ".gltf" format is indeed a new, free, very powerful and convenient 3D format which is supported in Minsar. With this tool, you will get your object in .glb with the new texture packed inside.

To do that, please proceed to our Glb conversion tutorial.

This tutorial is now ended, thank you for following it!