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

Home » Public Forums » archive » Re: Speed up movie in object graphics.
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: Speed up movie in object graphics. [message #19548 is a reply to message #19543] Wed, 05 April 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Erik Hummel (erik.hummel@philips.com) writes:

> On WNT and with IDL5.3 I'll have an application with movie functionality
> of images (say 256x256 byte array). The application is based on Object
> Graphics. The movie is very slow (lower than 10 images/s).
> The CW_Animate application of IDL is much faster, but with structured
> graphics.
> My question is how to speed up the movie. To me seems an option using
> the Read (or GetProperty, Image_Data) method of IDLgrWindow and redraw
> these screen dumps. Has someone experience with this
> and is this indeed the way?

I don't have any experience animating object graphics
images. Mostly, I think, because it would never occur
to me to use object graphic images for this purpose.
I can imagine it would be slow. And the READ or
GET_PROPERTY, IMAGE_DATA is not going to help much,
since reading from the window *still* results in
an image object.

I think what I would do is pull each 2D image out
of its image object using the GET_PROPERTY, DATA
method and load those images into XINTERANIMATE
(or CW_ANIMATE, I guess). This won't cause a problem
unless you are running on an 8-bit display, in which
case your colors will go a little crazy in the rest of
your application while the movie is running. But it will
work perfectly on a 24-bit display, which--if you are
writing object graphics applications in the first place--
I'm sure you have. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: pointer to structures
Next Topic: Re: destroying graphics objects

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

Current Time: Tue Dec 02 09:38:08 PST 2025

Total time taken to generate the page: 8.90093 seconds