Zoom does not work with Orthographic Camera

Example Babylon.js Playground

When I use the scroll-wheel nothing happens.

If I disable the orthographic camera mode zoom works.

This is because the orthographic camera does not have radius. It only use the camera.orthoXXX to define the size of rendering.

As the camera is orthographic and not perspective, there is no such notion of distance anymore

1 Like

Thanks now I get it.

If I’m not mistaken, the orthographic camera does have a radius which also determines the near and far clipping behavior, but changing the radius, i.e. the distance from the observed object doesn’t change its size in an orthographic view. That’s why you don’t see the expected “size change” effect.

1 Like