Forge Viewer 中选择的透明突出显示 [英] Transparent Highlight of Selection in Forge Viewer

查看:28
本文介绍了Forge Viewer 中选择的透明突出显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Forge Viewer 显示我们选择的对象的方式发生了一些变化.首先,当我们选择一个窗口时,它会保持透明,并且只用默认或给定的颜色突出显示.现在,使用默认或给定颜色将窗口呈现为不透明:

Something has changed in the way the Forge Viewer is displaying our selected objects. First when we selected a window it would stay transparent, and was only highlighted with the default or given color. Right now the windows are rendered non-transparent with the default or given color:

这只发生在第一次选择时,第一个选择的对象将保持不透明,直到您平移/缩放场景或放大 (F) 另一个对象:

This only happens at the first selection, the first selected object will stay non-transparent until you pan/zoom the scene or Zoom in (F) on another object:

我已经尝试了每个选择:

I already tried on every selection:

viewer.impl.invalidate(true);

这会将预先选择的对象重置为其原始透明材质,但每次选择的对象都会以不透明的方式突出显示.

This will reset the pre-selected object to his original transparent material, but the selected object will be highlighted un-transparent every time.

我在这里不使用自定义选择,这只是默认行为.有什么建议吗?

I do not use a custom selection here, this is just default behaviour. Any advice?

推荐答案

此问题已在 Viewer 6.4 版中修复.目前我们在 7 版中,如果问题仍然存在,请告诉我,但现在应该好了.

This issue was fixed in the Viewer version 6.4 Currently we are at version 7 let me know if the problem persists but should be good to go now.

这篇关于Forge Viewer 中选择的透明突出显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆