Re: Display problems

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

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();
  mode.setTextureEnable(false);

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,
Bill

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


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