Re: Height of data is not displayed correctly

  • To: Julia Löcherbach <loeba@xxxxxxxxxxx>
  • Subject: Re: Height of data is not displayed correctly
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Wed, 14 Sep 2005 16:31:28 -0500 (CDT)
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


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