New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: ArrayCamera support for OrthographicCamera #15054

Open
Sythys opened this Issue Oct 14, 2018 · 8 comments

Comments

Projects
None yet
4 participants
@Sythys
Copy link

Sythys commented Oct 14, 2018

ArrayCamera only extends and only supports Perspective Cameras.

@Mugen87

This comment has been minimized.

Copy link
Collaborator

Mugen87 commented Oct 15, 2018

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

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

@Sythys Sythys closed this Oct 15, 2018

@WestLangley WestLangley reopened this Oct 15, 2018

@Sythys

This comment has been minimized.

Copy link
Author

Sythys commented Oct 15, 2018

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/

@Sythys

This comment has been minimized.

Copy link
Author

Sythys commented Oct 15, 2018

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

@Sythys Sythys changed the title Orthographic Camera Array missing Orthographic Camera Array culling offset Oct 15, 2018

@WestLangley

This comment has been minimized.

Copy link
Collaborator

WestLangley commented Oct 15, 2018

@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.

@WestLangley WestLangley changed the title Orthographic Camera Array culling offset Feature Request: ArrayCamera support for OrthographicCamera Oct 15, 2018

@mrdoob

This comment has been minimized.

Copy link
Owner

mrdoob commented Oct 15, 2018

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?

@Sythys

This comment has been minimized.

Copy link
Author

Sythys commented Oct 15, 2018

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.

@mrdoob

This comment has been minimized.

Copy link
Owner

mrdoob commented Oct 15, 2018

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

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

https://jsfiddle.net/tgqznmsy/

@Sythys

This comment has been minimized.

Copy link
Author

Sythys commented Oct 15, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment