Hello,
In one hand I want to check this example on my own computer:
http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Box.html&label=undefined
I download the code and try to run the example but the browser throw this error “Uncaught TypeError: Cannot read property ‘ellipsoid’ of undefined”.
If I change this line “var ellipsoid = viewer.scene.globe.ellipsoid;” for this other one “var ellipsoid = viewer.centralBody.ellipsoid;”, the example work fine.
On the other hand I download the code of this example (http://cesiumjs.org/d3cesium/)) and I launched on my computer but the browser throw the same error.
if I change scene.globe for centralBody in the code the error disappear but nothing proyected on the 3D terrain globe.
¿Why these codes run fine in a web but not on my computer? ¿How can I solve the problem of the ellipsoid to run as a web example?
Best regards,
Aritz