After using context capture to generate a tileset. Tileset can be displayed in the browser by using the Apps generate from Context Capture as a web service.
But I failed to add as a tileset while try to code a new cesium app. The modelMatrx is re-computed and the viewer's globe is switch off. Still not works.
The tileset includes lots of other tiles. When I check the 'network' from chrome developer mode. I find out all json file are loaded, but none of the b3dm files are get from server.
console has no error, and the render not create any image.
The tileset looks fine. There are a couple of bugs on our end, one introduced the last release and not present in the ContextCapture viewer (#7035), and another only present if trying to edit the tileset’s model matrix to make it easier to see in Cesium (#7306).
With all the fixes described at the bottom of #7306 I eventually got a good view of the tileset using this code:
var viewer = new Cesium.Viewer(‘cesiumContainer’);
I finally see my tileset in my browser, although it looks like a space ladder.
If I upgrade the 3d-tiles-tool, the tileset could move to a flat surface?
So the reason context capture can render correctly is because they using an old stable version? If it is true, which version I can use to avoid current errors?
You can try upgrading with 3d-tiles-tools and then use the two branches mentioned at the end #7035. But it might be easier to wait until #7035 and #7306 are fixed first.
Yes Context Capture is using an old stable version. To avoid the error in #7035 you can use Cesium 1.48 or below, or wait until Cesium 1.50 is out. The error in #7306 seems to have always existed, but if you comment out the line that sets modelMatrix the tileset should load ok, it will just be at the center of the Earth and possibly upside down to start:
Anyways try this code in Cesium 1.48:
var viewer = new Cesium.Viewer(‘cesiumContainer’, {