Three.js: Feature Request: ArrayCamera support for OrthographicCamera

Created on 14 Oct 2018  路  8Comments  路  Source: mrdoob/three.js

ArrayCamera only extends and only supports Perspective Cameras.

Enhancement

Most helpful comment

I see... For the time being, you should be able to increase the ArrayCamera fov.

camera.fov = 100;
camera.updateProjectionMatrix();

https://jsfiddle.net/tgqznmsy/

All 8 comments

It seems you can still use it with THREE.OrthographicCamera.

https://jsfiddle.net/f2Lommf5/15231/

It is not missing but i did'nt got it runnig because the culling is off and i could not see my scene:
https://jsfiddle.net/f2Lommf5/15245/

Did I configure somthing wrong? or is there a bug witch causes this?

@Sythys Sorry, this is not a help site. Please use the forum, instead.

We can leave this open as a feature request for ArrayCamera to support OrthographicCamera.

Yeah, currently ArrayCamera extends PerspectiveCamera and uses it for culling the objects being rendered by the sub-cameras.

Out of curiosity... what's your use case?

I want to loop a 2d Game scene on its edges. I dont want to duplicate the Objects. as any Object peaks the right boarder it should show up on the left. To create this effect i would have layered 9 cameras on top of each other to cover every edge and corner.

I see... For the time being, you should be able to increase the ArrayCamera fov.

camera.fov = 100;
camera.updateProjectionMatrix();

https://jsfiddle.net/tgqznmsy/

Thank you very much. This fixes my issue. :D

Was this page helpful?
0 / 5 - 0 ratings