enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.3k stars 285 forks source link

No contours or axes with x3d backend on Jupyter notebooks #633

Open ezatterin opened 6 years ago

ezatterin commented 6 years ago

Hi,

Regardless of the combinations of parameters I try it seems the x3d backend does not correctly display the contour3d call inline:

image

In addition to the png inline backend, the usual window and/or full envisage application works fine (also when calling them from the notebook). Any ideas of what I should do to fix it? Thanks!

prabhuramachandran commented 6 years ago

I would imagine that VTK is not generating the transparency information correctly. It will need further investigation. Mayavi is just using VTK's X3D exporter so the issue is either with VTK or X3DOM. This page has some very handy information: http://fpavogt.github.io/x3d-pathway/dices.html

ezatterin commented 6 years ago

Thanks, I'll give it a go as soon as I have some time!