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

Home » Public Forums » archive » 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: Object Graphics [message #39389 is a reply to message #9626] Tue, 11 May 2004 18:12 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Michael Wallace writes:

> So, is seeing something on the display 30
> minutes after you look at your first object graphics code somewhere
> close to a world record?

Pretty much. You were smart to choose a line and not
an image. Most people just starting out stare at
the first pixel of their image looming large on
their display for *days* before they figure it out. :-)

>> I'd try setting the RETAIN keyword to 2 and see if
>> that helps.
>
> Already was. And I can definitely tell you that the Window is not
> retaining anything. Direct graphics windows just like they're supposed
> to in the retain retain department.

Well, you can make the argument that retaining an object
graphics window is a gross misuse of the Earth's resources.
Why retain? You have the whole damn graphics hierarchy
already in memory. When you get an EXPOSE event in your
draw widget, just re-draw the graphics.

That's what you *had* to do when object graphics were
first released, although they have become more user
friendly over the years. (To much chagrin in the IEPA,
I can tell you!) You can think of this (if you choose,
of course) as your machine wanting to force you into
good programming practices. Those of us with Windows
machines will be drooling at your good luck! :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NOAA SAA Imagery display tool
Next Topic: Re: IDL - fundamental question about image display

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

Current Time: Sat Oct 11 05:35:27 PDT 2025

Total time taken to generate the page: 0.40233 seconds