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.

Re: Creating Overlays

Hi Say,

> . . .
> At the moment, I have difficulty in acertaining the sequence of
> rendering the data in the 2D display to ensure certain image stay
> on top.
> . . .

Three things govern this order:

1. Data are rendered in the order in which they were passed
to DisplayImpl.addReference() or DisplayImpl.addReferences().

2. In a DisplayImplJ2D, renderinsg with images and polygons
are done before renderings with points and lines, so that
for example map outlines are visible over images.

3. In a DisplayImplJ3D with TwoDDisplayRendererJ3D, renderings
with points and lines are located slightly in front of
renderings with images and polygons, for the same motive as
item 2.

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


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