Optimizing And Preparing 3D Models For Loading
Last updated
Last updated
Before uploading 3D models to the MyWebAR editor, you need to do several operations and check some conditions.
The editor has a file upload limit of 50 MB.
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.
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.
Reduce the number of polygons. This will lead to a reduction in size.
Another way to reduce the size is to reduce the number of keyframes.
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.
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.