NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: Transpaency in 2DDisplay and Integer2DSet

Hi Cicero,

Did you try display.getGraphicsModeControl().setMissingTransparent(true)?

-Curtis

At 10:52 AM 3/4/2002, you wrote:
>Hi everybody:
>
>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.
>
>Thanks already Cicero A. W. Z.


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