Orthographic Camera offset on very large render

The orthographic camera is offseted when the render is very large ( 8 – 10 k wide )
As an example I run https://threejs.org/examples/webgl_interactive_cubes_ortho on a 10K and this is what I get :

Image of Yaktocat

The render is offseted on the right

But if I run https://threejs.org/examples/canvas_camera_orthographic , then the render is centered as expected :

Image of Yaktocat

The difference between those two sketches is the second one use canvas renderer.

I tried to investigate that offset thing for a day, but no result yet..

Three.js version
  • Dev
  • r87
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Author: Fantashit

1 thought on “Orthographic Camera offset on very large render

  1. I just ended up rebuilding chromium browser from sources, and extended the artificial backbuffer size limits to 16k per 16k and run a true 16k wide render
    It is running very well on beefy rigs ( installations ) and no need to tricks with double camera or reduce any renders etc..

Comments are closed.