--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: mayavi2: Opacity == 1.0, but still slightly transparent
- From: Francesco Poli <frx@firenze.linux.it>
- Date: Thu, 01 May 2008 17:48:38 +0200
- Message-id: <20080501154838.8801.37211.reportbug@homebrew>
Package: mayavi2
Version: 2.1.1-2
Severity: normal
Hi!
I noticed a little problem in opacity management.
Please note that I've recently upgraded mayavi2 from version 2.1.1-2 to
version 2.1.1-2+b1, but I've seen the same issue with version 2.1.1-2.
Let's consider (one more time!) the 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'
* select PLOT3D:tiny.xyz, tiny.q in the MayaVi pane
* in the PLOT3DReader tab (inside the object editor), 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
* in the Reader tab, click on the "Update Reader" button
* 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)
I should only see at most three cube faces (if perspective theory
is my friend...).
Nonetheless, I can also see the remaining faces, behind the directly
visible ones.
Let me check the opacity settings:
* in the MayaVi pane, double-click on Surface
Mmmmh, Opacity is set to 1.0. Hence I should only see directly
visible faces. Yet, I seem to have Superman X-ray view! ;-)
Saving the scene to a PNG image, shows that the problem will affect
visualization outputs, as well.
It really seems I'm getting (partial) transparency, even when I do
_not_ want it... :-(
I think this is bug.
-- 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.6 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-2 User interface related modules for
ii python-numpy 1:1.0.4-7 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 2.6.3.2.2-2 wxWidgets Cross-platform C++ GUI t
ii python2.5 2.5.2-3 An interactive high-level object-o
mayavi2 recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: Francesco Poli <frx@firenze.linux.it>
- Cc: 478880-done@bugs.debian.org
- Subject: Re: No, it's not fixed upstream
- From: Brice Goglin <Brice.Goglin@ens-lyon.org>
- Date: Sun, 17 Aug 2008 09:35:43 +0200
- Message-id: <20080817073543.GA22887@loulous.org>
- In-reply-to: <20080618000309.0784847a.frx@firenze.linux.it>
- References: <20080618000309.0784847a.frx@firenze.linux.it>
Version: 7.1~rc3-1
On Wed, Jun 18, 2008 at 12:03:09AM +0200, Francesco Poli wrote:
> tag 478880 - fixed-upstream
> thanks
>
> Rationale: this bug has been forwarded to
> http://bugs.freedesktop.org/show_bug.cgi?id=16363
> which has been closed as duplicate of id=16072, but the latter is still
> open.
> As a consequence, bug #478880 is not yet fixed by upstream.
Now, it should be fixed in 7.1rc3 accordingly to the upstream bugs.
So I am marking as fixed in experimental.
Brice
--- End Message ---