简体   繁体   English

Forge viewer 显示异常

[英]Forge viewer Display anomaly

I have a situation where two construction models are loaded in the viewer.我有一种情况,在查看器中加载了两个构造模型。 The stair model is moved (whith placement transform) in the building model.楼梯 model 在建筑物 model 中移动(通过放置变换)。 The stair model is now obscured by the building model also behind glass elements see this gif楼梯 model 现在被建筑物 model 遮挡,也在玻璃元素后面看到这个 gif

Depending on the camera position the stair is visible again.根据相机 position,楼梯再次可见。 Viewer is 7.38.1查看器是 7.38.1

Typically, when a model is loaded, the opaque objects are rendered first and the transparent objects are rendered last.通常,当加载 model 时,首先渲染不透明对象,最后渲染透明对象。 If you are loading the first model which contains the transparent objects and then the stair model, the transparent objects might be rendering before the stair model.如果您正在加载包含透明对象的第一个 model,然后是楼梯 model,则透明对象可能在楼梯 model 之前渲染。 This might be causing this issue.这可能会导致此问题。

I would suggest trying the following: load the stair model first and then the model with the transparent objects.我建议尝试以下操作:首先加载楼梯 model,然后加载带有透明对象的 model。 If the above statement is correct, this might fix the issue.如果上面的陈述是正确的,这可能会解决问题。

In any case, It would be useful to get the repro steps for this and maybe the model assets.在任何情况下,获取重现步骤以及 model 资产都会很有用。

Last, are you using AggregatedView or are you loading the models using Viewer3D#loadModel?最后,您是使用 AggregatedView 还是使用 Viewer3D#loadModel 加载模型?

We logged the issue as LMV-5962我们将问题记录为 LMV-5962

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM