Skip to content

Comments

fix(Picking): use full scene for rendering to buffer#2679

Open
AnthonyGlt wants to merge 1 commit intoiTowns:masterfrom
AnthonyGlt:fix/2678-use-full-scene-for-picking
Open

fix(Picking): use full scene for rendering to buffer#2679
AnthonyGlt wants to merge 1 commit intoiTowns:masterfrom
AnthonyGlt:fix/2678-use-full-scene-for-picking

Conversation

@AnthonyGlt
Copy link
Contributor

@AnthonyGlt AnthonyGlt commented Jan 22, 2026

Description

Use the full scene for the rendering used in the picking

Motivation and Context

Currently the rendering is done with only the selected object. So there is no light associated, then the rendering is completely black.

cf #2678

The full scene includes the light. Then the intersect is still done with only the object

Copy link
Contributor

@Desplandis Desplandis left a comment

Choose a reason for hiding this comment

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

This is a temporary fix for #2678, we opened an issue to fix it permanently in itowns in #2682

Copy link
Contributor

@gchoqueux gchoqueux left a comment

Choose a reason for hiding this comment

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

The depth buffer is used to pick the mesh with displacement map. In itowns there are other features to pick and filter meshes.
This fix may break the other pickings — have you checked?

@AnthonyGlt
Copy link
Contributor Author

@gchoqueux I don't get what you mean sorry. Could you provide an example of what you mean ?
Thank you

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