Hello everyone!
I am having zoom issue whenever I set the camera view to a specific destination & orientation then switching it to orthographic frustum.
Here is the code that I used which causes the zoom issue that I am encountering.
First: I set the camera view using the code below:
viewer.camera.setView({
destination: position,
orientation: {
direction: direction,
up: up
}
}
);
Second: I switch the camera projection using the code below:
viewer.camera.switchToOrthographicFrustum()
Third: After zooming in once, I cannot zoom in/out anymore as shown in the gif below
Do you have any idea on how to fix the zoom issue in this case?