3D Tiles with Multiple Cesium Viewers

I'm trying to include two cesium viewers in two different cesium containers. Each viewer has the same 3d tiles model added to it using viewer.scene.primitives.add. The issue I'm running into is that as soon as I load the html page, one of the viewers stops re-rendering when I change my camera.

So, I wind up with something like this: http://imgur.com/f5cNhok

I'm new to Cesium so I might be missing something obvious, but is there a way to have both viewers dynamically loading more detailed tiles as I zoom in?

Just to add, I'm using Chrome, Windows 10, and a Cesium version I built from the 3D tiles branch last week.

You may be encountering https://github.com/AnalyticalGraphicsInc/cesium/issues/5226. This was also fixed last week, so it could be your build is just slightly out-of-date. Try building again, but this time from master (3d-tiles was just merged in yesterday).

I just rebuilt the library from master, but now my 3D tiles model doesn't show up at all.

To clarify, if I run the code with the "Cesium" folder of the version I built last week, my model appears. But, if I switch out that folder with the "Cesium" folder from the version I built from master yesterday, no model appears.

Is this model coming from Context Capture? I wonder if this is related to https://groups.google.com/d/msg/cesium-dev/3p5XyXAzkbs/LOwd6rYdBgAJ.

If that’s not it, would you mind sending me the tileset so I can investigate? You can email me at slilley@agi.com.

Hi Sean,

It is coming from Context Capture. And based off the error I'm seeing from

tileset.readyPromise.then(function () {...}).otherwise(function (error) {console.log(error);})

it seems like it might be the issue with the geometric error not being defined in the root json file. Why did this just start to cause an issue now? It's been working fine with older versions of Cesium?

Thanks for your help.

Yup, added some lines to the root json and the model showed up! And, multiple viewers are now working.

I’m glad to hear both issues are fixed!