Color table from TextAdapter

Hello everyone,

I want to load a user-defined color table from a text file. For that I want to define the color table as a VisAD Data object and read it off from a text file using VisAD's TextAdapter. (Actually, there's no need to define anything here, because the data object will be automagically created by the adapter...and I just want to get the RGB values as float[3][ N ].)

Has anyone got a snippet of code (that does exactly that) to donate to an open source project?

Thanks,

Ugo


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