animation_image_doc.pro [message #62084] |
Mon, 25 August 2008 11:04  |
Mike Potter
Messages: 19 Registered: August 2008
|
Junior Member |
|
|
I'm currently evaluating IDL and am working through the various
examples in the documentation. I have tried the procedure
"animation_image_doc.pro" and it does not seem to work. It complies
without error or comment, but the window it displays is blank. Other
animation examples (most notably "animation_doc.pro", which uses the
same data set) work just fine. So, since I'm using
"animation_image_doc.pro" as a way to learn about animating a set of
images I'd like to know if others are able to get this to work or
whether it's just something strange about my setup.
running IDL version 7.0.3 in evaluation mode
Windows XP home with all updates installed.
Thanks for any help!
Mike Potter
|
|
|
Re: animation_image_doc.pro [message #62130 is a reply to message #62084] |
Tue, 26 August 2008 21:46  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mike Potter writes:
> I don't think I changed anything - but clearly SOMETHING
> changed.
Circumstance, probably. Happens all the time. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: animation_image_doc.pro [message #62131 is a reply to message #62084] |
Tue, 26 August 2008 20:44  |
Mike Potter
Messages: 19 Registered: August 2008
|
Junior Member |
|
|
Well, I know what I saw, but am uncertain enough of my own clumsy
knocking around with the object graphics keywords and such to insist
that I didn't make a mistake somewhere (not to mention being VERY
familiar with my seemingly infinite capacity for screw-ups). In fact
running the very same short piece of test code that I ran yesterday
which produced the effect that I described - now seems to work just
fine. I don't think I changed anything - but clearly SOMETHING
changed. Since I'm the only user on my computer......
Mike
On Aug 26, 10:46 am, David Fanning <n...@dfanning.com> wrote:
> Mike Potter writes:
>> had set backing store to IDL(2) because when
>> displaying a single image my system (WinXP Home) does not handle
>> backing-store as requested and so any time another window passes over
>> the image it is "erased" until re-drawn.
>
> I find this incredibly hard to believe. Are you sure?
>
> I've never used anything but the default (DEVICE, RETAIN=1)
> on any Windows computer I've ever owned (lots of them) and
> I've never had a window not do backing store correctly
> even once.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: animation_image_doc.pro [message #62151 is a reply to message #62084] |
Tue, 26 August 2008 07:46  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mike Potter writes:
> had set backing store to IDL(2) because when
> displaying a single image my system (WinXP Home) does not handle
> backing-store as requested and so any time another window passes over
> the image it is "erased" until re-drawn.
I find this incredibly hard to believe. Are you sure?
I've never used anything but the default (DEVICE, RETAIN=1)
on any Windows computer I've ever owned (lots of them) and
I've never had a window not do backing store correctly
even once.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: animation_image_doc.pro [message #62152 is a reply to message #62084] |
Tue, 26 August 2008 07:32  |
Mike Potter
Messages: 19 Registered: August 2008
|
Junior Member |
|
|
You are correct! I tried with backing store set to System(1) and it
works! Thanks. I had set backing store to IDL(2) because when
displaying a single image my system (WinXP Home) does not handle
backing-store as requested and so any time another window passes over
the image it is "erased" until re-drawn. So I guess I'll just have to
set RETAIN=2 in those cases.
Mike Potter
> It's the backing store! I had it set to IDL(2) and the animation
> doesn't show up. Setting None(0) or System(1) works.
|
|
|
Re: animation_image_doc.pro [message #62156 is a reply to message #62084] |
Tue, 26 August 2008 04:22  |
Vince Hradil
Messages: 574 Registered: December 1999
|
Senior Member |
|
|
On Aug 26, 4:40 am, Wox <nom...@hotmail.com> wrote:
> It works for me (WinXP Pro 64bit, IDLpref > Hardware rendering)
>
> IDL> animation_image_doc
> % Compiled module: ANIMATION_IMAGE_DOC.
> % Compiled module: FILEPATH.
> % Compiled module: PATH_SEP.
> % Compiled module: READ_BINARY.
> IDL> print,!version
> { x86_64 Win32 Windows Microsoft Windows 7.0 Oct 25 2007 64 64}
>
> I also tried IDL6.2 on Linux and there animation_image_doc behaves
> strange. When I run it: empty window. Breakpoint in the OnTimer method
> breaks, so the timer is running. When I enlarge the window: the frames
> appear.
It's the backing store! I had it set to IDL(2) and the animation
doesn't show up. Setting None(0) or System(1) works.
|
|
|
Re: animation_image_doc.pro [message #62157 is a reply to message #62084] |
Tue, 26 August 2008 02:40  |
Wox
Messages: 184 Registered: August 2006
|
Senior Member |
|
|
It works for me (WinXP Pro 64bit, IDLpref > Hardware rendering)
IDL> animation_image_doc
% Compiled module: ANIMATION_IMAGE_DOC.
% Compiled module: FILEPATH.
% Compiled module: PATH_SEP.
% Compiled module: READ_BINARY.
IDL> print,!version
{ x86_64 Win32 Windows Microsoft Windows 7.0 Oct 25 2007 64 64}
I also tried IDL6.2 on Linux and there animation_image_doc behaves
strange. When I run it: empty window. Breakpoint in the OnTimer method
breaks, so the timer is running. When I enlarge the window: the frames
appear.
|
|
|