【问题标题】:RENDER WARNING: there is no texture bound to the unit 1 in Autodesk forge viewer渲染警告:Autodesk forge 查看器中没有绑定到单元 1 的纹理
【发布时间】:2017-07-22 10:40:25
【问题描述】:

我收到很多警告:RENDER WARNING: there is no texture bound to the unit 1

当我在模型上移动鼠标时计数会增加。我试图用谷歌搜索它,但没有找到任何相关的东西。

当我注释掉这两行(在加载几何图形后调用它们)时,我只收到 19 个警告:

    viewer.setQualityLevel(false, false);    // turn off antialiasing and shadows 
    viewer.prefs.tag('ignore-producer');    // disable lighting

可能是相关的吗?有没有办法让这两行而不是所有这些警告?

【问题讨论】:

  • 不知道如何摆脱这些,我正在与我们的开发团队核实,并会告诉你......

标签: webgl autodesk autodesk-forge autodesk-viewer


【解决方案1】:

目前无法删除该警告。当查看器 API 迁移到更高版本的 three.js 时,这可能会得到修复,这可能会在一段时间内发生。

如果这让您感到困扰,您目前最好的解决方法是在 chrome 控制台中过滤警告或使用其他浏览器,我在 firefox 中看不到这些...

【讨论】:

    猜你喜欢
    • 2016-09-29
    • 1970-01-01
    • 1970-01-01
    • 2016-12-26
    • 2020-10-27
    • 2020-08-26
    • 1970-01-01
    • 1970-01-01
    • 2020-11-18
    相关资源
    最近更新 更多