Open kerkelae opened 4 years ago
When I zoom in far enough, the triangles are rendered properly.
Hi there,
I had the same issue. Note that in your second figure the rendering is not "right" -- you just zoomed in so far that you are now inside the sphere. The first image has a rendering problem with the z-order and does not display the front part of the sphere correctly.
FWIW, I realized that this seems to be a Qt
problem and switched to wx
as a toolkit which solved my problem.
Note: I had to install wx
for that (e.g. via aptitude install python3-wxgtk4.0
) and then set export ETS_TOOLKIT=wx
. Then your example from above was displayed fine.
HTH, M.
I wanted to use Mayavi for doing some simple visualizations of ellipsoids with various shapes and orientations, but the resulting surfaces have triangular holes in them. I then ran the test mesh sphere method and experienced the same problem.
I used virtualenv to create a virtual environment.
Then I executed the following in the Python console.
The results are shown below. It seems like every other triangle is not rendered.
I have Ubuntu 16.04 and the following packages in my virtual environment.
Does someone know how to fix this issue?