Hello,
I've encountered a bug.
by using the following code:
<style>
@import url(../templates/bucket.css);
</style>
<div id="cesiumContainer" class="fullSize">
<button type="button" id="zoomIn" onclick="zoomIn()"></div>
<div id="loadingOverlay"><h1>Loading...</h1></div>
<script>
var viewer;
require(['Cesium'], function(Cesium) {
"use strict";
viewer = new Cesium.Viewer('cesiumContainer');
Sandcastle.finishedLoading();
});
function zoomIn(){
viewer.scene.getCamera().controller.zoomIn();
}
</script>
after zooming few times the program stopped working and gave me the next error:
An error occurred while rendering. Rendering has stopped.
DeveloperError: right must be greater than left.
Error
at new DeveloperError (http://cesiumjs.org/Cesium/Source/Core/DeveloperError.js:37:17)
at update (http://cesiumjs.org/Cesium/Source/Scene/OrthographicFrustum.js:107:23)
at OrthographicFrustum.getPixelSize (http://cesiumjs.org/Cesium/Source/Scene/OrthographicFrustum.js:295:9)
at UniformState.update (http://cesiumjs.org/Cesium/Source/Renderer/UniformState.js:263:40)
at Scene.render (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:889:12)
at CesiumWidget.render (http://cesiumjs.org/Cesium/Source/Widgets/CesiumWidget/CesiumWidget.js:542:25)
at Viewer.render (http://cesiumjs.org/Cesium/Source/Widgets/Viewer/Viewer.js:701:28)
at render (http://cesiumjs.org/Cesium/Source/Widgets/Viewer/Viewer.js:69:28)
I tried the code on the demos in the site, and also in my program, the example is an edited code i made on the cesium viewer widget demo in the sandcastle in your site.
Are you familiar with that bug?
Thanks for the help,
Gilad.