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.

how to animate a large data set

Hi, I am trying to find an example of animating a rather large data set.
Specifically, I have a sequence of 480x480 images (about 1000) of them, that
I would like to animate.
The simplest method I used was to 
use the DataReference method setData() but it was a bit too slow.

Then I tried to use a time field using the FieldImpl method along with a 
setSample();
This quickly filled up memory, (I only could store about 40 images).

It seems that the more prudent method would be to generate the images, store in 
a file (using
some convenient VisAD friendly format) and then read and display them.


Does anyone have a snippet of code that may already do this?

Also, is there any way to maybe save the animation sequence to a sequence of 
jpegs or mpegs for
later playback??

Thanks.
Chris


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