ansys / ansys/Visual-Interactive-Simulation-Object-Renderer

[Remote rendering 4.5] Remote camera interaction end-to-end

Đang mở
#30 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
functional
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

Make rotate, pan, and zoom work against the server-side interactor: the client forwards the interaction event, the server applies it to the camera, renders, and streams the updated frame back. The stock interaction adapter doesn't reliably handle the event format the canvas emits, so a direct dispatch stands in.

Note:

In the spike, the stock vtkRemoteInteractionAdapter.ProcessEvent didn't recognize the JSON event format RemoteCanvas emits, because RemoteCanvas was emitting different event shapes (e.g. both flat {x, y} and nested {position: {x, y}} shapes.
A workaround was used in the spike, dispatching events directly to an interactor instead of going through the adapter, since it wasn't clear whether the adapter's strict behavior is intended or an upstream issue whose fix is to accept both shapes.
If a similar issue is encountered in the course of this user story, we could first check with Kitware on whether we resolve the issue by conforming RemoteCanvas to a single shape or whether the fix is on the adapter side (if it's not intended to be as strict)

### Acceptance Criteria

Rotate, pan, and zoom work in remote mode.

### 💵 Business Value

_No response_

### 🔗 Useful links and references

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by tracing the RemoteCanvas event emission and the server-side interactor path, then inspect vtkRemoteInteractionAdapter.ProcessEvent and the differing JSON event shapes described here. Confirm the intended event format or direct-dispatch approach; done means rotate, pan, and zoom work in remote mode with updated frames streamed back.

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
Lĩnh vực
computer-graphics, full-stack
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
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.