transparency

Transparency is working in 3d idossurfaces by making a 
ScalarMap to Display.RGBA and providing a color-alpha table
of the form float [4][length], with the last element being alpha.
Resetting the color table with a new value of alpha changes
the transparency as expected.

The surface is transparent to the VisAD wireframe box, 
some lines in black (contours of other data for example), 
and to other isosurfaces. It's cool seeing one isosurface
inside another one.

However the surface is always opaque to map background lines 
and pseudo-colored data surfaces on a level under the 3D surface.
For these objects the isosurface at full transparency verges
to an opaque VisAD background color, black for example (unless
the background color is changed from black).

Anyone one have any idea what is going on?

Stu
-- 

Stuart Wier                              UCAR Unidata Program
wier@xxxxxxxxxxxxxxxx                           P.O. Box 3000
http://www.unidata.ucar.edu/staff/wier      Boulder, CO 80307


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: