FX8 3D : FXML MeshView support, b87 tests

August Lammersdorf, InteractiveMesh sdn at interactivemesh.com
Sat May 4 10:05:04 PDT 2013


 Tests of several 3D models exported as FXML and loaded with FXMLLoader 
 were successful: 
 http://www.interactivemesh.org/models/jfx3dfxmlmodels.html.

 I would like to refer to my proposal for replacing comma ',' with space 
 ' ' to separate array elements, see 
 https://javafx-jira.kenai.com/browse/RT-29577.

 b87 :
 <TriangleMesh>
  <points>0.417955,-1.36119,0.410087,0.428521,-1.36048,0.402939,...
  <texCoords>0.926885,0.927854,0.927854,0.48715502,0.928377,0.489886,...
  <faces>0,0,1,1,2,2,2,2,1,1,3,3,4,4,5,5,6,6,6,6,5,5,3,3,7,7,8,8,9,9,...
  <faceSmoothingGroups>1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,...
 </TriangleMesh>

 proposal :
 <TriangleMesh>
  <points>0.417955 -1.36119 0.410087 0.428521 -1.36048 0.402939 ...
  <texCoords>0.926885 0.927854 0.927854 0.48715502 0.928377 0.489886 ...
  <faces>0 0 1 1 2 2 2 2 1 1 3 3 4 4 5 5 6 6 6 6 5 5 3 3 7 7 8 8 9 9 ...
  <faceSmoothingGroups>1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
 </TriangleMesh>

 I still advocate the latter approach.

 Thanks, August


More information about the openjfx-dev mailing list