Re: how to display data

  • To: Wang Lizhi <wlz@xxxxxxxxx>
  • Subject: Re: how to display data
  • From: Bill Hibbard <bh@xxxxxxxxxxxxx>
  • Date: Tue, 26 Dec 2006 12:12:32 -0600 (CST)
Hi Lizhi,

  Please see the website first, http://wlz.tea.ac.cn/study/visad/3d.htm
  I am a newbie of visad, I want to know how to display this type data.
  Could you give me a draft ?

There are several part of your image, which will have to
be displayed by different techniques. Your image consists
of three curved 'blocks' that are similar to each other,
so I'll described how to render one. The top and bottom of
a block are each ordinary topography surfaces, which can
be generated by displaying two FlatFields of MathType
((x, y) -> (z, rgb)) with texture mapping. See:

  visad/examples/Test16.java

Note that whereas Test16.java uses a ScalarMap to Green,
you may want a ScalarMap to RGB.

The sides (between the tops and bottoms of the blocks) are
filled with color in your image. Try doing these by
displaying FlatFields of MathTypes ((x, z) -> (y, rgb) and
((y, z) -> (x, rgb)) with texture mapping. Note these
FlatFields can have domains whose z dimension has only two
samples.

Finally, your image includes black outlines of the grid on
the top and bottom surface. You can display these using
UnionSets of Gridded3DSets with manifold dimension = 1,
somewhat similar to:

  visad/examples/DelaunayTest.java

This will be a bit tricky, so please experiment a bit.

Good luck,
Bill

==============================================================================
To unsubscribe visad, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


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