There are 3d objects on the server, for example, a jug, a jug handle, etc.

The user can customize the object as desired, for example, attach the handle or not, turn the handle as you like, put the handle in the jug, etc.

Further it is generated on the server .obj and I in a unit it together with textures.

Next, a model is built, textures, normal map and material are created, and this is all a matter of a model.

The problem is that it all happens for a very long time (from 40 seconds and above.) I do it by mobile phone.

Is there any other way to do this (faster)?

Or all files, textures, normal maps, etc. stored in a unit, and from the server to transfer the index of the material and the location of 3D objects (for example, the location of the handle on the jug, rotation) because it can be different.

What will anyone advise?

  • 1. Do not do on mobile phones. 2. Take advantage of parallel programming. 3. Optimize all data generation cycles. 4. Why should the object be stored on the server? Usually everything is stored on the client, and the server only sends commands. - Xumera_hZ
  • I just need a mobile phone. 3. In nete found the best objLoader, there I think everything is OK with optimization. 4. This is originally a web application not related to the unit. Everything is stored there. Unity is needed for AR, which they suddenly wanted to do. As a result, I take the generated .obj, parsya and it is available in a unit for AR. Except how to optimize no options? - KoT Murchik
  • Can you do something on the server? change the format for example? or in any case obj to the input? or on the server side you can prepare the data? - Evgeny Karavashkin
  • On the server, everything is already stored and configured in .obj. But suppose if the web application is rewritten and the files are in a different format, will they also need to be parsed in a unit? But I cannot prepare in advance, because it is not known what the model will be (where, for example, the handle will be located at the cup), etc. + there is a whole list of textures with normals, etc. which can be applied to any object separately. - KoT Murchik

0