Forge Viewer Optimization

泪湿孤枕 提交于 2020-06-29 04:28:06

问题


When using Forge Viewer with large model and browser loads svf model, over 840 MB is transferred. On mobile devices page loading failed. Is there a possibility to load model partly?


回答1:


See here to load a model partially - in a nutshell you'd need to pass the nodes' IDs (dbids) in when loading the model like below:

const options = { ids:[1,2,3 ...] }
viewer.start/loadModel/loadDocumentNode(document,geometry,options)


来源:https://stackoverflow.com/questions/62257573/forge-viewer-optimization

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!