Skip to content

Fix 3D rubber band with globe (and large scenes) #61400

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

Merged
merged 4 commits into from
Apr 11, 2025

Conversation

wonder-sk
Copy link
Member

The individual 3D entities need QgsGeoTransform attached so they work well with origin changes.

We also need to handle altitude clamping with geocentric coordinates differently, because the assumption that Z coordinates means altitude does not hold anymore. Full support is left as a TODO for future implementation (when dealing with vector layers in globe).

Also, polygon entity of 3D rubber band will need improvements in tessellator, so that it can handle origin with non-zero Z coordinates - also left as a TODO for later when dealing with vector layers in globe.

The individual 3D entities need QgsGeoTransform attached so they
work well with origin changes.

We also need to handle altitude clamping with geocentric coordinates
differently, because the assumption that Z coordinates means altitude
does not hold anymore. Full support is left as a TODO for future
implementation (when dealing with vector layers in globe).

Also, polygon entity of 3D rubber band will need improvements in tessellator,
so that it can handle origin with non-zero Z coordinates - also left
as a TODO for later when dealing with vector layers in globe.
@wonder-sk wonder-sk added the 3D Relates to QGIS' 3D engine or rendering label Apr 9, 2025
@github-actions github-actions bot added this to the 3.44.0 milestone Apr 9, 2025
Copy link

github-actions bot commented Apr 9, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit a61dfd8)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit a61dfd8)

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
Copy link
Contributor

@uclaros uclaros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!!

@nyalldawson nyalldawson merged commit b422501 into qgis:master Apr 11, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3D Relates to QGIS' 3D engine or rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants