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 everyone, I have written a renderer that keeps text locked to its initial position on the screen, even while you zoom and pan the display. If you would like to use this renderer, you will need to copy the following 3 files: - ScreenLockedRendererJ3D.java - ShadowScreenLockedFunctionTypeJ3D.java - ShadowScreenLockedTupleTypeJ3D.java from the following FTP site: ftp://ftp.ssec.wisc.edu/pub/visad-2.0/untested/ and place them in the visad/bom directory of your visad source tree. To see a demo of the renderer, compile the files and change to the parent directory of your visad source tree, and type: java visad.bom.ScreenLockedRendererJ3D This will display a square with labels at each corner of the square. You can rotate and pan the display, but the text will not move. The square will behave as expected though, as it is not locked to the screen. Please note that for this renderer to work, you need: - a tuple type with a domain component mapped to Display.Text. For example: (latitude, longitude, text) or - a function type with a component in the range mapped to Display.Text. For example: ((latitude, longitude)->(text)) Please pass on any feedback you may have. Thanks, Jim. --- Jim Koutsovasilis Bureau of Meteorology, Australia jimk@xxxxxxxxxx
visad
archives: