JavaFX 3D Material

Kensuke Matsuzaki knsk.mtzk at gmail.com
Tue Aug 27 01:10:21 PDT 2013


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