Camera / Viewport behavior

Hi friends,

When displaying a 2D scene with ParallelProjectionOn(), the following behavior occurs :

  • When the WIDTH of the viewport is changed, the scene scale is not changed, objects stay at their current “visual size”, only the camera focal point is kept in the middle of the viewport.

  • When the HEIGHT of the viewport is changed, the “visual size” of the objects is changed.

Question : how can I keep object “visual size” the same while changing viewport HEIGHT ?

Original Size

Width increase => objects keep their visual size

Height increase => objects appear larger, and are actually cut