I have been building product configurators with Unity and Unreal Engine for almost 5 years now.
I would like to create an API service that will do the following:
- send a configuration
- combine all meshes together
- export a GLB with the textures
I also made a simple graph to illustrate the interaction:
(Pixel Streaming is a UE plugin used to stream the unreal game to the frontend, The unreal app will run on our servers)
Here is how it would work:(start from Frontend)
- User clicks SPHERE variant to change the shape of the model
- Send the current variants via WebSocket to Unreal App
- Unreal will make a POST api to the API service and send the configuration
- The CONFAPI will find the meshes, the materials and assemble everything together in a GLB
- Unreal will receive the mesh with the textures.
This way Unreal will be responsible only on vieweing a mesh and all the logic will be in the backend. Also if we want to change the ENGINE we can do it easilly without recreating the logic.
While working at this project some questions arised:
- What libraries can I use to build the mesh in the backend?
- How can I do it in a optimized and fast way, the final mesh should be lightweight to be transfered to UE.
- Are there any other services/product like this so I can take inspiration?