Re: A question regarding to visad iso-surface display

  • To: Jianting Zhang <jianting@xxxxxx>
  • Subject: Re: A question regarding to visad iso-surface display
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Mon, 12 May 2003 05:18:30 -0500 (CDT)
Please send all questions to visad-list, rather than just to me.

There are two possible explanations for the variety of colors
on your iso-surface:

1. There may be a ScalarMap of some other RealType to a
color DisplayRealType, that is also part of the displayed
Data object, and modifies the RGBA colors.

2. There may be tiny variations of color due to numerical
precision, if the iso-level is near a break in the color
table. Iso-level computations are done as floats but color
computations are done as bytes.

Good luck,
Bill

On Sun, 11 May 2003, Jianting Zhang wrote:

> Hi, Bill:
>
> I'm drawing an iso-surface by adding maps of both "Display.RGBA" and
> "Display.IsoContour". However, there are more than one colors in the
> rendering result. I'm confused since there should be only one value in
> the rendered iso-surface and thus there should be only one color in the
> result according to the definition of my color table. Do you have any
> hints for me to resolve this puzzle?
>
> Thanks
>
> Jianting