Skip to content

Geometry picking #192

Closed
Closed

Description

@margalva

User Story Description

As a user, I want the geometry picking to behave the same between client and remote rendering configurations.

The first client-only version of VISOR has the geometry picking implemented on the client only. This needs to be extended to work on the server side as well.

Acceptance Criteria

Start VISOR in client mode. Select a part in the rendering window. The part is correctly highlighted and the corresponding part in the part list is selected.
Select multiple parts in the part list. The corresponding parts in the rendering window are highlighted.
Use the "select mode" icon in the bottom bar to change selection mode to vertices. Select a vertex. It is correctly highlighted and the XYZ is displayed. Now do the same for edges.

Repeat the same operations with the same model in remote rendering configuration. You get the same behaviors.

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. added theissue type on Oct 26, 2026
  2. added
    technical
    on Oct 26, 2026
  3. LKasianAnsys commented on Nov 5, 2026

    @LKasianAnsys
    Collaborator

    Added 5 PRs for geometry picking, in review. After these 5 PRs land, there will be a single geometry picking mechanism shared by both rendering modes. Additionally, all picking, for both parts and geometry, will go through the server.

    Server-mode geometry picking and highlighting:

    • #199: Add geometry picking for server mode

    Client-mode geometry picking: prerequisites: Sets up a data-only update path that does not rebuild the full frontend on server pushes, for when round trips are added on geometry picks in client mode. Also cleans up an inefficiency with the client-mode rebuild (which would have been harmless noise in the console, but would appear more frequently once round trips are enabled in PR 204 below).

    • #202: Queue client-mode scene updates and skip the rebuild for data-only updates.
    • #203: Reuse the rendering-mode probe connection in client mode.

    Client-mode geometry picking: implementation: Client mode uses server-side geometry picking and highlighting. Introduces round trips, which wires up the data-only server pushes from PR 202. Because VISOR's client mode still generates some WASM IDs on the browser, there was still the chance of a server push causing a crash in the browser (if the server and browser created different objects with the same ID). This also includes a fix, by bumping the browser's range to start at 2**30 upfront.

    • #204: Pick and highlight geometry through the server in client mode.

    Client-mode part picking runs through the server: Move all picking to the server, including parts. This eliminates wasm-ids being generated on the browser through part clicks, going instead through the server.

    • #210: Apply server-side part picking in client mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

technical

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions