Hi,
I am creating a 3D interior home builder. I would be importing a set of meshes such as sofa, table etc., and changing it’s position, rotation and such features. I need an option to save the project so that I can open and continue later.
I planned to do this way:
- Keep track of imported meshes (the import URLs) in an array.
- While saving, get the position, materials and rotations of all imported meshes into that array.
- Store the array to database
- When retrieving, first import all the meshes from the array and then apply position, rotation and materials to each one of them.
Is this the correct approach? Or is there any other efficient way of doing so? Thanks!