简体   繁体   中英

Storing 3D models in Android SQLite Database

I would like to know if it is possible to store 3D objects into android SQLite Database to retrieve the object and use it. If it is possible, then may I know if there are any tutorials/ guidelines to do it? Else any other way to do it?

Thank you.

If possible, it would be best to store models as collection of numbers in a proper database structures. I didn't specify what models you mean but if they can be described by a series of numbers (as most models do), you should be able to store them this way.

A very simple example is a rectangle. A rectangle may be described by 4 parameters: (x,y) of top-left corner and (x,y) of the bottom-right corner. So your database would have 4 columns to store those values for each rectangle. Obviously, 3D models are more complicated but can be expressed using a series of numbers too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM