JavaFX 3D : TriangleMesh specification questions

Chien Yang chien.yang at
Fri Feb 22 00:16:13 PST 2013

Hi August,

      Please see my reply inline.

On 2/21/2013 1:41 AM, August Lammersdorf, InteractiveMesh wrote:
> While converting 3D model importer following questions occurred :
> - Are texCoords and texCoord indices required even if no texture is 
> applied because NUM_COMPONENTS_PER_FACE is final and has a value of 6 
> (3 point indices and 3 texCoord indices per face)?

Yes, you will need to for JavaFX 8 since there is only one vertex 
format. We have plan to add more in future releases.

> - Are normals or other vertex attributes planned?


> - Is flat shading supported? Does a corresponding smoothing group 
> number exist for the faceSmoothingGroups array (like '0' in *.obj files)?

  Flat shading isn't in our plan but we may consider it if you have a 
good 3D use case. Can you elaborate your question on smoothing group number?

> - Must smoothing group numbers be consecutive and positive?

No, we didn't specify much about its restriction. It may be good to keep 
this within a small positive range. We may have to tighten later as we 
work out some of the details.

- Chien

> Thanks, August

More information about the openjfx-dev mailing list