Re: Transpaency in 2DDisplay and Integer2DSet

  • To: "Cicero A. W. Zandoná" <cicero@xxxxxxxxxx>
  • Subject: Re: Transpaency in 2DDisplay and Integer2DSet
  • From: Doug Lindholm <lind@xxxxxxxx>
  • Date: Mon, 04 Mar 2002 10:48:57 -0700
To visualize a given range of data, add a ScalarMap of your radar data
type to Display.SelectRange and use it's RangeControl to set the range
of data values you want to see.

Let me know if you need more details.

Doug

"Cicero A. W. Zandoná" 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.

-- 
*----------------------------------------------------------------------*
| Doug Lindholm, Software Engineer          |  E-mail: lind@xxxxxxxx   |
| Research Applications Program             |   Phone: 303-497-8374    |
| National Center for Atmospheric Research  |                          |
| P.O. Box 3000                             |     There's no place     |
| Boulder, Colorado 80307-3000              |        like $HOME        |
*----------------------------------------------------------------------*


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