change color optimization


I have a bunch of station data with many time samples of each. I'm
displaying them with shapes ( time -> ((x,y,z) -> (color, shape)) ). I
use the "color" type to map to RGB. I give it a constant color by giving
BaseColorControl a table with a single color. Thus, I can easily change
colors of my shapes via the BaseColorControl. I map time to Animation to
get the sample I want.

Unfortunately, if I change the color of one shape, VisAD seems to be
working very hard with everything in the display instead of only the
shape being modified. All the data in the display blinks during this and
is not pretty. It's not so bad without the Animation map, but it still
seems slow. I tried display.disableAction() before calling
control.setTable() but that doesn't seem to help.

Any ideas how to optimize changing colors (and other properties via


| 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: