为什么启用透明度会导致裁剪问题?

发布于 2024-08-25 14:03:58 字数 138 浏览 7 评论 0原文

我正在使用 Java 3D API 在 Java 中开发 3D 图形应用程序。我注意到每次处理透明度时,我得到的只是一些裁剪问题。场景的某些部分未正确显示。这似乎很明显会以某种方式发生,但我正在寻找一个合乎逻辑的解释,为什么会发生这种情况?

谢谢

I'm working on a 3D graphical application in Java using the Java 3D API. I noticed that every time I was dealing with transparency, all I got in return were some clipping problems. Some parts of the scene weren't displayed properly. It might seem obvious that this would happen in a certain way but I'm looking for a logical explanation, why is this happening?

Thank you

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

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

发布评论

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

评论(1

笑叹一世浮沉 2024-09-01 14:03:58

您的意思是透过窗户或树叶之间看并不能显示出应该存在的所有内容?然后深度缓冲区将远处的物体过滤掉。最简单的方法是渲染所有不透明对象,然后最后渲染所有透明对象,从后到前排序。

You mean that looking through a window or between the leaves of a tree doesn't show everything that should be there? Then the depth buffer is filtering the distant objects out. The most foolproof way to do this is to render all the opaque objects, then render all the transparent objects last, sorted back to front.

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