NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
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 ==============================================================================
visad
archives: