Skip to content

Conversation

@flostellbrink
Copy link
Contributor

@flostellbrink flostellbrink commented Feb 6, 2024

For #7892

Change List

  • Update terrain extension example with tooltip
  • Detect picking render passes in terrain extension
  • Fix terrain cover invalidation

To test, start google-3d-tiles example locally:
Just the updated example: Tooltips don't work.
Updated example and fixes: Tooltips work.

@flostellbrink flostellbrink changed the title Feature/terrain drape picking TerrainExtension: Support picking on draped layers Feb 6, 2024
@flostellbrink flostellbrink force-pushed the feature/terrain-drape-picking branch 2 times, most recently from e643a0b to a6958b9 Compare February 6, 2024 15:33
This demonstrates the working picking on layers draped over terrain
cover.
The isPicking option is not passed down to this function.
Instead we can look at the current render pass.
When rendering a picking pass, the pickingFbo is updated every time.
The dirty flag refers to the rendering fbo.
Previously the dirty flag was updated on picking passes too which
sometimes led to the rendering fbo not being updated when it was still
dirty.
@felixpalmer
Copy link
Collaborator

I can confirm this works well! Thanks for a great contribution 👍

Screen.Recording.2024-02-08.at.12.32.29.mov

@Pessimistress Pessimistress merged commit 0439731 into visgl:master Feb 9, 2024
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.

3 participants