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.
Hello to Bill H. and the VisAD mailing list, Another question(s) about colors: One of the parameters to the Gridded3DSet.makeIsoSurface() method looks like an R,G,B tuple for each point in the gridded set. My question(s) is, 1) Where are these values computed? In other words, what class(es) is/are responsible for this? and 2> How are these values computed (conceptually)? Or perhaps another way of asking would be, on what basis are these color values computed? Is there a mapping from grid values to color values? and 3) Could the inverse computation be done? Could one write a function that computed the original sample point from the color values (within some margin of error)? /** * @param isolevel -the isosurface value * @param fieldValues -the set of input data values * @param color_values -an R,G,B tuple for each sample point * @param indexed -returns TRUE if optimization on * @return array -a triangle strip array (VisADTriangleStripArray) */ public VisADGeometryArray makeIsoSurface(float isolevel, float[] fieldValues, byte[][] color_values, boolean indexed) -cheers, bob PS. Thanks to Bill H. for answering my last question(s)! Robert S Laramee tel: (603) 868-1361 (new as of 19 Jan '00) 9 Woodman Ave, #316 office: (603) 862-0350 Durham, NH 03828 URL: http://www.cs.unh.edu/~rlaramee
visad
archives: