Re: [visad] wire frame reprensation

Hi Fabien-

On 10/13/10 7:02 AM, Fabien Le Floc'h wrote:
Hello,

I am relatively new to Visad and would like to display a 3d surface in
wireframe mode. I know how to do it in colors. How to have wireframe +
colors at the same time?

I currently use DisplayImplJ3D with a FlatField and add a ScalarMap of
Display.RGB to draw the surface in colors.

You can set this in the GraphicsModeControl.setPolygonMode():

Try:

   DisplayJ3D display = new DisplayImplJ3D("foo");
GraphicsModeControlJ3D gmc = (GraphicsModeControlJ3D) display.getGraphicModeControl();
   gmc.setPolygonMode(DisplayImplJ3D.POLYGON_LINE);

Don
--
Don Murray
NOAA/ESRL/PSD and CIRES
303-497-3596
http://www.esrl.noaa.gov/psd/people/don.murray/