WARP-LAB / files_3dmodelviewer

3D Model Viewer for Nextcloud
GNU Affero General Public License v3.0
31 stars 6 forks source link

Not an issue, but large over 100 M files? #24

Closed matti-owl closed 1 month ago

matti-owl commented 2 months ago

Hello,

Thank you for excellent 3D viewer, just stunning! Is there anything that I could tweak on server side to make large models load and run? Thank you in advance!

Br Matti

kroko commented 1 month ago

everything is done on the client side (browser). internet connection needs to be decent, so that 100M+ files can be moved from server to your browser though.

kroko commented 1 month ago

on second thought - what format are the models? if they are ifc, rhino, step, iges, brep then JIT serialisation in javascript runtime within browser (uses https://github.com/ThatOpen/engine_web-ifc, https://github.com/mcneel/rhino3dm and https://github.com/kovacsv/occt-import-js) could be skipped if you converted them. that would affect loading time (parsing time) and overall mem usage, but not webgl rendering capabilities. it sounds unpractical for everyday usage though, but something to consider if you want to share batch of maaany laaarge files to i.e. your clients to browse through.