Skip to content
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

Orthographic camera and small/big objects #537

Open
martinRenou opened this issue Oct 25, 2024 · 1 comment
Open

Orthographic camera and small/big objects #537

martinRenou opened this issue Oct 25, 2024 · 1 comment

Comments

@martinRenou
Copy link
Member

Currently the near and far of the orthographic camera are kept to the default values, respectively 0.1 and 2000. This means that the orthographic camera will have troubles showing objects smaller than 0.1 and bigger than 2000.

There was an attempt to use the same near and far as the perspective camera (More context in #510) but that does not seem to work. I suspect it's because the orthographic camera does not support the logarithmic depth buffer.

We should either look into how to make it work with the logarithmic depth buffer, or look into using a near and far that makes sense depending on our computed refLength

@martinRenou
Copy link
Member Author

Note that this should have been fixed already in ThreeJS mrdoob/three.js#17442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant