Akuukis / sepraisal

Analyse and compare Space Engineers blueprints - either uploaded or browse 100k+ steam workshop items.
https://spaceengineerspraisal.net
GNU General Public License v3.0
2 stars 4 forks source link

optimize generated xray images #10

Open Akuukis opened 4 years ago

Akuukis commented 4 years ago

Is your feature request related to a problem? Please describe.

XRay is essentially an matrix of values in array form. Then front-end creates a lot of many little boxes out of those 3 matrixes. That's very inefficient way to save and transfer information, considering that we don't need much accuracy for those values. Due this big blueprints run over MongoDb 16MB limit per document and fails.

Describe the solution you'd like

I'd like to generate images instead on the backend that are way smaller. Perhaps in grey scale, and then front-end can apply filters to colorize it.