Re: Help! Slow object graphics. [message #29445] |
Wed, 20 February 2002 11:51  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Ted Cary (tedcary@yahoo.com) writes:
> I wouldn't be plotting any data at all in object graphics. I'd use the
> object graphics XROI-type program to *acquire* the data from ROIs drawn in
> an image, and then I'd plot the analyses of the data in direct graphics
> windows--maybe in something downloaded from your website. My question was
> only if I could *use* both object graphics and direct graphics in the same
> IDL session without any problems--not in the same window, not drawing the
> same visuals. I have used them both simultaneously before, drawing DG plots
> from the command line while OG programs are running, etc, but I do not know
> if there could be unforeseen problems in the long run while running a
> program. I am trying to get the best of both worlds without the worlds
> colliding.
As long as you are on a 24-bit display and you
are reasonably careful about colors (you may have
to load your color table before you draw graphics
in some circumstances, etc.), there is no problem
running both direct graphics and object graphics
windows simultaneously. I do it almost transparently
all the time.
> It seems like OG might be good for "graphics" graphics--3d spinning coins
> and christmas trees with flashing lights and hopefully ROI-drawing
> utilities--but maybe it is still not so convenient to plot data with it?
Well, I'm pretty sure I didn't say *that*. I think
I said I am finding more and more reasons to use
object graphics, since often the advantages of doing
so outweighs the drawbacks. But you do have to carefully
weigh your options for each project. There are some things
that simply can't be done *without* object graphics. In
those cases, I'm always thrilled to have them. :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|