I have used the online converting tool of Collada2Gtlf for vizualisation of GLTF model on cesium , however it works perfectly when the gltf contains only one building but in case the gltf model contains more than one building ,it appears that the buildings are not in their correct position and orientation when displayed on cesium… even some building are flying off the ground ?
i am using the below code in order to do this
var viewer = new Cesium.Viewer(‘cesiumContainer’, {
infoBox : true,
selectionIndicator : false,
shadows: false
});
var entities = viewer.entities;
entities.add({
name : ‘Bau 1’,
position : Cesium.Cartesian3.fromDegrees(9.19959494308077, 48.7901845478478, 0),
model : {
uri : ‘…/…/SampleData/models/Random/Stockah_3bldg.glb’,
//models with “Edit” suffix are models edited using Blender so as to remove shadow artefact
}
});
var scene = viewer.scene;
viewer.zoomTo(viewer.entities);
and attached a screenshot shows what i mean .