# Optimizing And Preparing 3D Models For Loading

Before uploading 3D models to the MyWebAR editor, you need to do several operations and check some conditions.

## **Model size correction**

The editor has a file upload limit of 50 MB.

{% hint style="warning" %}
On the Web, it is good practice to use models no larger than 20-30 MB (best is 10 MB), otherwise the user will wait forever for the scene to load.
{% endhint %}

### **How to reduce the size of an object?**

1. The easiest way is to reduce the resolution (size) of the texture. For the Web, 1024px is enough in .jpg format. A larger size will not have a big impact on the quality of the scene, but it will crucially decrease the loading speed in AR.
2. Reduce the number of polygons. This will lead to a reduction in size.
3. Another way to reduce the size is to reduce the number of keyframes.

## **Correcting errors and warnings in the model**

3D models in a web browser may work slightly differently in comparison with the software that is specially designed for them.

That’s why it’s necessary to check the models for errors before uploading them.

You may use babylonjs.com for testing your models.

![](https://3462873876-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIqwMMglOZIuMlGrpgPV1%2Fuploads%2FMEEtjSBCKjalVdPPXRBV%2Fimage.png?alt=media\&token=40c0dbfe-476e-49e1-a760-ab054032f25b)

This site allows you to check for errors and deal with them. If there are no errors, the model is considered suitable for use on the Internet.
