Repository navigation
feat: Remote rendering 4.1d: Add a SERVER rendering mode streamed through trame-rca - #183
Merged
Merged
Conversation
LKasianAnsys
force-pushed
the
feat/4.1c-render-frames-on-server
branch
from
October 26, 2026 14:15
bd6d5eb to
2ebd1e9
Compare
LKasianAnsys
force-pushed
the
feat/4.1d-add-server-rendering-mode
branch
from
October 26, 2026 14:15
26fa6a3 to
63b6e49
Compare
LKasianAnsys
marked this pull request as ready for review
October 26, 2026 17:19
LKasianAnsys
force-pushed
the
feat/4.1c-render-frames-on-server
branch
from
October 28, 2026 15:22
2ebd1e9 to
ab9cd52
Compare
LKasianAnsys
force-pushed
the
feat/4.1d-add-server-rendering-mode
branch
from
October 28, 2026 15:50
dcbce3e to
cd02891
Compare
ansBAkula
previously approved these changes
Oct 29, 2026
ansBAkula
left a comment
Collaborator
There was a problem hiding this comment.
Tested the LOCAL, sorry the CLIENT mode and no regressions observed for typical flows.
LKasianAnsys
force-pushed
the
feat/4.1d-add-server-rendering-mode
branch
from
October 29, 2026 20:38
b4d8a1a to
c16d873
Compare
margalva
approved these changes
Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Resolves #26
Context
This PR adds server-side rendering mode (RenderingMode.SERVER) streamed through trame-rca.
This adds a second way to render. The scene is rendered off-screen on the server, and the frames are streamed to the browser through trame-rca. The existing VTK-WASM path stays the default. Its mode is renamed from LOCAL to CLIENT so the two names read as a matching pair.
To avoid copying the 18 scene triggers into a second trame app, they move from LocalApp into a new shared base class, SceneTriggerApp. LocalApp and the new ServerApp both inherit from it.
Breaking change: RenderingMode.LOCAL / "local" is now RenderingMode.CLIENT / "client". The old name is not accepted any more. This affects the Python API, the REST InitProps.rendering_mode field and the CLI --rendering-mode option, though this was always the default and should have had no callers.
Changes
Rendering mode enum and defaults
Shared trigger base: app/trame/scene_trigger_app.py (new)
Server rendering pipeline (new)
Renderer / infrastructure