Re: Height of data is not displayed correctly

Hi Julia,

> I have data sets where most values are very low with only a few but very
> high peaks (up to 10^10).
> Sometimes it happens that in the 3D display the peaks do not seem to be
> displayed according to their actual height but much lower. With the axes
> scaled according to the max value this is obvious. The red peaks in the
> attached screenshot should be several 1000 units high but they are
> displayed only as high as 10 to 15.
>
> What do I have to change for them to be displayed correctly?

For the sake of speed and memory use, the default for this
type of display uses texture mapping over an under-sampled
terrain surface. The under-sampling is failing to show your
sharp peaks. You can disable the use of texture mapping by:

  display.getGraphicsModeControl().setTextureEnable(false);

An alternative is to keep texture mapping but to change the
factor for under-sampling, by calling:

  display.getGraphicsModeControl().setCurvedSize(int curved_size)

The default for curved_size is 10, and a smaller value will
show more detail in the terrain.

Good luck,
Bill