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

Home » Public Forums » archive » Re: IDL Objects Graphics cache and crash
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: IDL Objects Graphics cache and crash [message #29695 is a reply to message #29681] Sun, 10 March 2002 12:38 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Altyntsev Dmitriy" <alt@iszf.irk.ru> wrote in message
news:6b9fda50.0203100016.76b8433d@posting.google.com...
> I am trying now to turn to IDL Objects Graphics so a pair of
> questions to IDL gurus.

None of the gurus seem to have replied yet, so I'll have a go.

> In IDL online help topic "The Graphics Object Hierarchy -> The
> Rendering Process" one can read about draw cache: "Subsequent draws
> of this graphic atom to the same destination can then be drawn very
> efficiently."

Hey cool! I never noticed that paragraph before. (I've never noticed
the behaviour it describes, either.)

> But it seems not to work as declared. When I change HIDE property of
> some graphic atom and then draw window it takes the same time as
> first drawing. What's wrong?

Probably the documentation.

By the way, I find the paragraph immediately before the one you refer
to particularly amusing--the one that begins, "The order in which
objects are added to the hierarchy will have an impact...". It fails
to mention the fact that the visibility of all OG atoms, except
images, is controlled by position in 3D space, not by drawing order.

> I tried different renderer and retain, but can not get any
> acceleration. I use Win98, IDL 5.4, video ASUS AGP3800.

Well, you've already anticipated my only suggestion, which was to try
hardware & software renderers.

> Using of IDLgrROI sometimes crashes IDL. It is very unpleasant. May
> be anyone can advice how avoid these crashes and other OG bugs if
> any. I use Win98, IDL 5.4

Sorry, I have no suggestion on this specific bug. Can you upgrade to
IDL 5.5? With object graphics, later is generally better. Do the
crashes occur with the software renderer? IDL display problems are
sometimes caused by the video driver and the hardware renderer
exercises this driver much more than the software one. And of course
upgrading Windows to one of the NT family (2000, XP) is generally a
good idea if you want stability.

---
Mark Hadfield
m.hadfield@niwa.co.nz Ka puwaha et tai nei
http://katipo.niwa.co.nz/~hadfield Hoea tatou
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: help on polar_surface routine
Next Topic: Re: Software vs Hardware Rendering

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

Current Time: Sat Oct 11 15:30:57 PDT 2025

Total time taken to generate the page: 2.31335 seconds