Comments (3)
I think I know why...
Sorry to go into the details, but the remote setup use vtk-osmesa while the local one (working) is using regular vtk.
When the scene get serialized, we have a mapping between the server objects and the vtk-js ones. And I think the issue is that we are missing a mapping when the class is from osmesa vs xlib.
So to fix that issue we will need to properly register that missing class here, but for that we would need to get the name of the missing serializable class. Which you might be able to get it you do the following locally to run with osmesa
pip uninstall vtk
pip install vtk-osmesa --extra-index-url https://wheels.vtk.org
I think by default, you should see some log either on the python side or on the client side.
If it is on the client side, you might be able to know which class name is the culprit right away without any new testing.
HTH
from pyvista.
This looks like a duplicate of #5361 although this one more linearly describes the problem.
from pyvista.
@MatthewFlamm sorry for missing that issue you mentioned. Another important part of this I forgot to add is that the MultiBlock Object[s] is actually rendered correctly when I build and host my documentation locally. It's with the remote build/hosting that the MultiBlock object[s] isn't rendered at all. I'll attach two screen captures which show what I'm talking about. I built the documentation with the same example for both local and remote.
I also was able to remotely render the PolyData + MultiBlock objects fine using Trame, and they rendered appropriately using a custom embedded viewer I made which stemmed off of VTK's OfflineLocalView Example.
Here is the pyvista-plot
directive used locally in the docs I built:
Screen.Recording.2024-03-21.at.9.27.36.AM.mov
And here is the same process done, only it's been hosted/rendered remotely.
Screen.Recording.2024-03-21.at.9.32.49.AM.mov
from pyvista.
Related Issues (20)
- How to add chinese character in my project?
- Jupyter kernel crashing when loading large files
- `download_osmnx_graph` produces a deprecation warning for the `shapely` package HOT 1
- Plotting the `download_parched_canal_4k` dataset shows the texture as a red square
- renderer.bounds iterate over a list of actors
- Tag PolyData faces HOT 4
- Interactive plot cannot be shown in Jupyter HOT 14
- axes_range is reset by simultaneous use of all_edges=True HOT 1
- Interactions with Pyvista.Plotter buttons HOT 1
- Allow fine grained control of ‘’’add_mesh_clip_plane’’’ bounding cube color, clip plane color
- Docs build time has doubled recently
- Allow docs preview to be generated even if docs build fails
- `GeoVista` integration tests are failing HOT 2
- how to render label faster
- Plotter does not render after Pandas.read_excel() is called in a Jupyter notebook HOT 16
- AMReX/BoxLib Grid Reader HOT 1
- A bug with the jupyter HOT 1
- Contour segmentation fault HOT 1
- pv.plotter.export_html Hangs when '-i' option is given to argparse in user script HOT 5
- Interactive plot with trame does not render in Jupyter HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyvista.