Re: Transpaency in 2DDisplay and Integer2DSet

Hi Cicero,

> I´m using VisAD to visualize radar and lightling data. Now I've inserted
> also a GIF image on the background by visad.data.gif.GIFForm. The image
> is apearing behind all the other data, as it shoud.
> 
> The problem is that I could not make the undefined radar data invisible
> (alpha =0). I´m using a Integer2DSet and setting the points outside the
> radar range to Float.NaN but these points apear on the display´s
> background color.
> 
> I also tried to map to RGBA instead of RGB but didn´t worked either.

Transparency works in a number of our examples, so I don't
know enough to know what your problem is.

Unless you are using DisplayImplJ2D, which does not support
transparency.

Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


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