Skip to content

Conversation

@munozco
Copy link

@munozco munozco commented Jun 19, 2025

These changes add support for WebXR.
This PR depends on the following VTK merge request: https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12221

The autoResize property has been added to address an issue when using an XR device. Setting it to false should prevent trame from resizing the render window on the server side based on the client component size. When autoResize is set to true, the server will match the size of the client's render window and won't fit perfectly on a VR/AR headset display.

Commit dd87cdf is unrelated but it fixed a bug I encountered when making these changes.

Cc: @LucasGandel @finetjul

@jourdain
Copy link
Collaborator

If the CI come back green, should we merge? If so, remove the draft flag.

@munozco
Copy link
Author

munozco commented Jun 26, 2025

Should I wait for the VTK WebXR MR (https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12221) to be merged to remove the draft flag ?

@jourdain
Copy link
Collaborator

We can either wait, or you could test the vtk version in start_xr (py) at runtime to make sure the xr capability is available. If not you can warn to use a newer version of vtk.

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.

2 participants