Re: Display problems

First, please send all VisAD questions to visad-list@xxxxxxxxxxxxxx

On Wed, 6 Aug 2003, Neeson Kieran MMUk wrote:

> Hi Bill,
> I have been playing around with VisAd and followed throught the tutorials
> but I have run into a problem.
> I have some data that I wish to display using visad, with mass on the
> x-axis, scans no the y-axis and counts on the z-axis.
> I have been using the tutorial example P4_01 as the basis for my code.
> Everything is fine with regards to my axes etc however the display of my
> data seems to be incorrect. The actaul data points seem to be scaled somehow
> about the z-axis as my peak regions appear as perfectly symmetrical
> triangles when  I know that the data does not represent this. I am using a
> linear2DSet and my domain_tuple is a RealTupleType(mass, scans) while my
> range_tuple is a RealTupleType(counts). I have also used counts for my
> colour map. Am I missing something?? Can you help me??

Try adding:

  GraphicsModeControl mode = display.getGraphicsModeControl();

to your program. For efficiency, the default for terrain
displays is to use Java3D texture mapping and to smooth
the terrain. These lines disable texture mapping.

Good luck,

> Kieran Neeson
> Bioinformatics Software Developer
> Micromass UK Ltd
> Floats Road
> Wythenshawe
> Manchester
> M23 9LZ
> +44 (0) 161 946 2682
> kieran.neeson@xxxxxxxxxxxxxxx