comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Animation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: animation [message #40601 is a reply to message #9821] Mon, 23 August 2004 10:38 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mary T writes:

> I would like to animage the images that I get as an output in IDL
> windows. I saw an example in "IDL programming techniques" by Dr.
> Fanning (2 edition,page 105). However, from my understanding, this
> example is for images that are in a database called "head". My
> question is...how can I modify it, so that the images that I have in
> the output windows, be included in this code? I guess I have to save
> these output images first...in what format showld I do this?

It occurs to me that I could be more helpful. :-)

Where do the images you want to animate exist
at the time you want to animate them? Are they
in memory as variables? Did you display then someplace?
Are they in individual display windows? Or are all the
images in one window? How did you put them in the window?

If you have to copy them from some other display window
to the animation window, then the "DEVICE COPY"
technique is probably what you want to use.

None of this *has* to be done in a FOR loop, of course,
it is just easier this way. For example, if you wanted
to animate five images, and they were already displayed
in windows 1, 4, 10, 38 and 52 and these windows were
all the same size as your animation window (say 400 by 500),
then you could do this:

XInterAnimate, Set=[400,500,5],/Showload
XInteranimate,Frame=0,Window=1
XInteranimate,Frame=1,Window=4
XInteranimate,Frame=2,Window=10
XInteranimate,Frame=3,Window=38
XInteranimate,Frame=4,Window=52
XInteranimate,50

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Bug with object graphics, app_scroll and the mouse in 6.1 under Windows.
Next Topic: xinteranimate with PLOTS and FLOW3 output

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 17 20:49:37 PDT 2025

Total time taken to generate the page: 0.48735 seconds