JavaFX 3D Material

Chien Yang chien.yang at oracle.com
Tue Aug 27 13:10:19 PDT 2013


Hi Kensuke,

     Both are known issues that we have tentative plan to address in FX 
8. Here are the links for you to track their status:

https://javafx-jira.kenai.com/browse/RT-29527
https://javafx-jira.kenai.com/browse/RT-28874

BTW, please note the limitation of applying opacity on Group node with 
3D transform children or 3D shapes:

      * There is a known limitation of mixing opacity < 1.0 with a 3D 
Transform.
      * Opacity/Blending is essentially a 2D image operation. The result of
      * an opacity < 1.0 set on a {@link Group} node with 3D transformed 
children
      * will cause its children to be rendered in order without Z-buffering
      * applied between those children.

Thanks,
- Chien

On 8/27/2013 1:10 AM, Kensuke Matsuzaki wrote:
> Hi,
>
> - Is there any way to set a texture WrapMode?
> Default settings are hard-coded to WrapMode.CLAMP_TO_EDGE
> in com.sun.prism.d3d.D3DResourceFactory. Can I set this to another mode?
>
> - How to add transparent TriangleMesh?
> When a scere is below
> * Scene
>    * Group
>      * MeshView
>      * MeshView
>      * MeshView
>
> "MeshView.setOpacity(0.5)" and
> "PhongMaterial.setSpecularColor(Color.rgb(30, 30, 30, 0.5))" do not
> affect,
> and "Group.setOpacity(0.5)" seems broken.
>
> Thanks in advance.
>
> Kensuke



More information about the openjfx-dev mailing list