The issue:
I have a glTF (ver. 2.0) mesh (converted from ply
to dae
to glTF
) with triangles coordinates in EPSG:4978 that doesn't show up in Cesium (ver. 1.42).
The code:
This is the code in the main js
app:
var model = scene.primitives.add(Cesium.Model.fromGltf({
url : 'meshes/MESH_4978.gltf', // MESH_3857.gltf
show: true,
modelMatrix : Cesium.Matrix4.IDENTITY,
scale : 1.0,
debugWireframe: true
}));
The glTF file itself is well rendered here: https://gltf-viewer.donmccurdy.com/ (but the horizontal plane is vertical at start).
And I can see that the glTF file is well loaded with a Status=200
in the Firefox browser network monitor (or in Chrome).
The question:
So, where am I wrong?
Which coordinates system does Cesium use?
Other try:
I also tried with mesh coordinates in EPSG:3857; the exact same thing happens, i.e. file is loaded but nothing shows up.