Skip to content

Geometry pick in CLIENT mode syncs whole dataset to browser. #251

In review

Description

@LKasianAnsys

User Story Description

As a user of VISOR in CLIENT mode, I would like geometry picking to be performant.

Currently, a geometry pick (edge, vertex, face) in CLIENT mode syncs the whole dataset to the browser every time. When the dataset is small, the latency is not noticeable, but the latency increases as the dataset size increases.

For example, when picking an edge of a 2048-resolution sphere, it takes 12 seconds every time, which happens to be the same amount of time it takes to load the scene in the first place. Performance logging shows the dataset blobs are being transferred each time.

Acceptance Criteria

A geometry pick in CLIENT mode does not send the whole dataset to the browser.

Additional Links

No response

Requires new or update to third party ? If "yes" add the name(s) and the version(s) of the Third Party Software.

No

Name and Version for Third Parties

No response

Activity

  1. self-assigned this
    on Nov 27, 2026
  2. LKasianAnsys commented on Nov 27, 2026

    @LKasianAnsys
    CollaboratorAuthor

    Tracked this down to a vtk-wasm bug that is now fixed in 3.0.3. An upgrade to 3.x is a nontrivial upgrade (we are on 1.7.3), so instead of doing the upgrade here, as a workaround we can copy the eviction rule they added, which first checks whether a blob is in use before deciding to re-fetch it from the server (which was what was happening).

    Will add more detail in the PR description, and will add a separate user story to track upgrading to 3.x which is the real fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions