Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export x3d with multiple panels #772

Closed
cabaker7 opened this issue Dec 28, 2022 · 1 comment
Closed

export x3d with multiple panels #772

cabaker7 opened this issue Dec 28, 2022 · 1 comment

Comments

@cabaker7
Copy link

Congrats on an awesome library.
I've set up a 3-panel Plotter instance and would like to export it to x3d and html for interaction within a browser.

plt = vedo.Plotter(N=3, bg='blackboard')
plt.at(0).show(vol1, bg='black')
plt.at(1).show(vol2, bg='black')
plt.at(2).show(vol3, bg='black')
plt.export(filename='test.x3d', binary=False)
plt.interactive().close()

The plotter appears fine in Windows, with three panels displaying the desired meshes vol1, vol2, and vol3.
The exported x3d file is rendered in the browser with the appropriate dimensions for 3 panels, but only vol1 appears, in the center of the scene. I expected the entire output of the Plotter object to show up.

  <x3d width='1706px' height='568px'>
     <scene>
        <Inline url="test.x3d"> </Inline>
     </scene>
  </x3d>

Any ideas? Is multiple panel x3d rendering supported by vtk?

@marcomusy
Copy link
Owner

Hi @cabaker7 thanks!
Unfortunately I believe it is not supported by the upstream vtk..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants