You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the screen capture below, I reload the BIMViewer in Chrome, but do not click on the canvas. Then I resize the window. The projection and orthographic projections are receiving the updated canvas boundaries, but don't seem to result in any visual updates.
Screencast.from.12.09.2023.01.55.56.webm
However, if I click on the canvas, then subsequent window resizing does result in visual updates for the changing perspective and orthographic projections.
Screencast.from.12.09.2023.02.08.56.webm
In both cases, we see in dev tools that the Perspective matrix is being rebuilt off the new canvas size. However the image aspect ration appears unaffected. All works fine if the canvas gets clicked on, then continues to work OK.
The text was updated successfully, but these errors were encountered:
xeolabs
changed the title
Perspective & ortho projections don't seem to update for canvas size when canvas not focussed
Perspective & ortho projections don't seem to update for canvas size when canvas not focused
Sep 12, 2023
In the screen capture below, I reload the BIMViewer in Chrome, but do not click on the canvas. Then I resize the window. The projection and orthographic projections are receiving the updated canvas boundaries, but don't seem to result in any visual updates.
Screencast.from.12.09.2023.01.55.56.webm
However, if I click on the canvas, then subsequent window resizing does result in visual updates for the changing perspective and orthographic projections.
Screencast.from.12.09.2023.02.08.56.webm
In both cases, we see in dev tools that the Perspective matrix is being rebuilt off the new canvas size. However the image aspect ration appears unaffected. All works fine if the canvas gets clicked on, then continues to work OK.
The text was updated successfully, but these errors were encountered: