ansys / ansys/Visual-Interactive-Simulation-Object-Renderer
[Remote rendering 4.2] Mode selection and remote entrypoint
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 0
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 37
Mô tả
### 📝 Description of the feature
Allow VISOR to start in either LOCAL (default) or REMOTE mode.
Backend entrypoint allowing selection of RenderingMode is already in place from 1.3 (wired to a remote stub). This builds the frontend equivalent for the first time.
On mount, the app opens a probe connection to the Trame server, reads which mode it's in and branches: for remote it keeps that connection open and hands it to the remote path rather than reopening one, for local it closes the probe and lets the local path take over. Remote mode must not initialize or download the wasm binary. Both modes serve from the same bundle.
### Acceptance Criteria
Remote mode downloads no wasm binary (no .wasm request in the network tab).
Tests pass
### 💵 Business Value
_No response_
### 🔗 Useful links and references
_No response_
Hướng dẫn đóng góp
Hướng nghiên cứu
Start at the app mount and the existing backend entrypoint for RenderingMode, then trace the Trame probe connection, remote handoff, and local wasm initialization. Run the project tests and verify that remote mode keeps the probe connection, while local mode closes it and remote mode makes no .wasm request.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python, wasm
- Lĩnh vực
- backend, frontend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 58/100