Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690