JavaFX 3D Transparency

前端 未结 3 901
闹比i
闹比i 2020-12-19 06:18

I\'m looking for a way to render a transparent object in JavaFX 3D. So far, nothing. I found issue https://bugs.openjdk.java.net/browse/JDK-8090548. Is there a workaround

3条回答
  •  时光说笑
    2020-12-19 07:05

    Update

    This answer is obsolete, as of Java 8u60b14 as transparency was added to JavaFX in that build.


    As the issue you link in your question notes, transparency is not supported in JavaFX 3D for Java 8. It may be implemented for Java 9.

    There is a workaround a user mentions in comments on the issue tracker which involves a hack to the native code for the JavaFX OpenGL pipeline. If you are desperate for this functionality, you could try that hack. If that is not suitable for you, then you will need to choose a different technology.

提交回复
热议问题