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

Home » Public Forums » archive » Re: Object Graphic Slows on resize
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 Graphic Slows on resize [message #32879] Fri, 15 November 2002 16:09 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Mark Servetus" <markservetus@hotmail.com> wrote

> I have a single IDLgrView with several IDLgrImage objects (including
> transparancies). I drag them around and do other mouse events with
> objects just fine, with good performance.
>
> However, once I resize the window and it re-draws, everything slows
> terribly.

In general when you enlarge the window you will see a performance decrease.
The impact will depend on if your graphics card is fill rate limited or
vertex limited. If it is vertex limited you'll see less change in redraw
speed as you enlarge your window. If your card is not vertex limited then
you will see a larger drop in performance as that window grows. Consumer 3d
to high end "Gamer's" cards tend to get vertex limited rather quickly.
Professional 3d cards tend to focus on vertex processing and generally are
fill rate limited.

Your case doesn't make sense. Redraw should speed up when you shrink your
window. I think you should start looking closely at your code and trace
what happens when you resize. I think there is a bug somewhere.


> It seems to me that the cache is created with their original sizes,
> and upon resize, all subsequent draws have to do major interpolation
> from the cache. The only guess that has made sense to me yet. (It
> happens even when I shrink the window.)

No. IDL does cache certain internal properties of graphics atoms but these
wouldn't change when you resize your window (unless you were changing
certain atom properties when you resized the window. Even in this case you
would only see an initial hiccup as the atoms internal properties were
updated then redraw would recover).


It doesn't hurt to make sure you have recent drivers installed. Detonator
40.72 drivers were release on the 11th. But I doubt this is a driver issue.


-Rick
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: atmosphere removal program ATREM
Next Topic: use of 'obj_new' within another object definition

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

Current Time: Sun Oct 12 12:36:02 PDT 2025

Total time taken to generate the page: 2.32011 seconds