Hi there,
Just trying to add Cesium 3d tiles to the helloworld.html example (via IIS):
Hello World!
@import url(../Build/Cesium/Widgets/widgets.css);
html, body, #cesiumContainer {
width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;
}
``
Getting this error:
HelloWorld.html:24 Uncaught TypeError: Cesium.Cesium3DTileset is not a constructor
Am I missing something?
Thanks in advance,
M
Hi there,
Are you working off the 3D-tiles branch? 3D-tiles has not yet been merged with our main Cesium releases. What version are you using?
Best,
Rachel,
Where would one find the 3D-tiles branch? I was unable to find it on the main download site.
Hi Peter,
The 3d-tiles branch is here in out github repo – you can clone or download a zip here: https://github.com/AnalyticalGraphicsInc/cesium/tree/3d-tiles
Hope that helps!
Hi Rachel,
Thanks for the update. Is this branch still active? I did get a 404 error.
Cheers,
Mark
3d-tiles has been merged into master! So you can just use the master branch.
If you want to use a pre-release without building it yourself, you can use this build: http://cesium-dev.s3-website-us-east-1.amazonaws.com/cesium/master/Cesium-1.34.0-master22220.zip
Thanks! That’s good news.
M
OK, I now no longer receive an error message in the browser, however no data is rendered. I’ve attached the data should anyone like to give it a whirl?
Cheers,
M
sfu.zip (5.7 MB)
I tried loading the model but it seems like the some of the geometry has degenerate triangles and a normalization error is being thrown. Is it possible to fix up the source data?