Below is what I want to achieve. Curretnly when I use
viewer.camera.setView({
destination: Cesium.Cartesian3.fromDegrees(lon, lat, height),
orientation: {
heading: Cesium.Math.toRadians(direction), // value is 0.0 (north)
pitch: Cesium.Math.toRadians(-pitch), // 0 - straight
roll: Cesium.Math.toRadians(-roll) // 0 - horizontal
}
});
the eye point is in the center of the screen. Now, having the camera at the same position and looking at exactly same point on the ground, I would like to see more of the terrain below and right, as indicated on the screen below by blue space.
any hints please, help .....
var center = Cesium.Cartesian3.fromDegrees(-72.0, 40.0);
var heading = Cesium.Math.toRadians(50.0);
var pitch = Cesium.Math.toRadians(-20.0);
var range = 5000.0;
viewer.camera.lookAt(center, new Cesium.HeadingPitchRange(heading, pitch, range));