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

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

オープン
#30 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
functional
主要言語
Python
スター
0
フォーク
0
平均マージ
1日 10時間
マージ済み PR(30日)
37

説明

### 📝 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_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
computer-graphics, full-stack
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。