Hi everyone !
I've just noticed that when the rendering canvas size is quite big, above a certain size the 3D drawing area is suddenly cropped (to half the size of the rendering canvas, it seems).
If you lower the width of the canvas, the height limit increases, and vice versa. And a strange fact: critical values are different depending on the context.
Here are some cases (on my computer, values may differ on yours)
- On a simple web page:
3500px x 1024px : ok
3500px x 1025px (and above) : cropped
3637px x 1024px : ok
3638px (and above) x 1024px : cropped
I tried to reproduce that on the PG, and the values are not the same:
3500px x 2368px : ok
3500px x 2369px (and above) : cropped
3536px x 2368px : ok
3537px (and above) x 2368px : cropped
The width around 3500 is an arbitrary value, you can put quite more if height is low enough (and vice versa).
I don't know if the values will be different on your devices, but you can test that with this PG : http://www.babylonjs-playground.com/#17HUVT#1
Is it expected behavior or a bug ?