如何使用java3d透明度查看自己的边缘
在 Java3D 中设置对象的透明度时,我无法通过该对象看到其他对象,但也无法通过它看到该对象的几何形状。这可能吗?
(例如:我有一个透明的立方体,它的发光方式使各个面具有不同的颜色,但是,我最多只能同时看到立方体的 3 个面)
When setting an object's transparency on in Java3D, I cant see the other objects through that object but I can't see this very object geometry through it. Is that possible ?
(example: I have a transparent cube that is lit a way that the faces have different colors, however, I can only see at most 3 faces of the cube at the same time)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这可能和剔除有关系。
查看此示例: http://java.sun.com/developer/onlineTraining/ java3d/j3d_tutorial_ch2.pdf
转至第 2-42 页,第 2.6.4 节。我有一种感觉,这与此有关。
This probably has something to do with Culling.
Check out this example: http://java.sun.com/developer/onlineTraining/java3d/j3d_tutorial_ch2.pdf
Go to page 2-42, section 2.6.4. I have a feeling it has to do with that.