1. A concise explanation of the problem you're experiencing.
the pointcloud isn't loaded and displayed
I use a tomcat-app server . I see that the json-file is parsed but I don't see a call to the pnts-files. also the jprg-files are loaded.
There isn't any error message in tomcat/google chrome developer console.
in the saNADCASTLE THE DATA IS DISPLAYED
mimetype is set in the tomcat server
2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.
I use the identical code from the sandcastle 3d-tile photogrammetry and 3d-tilespoint-cloud in my app
var structureTileset2 = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
url : ‘https://beta.cesium.com/api/assets/1458?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxYmJiNTAxOC1lOTg5LTQzN2EtODg1OC0zMWJjM2IxNGNlYmMiLCJpZCI6NDQsImFzc2V0cyI6WzE0NThdLCJpYXQiOjE0OTkyNjM4MjB9.1WKijRa-ILkmG6utrhDWX6rDgasjD7dZv-G5ZyCmkKg’
}));
showStructure2 = true;
structureTileset2.readyPromise.then(function() {
var boundingSphere = structureTileset2.boundingSphere;
viewer.camera.viewBoundingSphere(boundingSphere, new Cesium.HeadingPitchRange(0.0, -0.5, boundingSphere.radius));
viewer.camera.lookAtTransform(Cesium.Matrix4.IDENTITY);
}).otherwise(function(error) {
throw(error);
});
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
I would display the pointcloud data
4. The Cesium version you're using, your operating system and browser.
1-40, Google Chrome