Answer the question
In order to leave comments, you need to log in
How in three.js Object3D to save to the database?
There is a scene with objects (object3D) on it - how best to save these objects in the database - their location, size and other properties. (JSON? how to convert?)
Thanks.
Answer the question
In order to leave comments, you need to log in
If sampling by individual properties is not planned, then serialize to protobuf/MessagePack/bson and store as binary data in the same form and send to the client.
If you need to make selections, then it's better to just shove the data into columns.
If you want exactly json (but why?), then it's better to take PostgreSQL where you can index json fields.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question