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

Fix pointcloud node subdivision for orthographic projections #2242

Merged
merged 3 commits into from
Dec 20, 2023

Conversation

Desplandis
Copy link
Contributor

Description

For now, point cloud layer's screen-space error (SSE) calculation is only valid for perspective cameras. This causes issues when using an orthographic camera (e.g. #2232: point cloud not updating).

This PR fixes two issues:

  • do not compute point attenuation when using an orthographic projection
  • add a new way to compute SSE when using an orthographic projection

Related issues

closes #2232

@Desplandis
Copy link
Contributor Author

@Pourfex Does rebasing/cherry-picking on this PR fix your issue?

@Pourfex
Copy link
Contributor

Pourfex commented Dec 20, 2023

@Pourfex Does rebasing/cherry-picking on this PR fix your issue?

Perfect ! Work like a charm. Thanks for your quick resolve

@Desplandis Desplandis merged commit d46cd44 into iTowns:master Dec 20, 2023
7 checks passed
@Desplandis Desplandis deleted the qb/issue/2232-pointcloud-ortho branch December 20, 2023 10:48
@Desplandis Desplandis self-assigned this Dec 20, 2023
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

Successfully merging this pull request may close these issues.

Orthographic Camera & Point Cloud - Point cloud not updating
3 participants