kovacsv / JSModeler

A JavaScript framework to create and visualize 3D models.
MIT License
648 stars 124 forks source link

Can display model from result json? #40

Open thientu995 opened 5 years ago

thientu995 commented 5 years ago

I have the idea of reading the file once, then save the json file of JSModeler, then save it on the server. At the model display I just read the results from that json file, can you help me? Because for large models it looks like JSModeler is pretty weak, or models larger than 50MB mobile devices (Mobile or tablet) are notified by the browser.

kovacsv commented 5 years ago

I think you are looking for the JSM.ConvertJSONDataToThreeMeshes function. You can find a working example here: https://github.com/kovacsv/JSModeler/blob/master/sandbox/jsonimportthree.html