[Paraview] Error: Transparent objects actually solid?
Scott, W Alan
wascott at sandia.gov
Tue Mar 6 16:06:57 EST 2007
Update on transparency. It is currently expected that 2.6.1 will NOT
have this code in it. It will be in 3.0
Alan Scott
________________________________
From: Scott, W Alan
Sent: Wednesday, February 28, 2007 1:18 PM
To: 'William Hunter'; paraview at paraview.org
Subject: RE: [Paraview] Error: Transparent objects actually solid?
This is expected behavior in ParaView 2.6. It is because we are
z-buffer depth sorting. The correct thing to do is to draw all items in
the order of back to front. This code that implements this is currently
expected to be in ParaView 2.6.1, which should be out in a month or so.
Alan Scott
________________________________
From: paraview-bounces+wascott=sandia.gov at paraview.org
[mailto:paraview-bounces+wascott=sandia.gov at paraview.org] On Behalf Of
William Hunter
Sent: Wednesday, February 28, 2007 12:58 PM
To: paraview at paraview.org
Subject: [Paraview] Error: Transparent objects actually solid?
List;
I've come across 'odd' behaviour when objects are transparent: An object
with an alpha value < 1.0 can hide another transparent. The file below
contains two cubes, blue and green. The blue cube is visible through the
green cube, but not vice versa (if you rotate). Also, if I set the blue
cube's alpha value (in the lookup table) to 0.0, it completely hides the
green one, I would've expected to see the green cube since the blue one
is transparent (?)
The only way to get around this is to set the opacity value to anything
< 1.00 in the Object Inspector (Display/Style), then it works, which is
probably OK, but it's freaking me out... This is for ParaView 2.6 and
alpha 3.
Is this the intended behaviour? If not, what gives?
# vtk DataFile Version 2.0
Really freaky data
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 16 int
0 0 0
1 0 0
1 1 0
0 1 0
0 0 1
1 0 1
1 1 1
0 1 1
2 0 0
3 0 0
3 1 0
2 1 0
2 0 1
3 0 1
3 1 1
2 1 1
CELLS 2 18
8 0 1 2 3 4 5 6 7
8 8 9 10 11 12 13 14 15
CELL_TYPES 2
12 12
CELL_DATA 2
SCALARS Blue_and_Green int 1
LOOKUP_TABLE colr-trspcy_table
0 1
LOOKUP_TABLE colr-trspcy_table 2
0.0 0.0 1.0 0.75
0.0 1.0 0.0 0.75
Thanks, William.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070306/6132b12f/attachment.html
More information about the ParaView
mailing list