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.
Hi, 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 controls)? Thanks, Doug -- *----------------------------------------------------------------------* | 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 | *----------------------------------------------------------------------*
visad
archives: