2

I have a problem that all of my LinesVisual3D are not visible, when placed after an object with semi-transparent material (lowered alpha channel). All other 3D objects are visible when placed behind, but the lines are not. What is more, when the lines partially intersect with the object, only the part that is not intersecting is visible.

Is it possible to make these lines visible?

4

1 回答 1

3

我相信这可能是 WPF 3D 如何处理不透明度的影响。我对其他 Visual3D 也有类似的问题。

看看WPF 3D 中的透明度

基本上你必须以正确的顺序添加不透明和透明的对象。最后尝试添加不透明对象。即添加您遇到问题的 LinesVisual3D,然后添加不透明度较低的东西。

Disclamer:我没有专门用 LinesVisual3D 尝试过你的场景,所以 Helix 中可能存在关于该特定视觉的错误。

于 2015-03-12T12:54:06.690 回答