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

Renderers and ortho projection #888

Open
reinago opened this issue Sep 24, 2021 · 0 comments
Open

Renderers and ortho projection #888

reinago opened this issue Sep 24, 2021 · 0 comments
Labels

Comments

@reinago
Copy link
Member

reinago commented Sep 24, 2021

Renderers that currently fetch intrinsics from the camera to get hold of the near plane, for example, will not work (exception) when view is set to ortho. The SphereRenderer suffers from this, for example. Solution: fetch the near plane directly
this->curCamNearClip = cam.get<core::view::Camera::NearPlane>();
as this automatically work regardless of the type of projection.

TODO: check all renderers, basically.

@straubar straubar added the bug label May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants