api-issue-tracker
api-issue-tracker copied to clipboard
Safe frames (Camera#aspect_ratio) do not work with Two Point Perspective and Parallel Projection
This behavior is true for all sketchup versions (2021 and below) This behavior is true for both mac and windows
When toggling "save frames" on via a command like the one below, SketchUp will display an area of the viewport with desired aspect ratio. This feature is meant to achieve two goals.
- Give the user a clear idea of how their model is going to appear when used with 3rd party visualization tools
- Ensure this output is the same when opened on another instance of sketchup (with a different viewport aspect ratio)
The second is not being achieved in the following circumstances a) when the camera is parallel projection and the viewport aspect ratio is less than the safe frame aspect ratio (horizontal bars) b) when the camera is two point perspective and there is a 2d offset (Camera#center_2d achieved by panning after switching to two point perspective)
Sketchup.active_model.active_view.camera.aspect_ratio = 1
The following file contains 3 scenes, all with safe frames enabled. The first is perspective and works fine. The second is parallel. Resize the sketchup window such that the safe frame bars appear top and bottom and watch Sumelle slide to the left. The third is two point perspective. Resize in any direction and watch Sumelle fall out of view
This is a big problem four users that have multiple people working on the same file, as render output can not be guaranteed.
Logged as: SKEXT-3038
Is there any update on this? Any plans to prioritise it?