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: How to speed up drawing simple objects on top of large objects

  • To: Jianting Zhang <jianting@xxxxxx>
  • Subject: Re: How to speed up drawing simple objects on top of large objects
  • From: Bill Hibbard <billh@xxxxxxxxxxxxx>
  • Date: Tue, 20 May 2003 16:08:53 -0500 (CDT)
Hi Jianting,

> I need to draw a rectangle (using DirectManipulationRendererJ2D)
> interactively on top of a big regular scalar map. It seems that all the
> maps will be redrawn for a single user click which is very time
> consuming. Is there any way to not draw the big scalar maps (while still
> keep them as background) to make the drawing faster?

First, the map won't be re-transformed but only re-rendered.
The transform is the slow part. But if the render time is a
problem, please consider using Java3D instead of Java2D.
Java3D is much faster.

Good luck,
Bill


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