[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exceed and IDL
- Subject: Re: Exceed and IDL
- From: davidf(at)dfanning.com (David Fanning)
- Date: Wed, 7 Jul 1999 20:15:25 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <3781382A.2B4A4755@garnet.acns.fsuMMER.edu> <3781FFBA.B34A027A@met.rdg.ac.uk> <37820941.3557AB7F@ssec.wisc.edu> <378262CC.E96@llama.pilz.cack> <37835BEB.2C1EA8BD@ssec.wisc.edu> <378368A9.40AC@llama.pilz.cack> <MPG.11ed28f44513782f989815@news.frii.com> <7m0njb$oc7$1@clam.niwa.cri.nz>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:15591
Mark Hadfield (m.hadfield@niwa.cri.nz) writes:
> > (1) You are using object graphics in the window, in which
> > case RETAIN should *always* be set to 0.
>
> I disagree. For object graphics draw widgets on Windows NT, I have found the
> best results (fast drawing, fast refresh when a window is re-exposed) are
> achieved with:
>
> RENDERER = 0 ; "Hardware" renderer
> RETAIN=2 ; IDL provides backing store
> EXPOSE_EVENTS=0 ; Not necessary for widget application to redraw its
> own windows
>
> I imagine that other platforms have different optimum settings, but you use
> NT primarily, don't you David?
When objects first came out I noticed that my axes
labels would disappear. After about 50 frustrating hours
convincing myself that I was doing everything correctly, I
gave up and contacted RSI. I was told in no uncertain terms
that this was caused by setting the RETAIN keyword to 2
and that RETAIN should *always* be 0 in object graphics.
This made sense, because you already *have* the backing
store to repair the window: the view you want to display.
Why carry around yet more baggage? Sure enough, it
fixed the problem.
I was so scarred by this experience that I have just
been plodding along doing it this way from that moment
forward. Frankly, I'm shocked to hear there is another
way. :-)
With respect to rendering. I spent a pile of dough
getting two really nice 3D graphics cards that had
OpenGL support. *Both* of those cards render slower
in hardware than they do in software, although I have
never tried setting the RENDERER keyword on the
draw widget. I just always set the Hardware Rendering
option in the Option Settings. Of course, this is
one of those situations where *nobody* in technical
support, from *either* company, wants to have anything
to do with you. It's always *their* fault.
Let's just say I *knew* I should have bought the
Dell machine. :-(
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