JavaFX 3D : Is FXML support for TriangleMesh available or planned?
August Lammersdorf, InteractiveMesh
sdn at interactivemesh.com
Tue Apr 9 00:55:22 PDT 2013
So, is it assumed that JavaFX 8 will not provide FXML support for
TriangleMesh and in consequence JavaFX Scene Builder will not be able to
render 3D scenes?
I'm inquisitive because I intend to write an FXML-converter/exporter
for 3D models and scenes.
August
Am Montag, den 08.04.2013, 13:32 +0200 schrieb Milan Kubec
<milan.kubec at oracle.com>:
> Hello,
> this functionality is not yet implemented in FXML.
>
> Milan
>
>
> Dne 8.4.2013 11:08, August Lammersdorf, InteractiveMesh napsal(a):
>> FXMLLoader loads following MeshView element correctly with an
>> 'empty'
>> TriangleMesh.
>>
>> How do I add elements for the primitive arrays of points, texCoords,
>> etc.?
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <?import javafx.scene.paint.*?>
>> <?import javafx.scene.shape.*?>
>>
>> <MeshView>
>> <material>
>> <PhongMaterial>
>> <diffuseColor>
>> <Color red="1.0" green="0.0" blue="0.0"/>
>> </diffuseColor>
>> </PhongMaterial>
>> </material>
>> <mesh>
>> <TriangleMesh>
>> <!-- TODO float[] points -->
>> <!-- TODO float[] texCoords -->
>> <!-- TODO int[] faces -->
>> <!-- TODO int[] faceSmoothingGroups -->
>> </TriangleMesh>
>> </mesh>
>> </MeshView>
>>
>> Thanks, August
More information about the openjfx-dev
mailing list