Currently, I’m trying to restore saved viewpoints in the viewer and I’m encountering a strange behavior when trying to restore saved viewpoints in the orthographic camera.
Basically what I do is:
- Set the viewer in ortho mode
- Save the viewpoint
- Restore the viewpoint
So you can see below an screen shot of the viewer at the moment that I’ve saved the viewpoint.
screen shot of the saved view point
When I reload this viewpoint I get this :
viewer when the saved viewpoint is reloaded
The difference is the zoom. When I reload the viewpoint, I got something with less zoom.
Everything works fine for perspectives cameras.
I’m reloading the view points as below :
code to restore saved view points
Can someone explains what I’m missing here ?