Repository navigation
Feat/multi scenes - #214
Draft
MaxNumerique wants to merge 22 commits into
Draft
MaxNumerique wants to merge 22 commits into
MaxNumerique wants to merge 22 commits into
Conversation
Split VtkPipeline into the shared data side and a per-scene SceneObject render side; one render window per Scene, registered in the vtkWeb ObjectIdMap. Replace the global renderer shared object with scenes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Field data scalar modes keep each scene's array on its own mapper and leave the shared datasets' active scalars untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
create_scene, delete_scene, add_to_scene and remove_from_scene. register_* now only create the shared db pipeline, deregister_* drop the data from every scene, import_project disposes the scenes and render targets one scene. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Camera, picking, widgets, filters, ruler, preview and render RPCs require a scene_id and act on that scene only. render is per scene, basemaps_dirty is a per-scene flag and the basemap update reads the scene objects. remove_from_scene and deregistration relayout the scalar bars of the scene. Removing a data absent from a scene is a structured 404. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mesh, model and image style RPCs take a scene_id and style the scene's own render objects. Cell attributes now colour through field data, so the requested component is honoured: cell_color_map_item and polygon_attribute_item references previously showed component 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
reset_scenes (no params) disposes every scene, as delete_scene does, and keeps the data pipelines in the db. A front that connects again, after a reload or to a viewer that outlived it, starts from no scene and creates scene_1 without a conflict. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The vtkWeb publisher keeps one stale timestamp and one re-push slot for all views, so a second scene rendered right after the first never got its final image. Track both per view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The filter chain, the explode factor and the filtered blocks move from the shared VtkPipeline to a SceneFilters held by each SceneObject. A basemap drapes over the clipping and the explosion of its own scene. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…viewer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ontext Deleting a viewer dropped its mappers while another viewer's EGL context was current, so their OpenGL names were freed in that other context: on a GPU, the remaining viewer then rendered an empty image once resized. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OpenGL keeps a texture in the context of one render window: a texture shared by the viewers showed in the first one only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Registering a data no longer shows it: the base map is added to every viewer, those created later included; a detail stays in its own viewer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd again On Windows without a GPU driver, vtkRenderWindow probes a Win32 window that fails, then falls back on OSMesa. The failed probe resets the OpenGL functions the windows already created use: the first viewer crashed on its next render once a second viewer was created. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first create_viewer detected it: on Windows the GPU probe, before the OSMesa fallback, takes seconds, and three viewers starting at once went past the request timeout. The server detected it as it started before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
No description provided.