Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: missing data, SelectRange and display topologies

Hi Ugo,

> The other problem of colouring them black, is that they are still there,
> and may shade the axis. Furthermore, colouring them black at a user
> level would mean the need of a colour table with black.
> . . .

Hopefully the following code will help:

    GraphicsModeControl mode = display.getGraphicsModeControl();
    mode.setTextureEnable(false);
    mode.setMissingTransparent(true);

This should disable texture mapping and force missing data to
be transparent.  Please let me know if this does not help.

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

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