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 Erik, As far as I know there is no possibility to switch one DisplayImpl into another. But you can construct a DisplayImplJ3D that behaves like a DisplayImplJ2D: DisplayImplJ3D display = new DisplayImplJ3D("display", new TwoDDisplayRendererJ3D()); Visad then constructs a Java3D display that behaves like a 2D-display. So you have full hardware acceleration even in 2D. Nevertheless if you want to switch between 2D and 3D you have to construct 2 separate displays. You can add both of them to your gui and set only one of them visible at a time. Another way would be to remove the old display and add the new to your gui. See http://www.unidata.ucar.edu/staff/russ/visad/msg05454.html for that. Cheers, Mathias
visad
archives: