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

Home » Public Forums » archive » Re: Black screen movie
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: Black screen movie [message #79595 is a reply to message #79593] Fri, 09 March 2012 06:25 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sofie Fehlmann writes:

> I'm a very beginner and would like to create a movie with IDL. I tried
> therefore the following:
>
> for i=0,n-1 do begin
> filename ='DATA_000' +strtrim(i,2)+'.tab'
>
> readdata,filename
>
> iimage = tvrd(true=3)
> xinteranimate,image=iimage,frame=i
> endfor
>
> Readdata is a program which creates (after some calculations) a
> contour plot. However, when xinteranimate starts, the contour plot
> appears correctly but not in the xinteranimate frame. Therefore, I get
> a black screen movie. So, I think something is completely wrong...
> The same problem happens if I use the 'addvideostream' command. The
> contour plot seems to appear in a different window.
> How can I "put" the contour plot which I call with Readdata into a
> movie frame?

But, you are taking a snapshot of the ReadData window and
putting that into the animation. Is that what you say is
not working? Are you sure you are taking the snapshot of the
right window? Is there anything except black pixels in your
image? How does ReadData deal with windows?

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Matlab!
Next Topic: IDL routines dependencies map maker

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

Current Time: Fri Oct 10 23:17:35 PDT 2025

Total time taken to generate the page: 0.31784 seconds