内存有限的SVF2扩展

发布于 2025-01-27 17:55:43 字数 436 浏览 1 评论 0原文

我正在尝试在forge查看器中实现记忆限制的扩展, “>这些说明,

但是自从切换到SVF2以来,似乎扩展名似乎都在激活。 Progress Bar不会像以前那样变蓝,并且大型型号经常在移动浏览器上崩溃。内存限制功能是否仍然与SVF2兼容?如果是这样,我们如何激活它?

我的选项代码:

{
    env: "AutodeskProduction2",
    getAccessToken: _this.getForgeToken,
    api: 'streamingV2'
  }

以及我的config3d:

const config = {
loaderExtensions: { svf: 'Autodesk.MemoryLimited' },
memory: {
    limit: 1024
}

I am trying to implement the MemoryLimited extension in the Forge viewer per these instructions

But ever since the switch to SVF2, it doesn't seem like the extension is activating. The progress bar doesn't turn blue like it used to, and large models frequently crash on mobile browsers. Is the MemoryLimited feature still compatible with SVF2? And if so, how do we activate it?

My options code:

{
    env: "AutodeskProduction2",
    getAccessToken: _this.getForgeToken,
    api: 'streamingV2'
  }

And my config3d:

const config = {
loaderExtensions: { svf: 'Autodesk.MemoryLimited' },
memory: {
    limit: 1024
}

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

相对绾红妆 2025-02-03 17:55:43

不幸的是,autodesk.memorylimited扩展程序目前不支持SVF2格式。对不起,这个坏消息。

Unfortunately, the Autodesk.MemoryLimited extension doesn't support svf2 format at this moment. Sorry for the bad news.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文