Skip to content

PB-1357 : Enable depth testing for labels#1356

Merged
sami-nouidri-swisstopo merged 1 commit intodevelopfrom
bug-PB-1357-hide-3d-labels-behind-terrain
Jun 2, 2025
Merged

PB-1357 : Enable depth testing for labels#1356
sami-nouidri-swisstopo merged 1 commit intodevelopfrom
bug-PB-1357-hide-3d-labels-behind-terrain

Conversation

@sami-nouidri-swisstopo
Copy link
Contributor

@sami-nouidri-swisstopo sami-nouidri-swisstopo commented May 28, 2025

This seems to fix the issue of labels being shown despite being behind terrain. Previously, it seems we weren't doing any depth testing for labels (perhaps intentionally?) so I've enabled it back.

Before :
image

After :
image

Test link

@github-actions github-actions bot added the bug label May 28, 2025
@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the bug-PB-1357-hide-3d-labels-behind-terrain branch from 6216215 to b9ffe97 Compare May 28, 2025 10:00
@cypress
Copy link

cypress bot commented May 28, 2025

web-mapviewer    Run #5399

Run Properties:  status check passed Passed #5399  •  git commit 28193ce05e: PB-1357 : Enable depth testing for labels
Project web-mapviewer
Branch Review bug-PB-1357-hide-3d-labels-behind-terrain
Run status status check passed Passed #5399
Run duration 06m 20s
Commit git commit 28193ce05e: PB-1357 : Enable depth testing for labels
Committer Sami Nouidri
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 252
View all changes introduced in this branch ↗︎

@sami-nouidri-swisstopo sami-nouidri-swisstopo force-pushed the bug-PB-1357-hide-3d-labels-behind-terrain branch from b9ffe97 to 28193ce Compare May 28, 2025 15:43
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

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

I don't remember why I disabled that... Let's roll with what you changed, I like it better when it's on, on the "before/after" screenshot you posted.

I'm surprised with the location you selected to showcase your fix 🦅

@sami-nouidri-swisstopo
Copy link
Contributor Author

I don't remember why I disabled that... Let's roll with what you changed, I like it better when it's on, on the "before/after" screenshot you posted.

I'm surprised with the location you selected to showcase your fix 🦅

🦅🦅🦅

@sami-nouidri-swisstopo sami-nouidri-swisstopo merged commit 7d8ab02 into develop Jun 2, 2025
6 checks passed
@sami-nouidri-swisstopo sami-nouidri-swisstopo deleted the bug-PB-1357-hide-3d-labels-behind-terrain branch June 2, 2025 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants