[Python-apps-team] Bug#487853: mayavi2: visualization glitch when using the SelectOutput filter

Francesco Poli frx at firenze.linux.it
Tue Jun 24 14:51:47 UTC 2008

Package: mayavi2
Version: 2.1.1-5
Severity: normal


As a consequence to bug #478359, the SelectOutput filter was
added to mayavi2 (thanks!).

I noticed a (temporary) visualization glitch while using it.
Let's (once again!) consider the tiny test case I prepared for bug
#400406 (see [1] and [2]).

[1] http://bugs.debian.org/400406
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi/vtk-multiblockPLOT3D-bug-test.tar.gz?bug=400406;msg=5;att=1

  $ tar xvzf vtk-multiblockPLOT3D-bug-test.tar.gz
  $ ls
  gen_tinyplot3d.f  tiny.q    vtk-multiblockPLOT3D-bug-test.tar.gz
  list_plot3d.py    tiny.xyz
  $ mayavi2

The main window shows up.

 * from menus, select File -> Load data -> PLOT3D file
 * as XYZ Co-ordinate file, select `tiny.xyz'
 * as Q Solution file, select `tiny.q'
 * in the property dialog window, check "Binary file", "Do not reduce
number of outputs", "Has byte count", and "Multi grid"; *un*check
"Force read", "I blanking", and "Two dimensional geometry"; select
"little_endian" Byte order; click on the OK button
 * from menus, select Visualize -> Filters -> Select Output
 * from menus, select Visualize -> Modules -> Surface (a blue square
shows up in the TVTK scene)
 * rotate the TVTK scene (by moving the mouse with the left button
pressed) and zoom out (by moving down the mouse with the right button
 * in the MayaVi pane, click on SelectOutput and drag the slider in
order to select a block different from the first (e.g.: the last one)

The visualization no longer shows a cube!
I can only see a part of the cube, as if an invisible plane cut it
into two chunks, only one of which stays visible.

 * rotate or drag or zoom the TVTK scene (even of a very little
quantity) and the problem goes away (i.e.: the full cube is again
correctly shown)

I think this is a bug, I don't know if it's caused by MayaVi2, or by

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mayavi2 depends on:
ii  libc6                        2.7-10      GNU C Library: Shared libraries
ii  python                       2.5.2-1     An interactive high-level object-o
ii  python-central               0.6.7       register and build utility for Pyt
ii  python-enthought-traits      2.0.4-2     Manifest typing and reactive progr
ii  python-enthought-traits-ui   2.0.4-3     User interface related modules for
ii  python-numpy                 1:1.1.0-1   Numerical Python adds a fast array
ii  python-pkg-resources         0.6c8-3     Package Discovery and Resource Acc
ii  python-vtk                   5.0.4-1+b1  Python bindings for VTK
ii  python-wxgtk2.6     wxWidgets Cross-platform C++ GUI t
ii  python2.5                    2.5.2-6     An interactive high-level object-o

mayavi2 recommends no packages.

-- no debconf information

More information about the Python-apps-team mailing list