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

Home » Public Forums » archive » Rendering method software vs hardware
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Rendering method software vs hardware [message #89760] Tue, 02 December 2014 05:58 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Hi,
I have a software that shows images in one windows and plots in other window (3 at the moment). I have a list widget to change images and when I change images, I recalculate something and update the plots.
I've done this using FG. So far so good...
The problems arise when I use hardware rendering. If I do so, on my laptop, I get once in a while pretty awful crashes (pc crash, win 7 pro, IDL 8.4) and the pc reboots.
Ok, I understand that this is caused by some graphics driver problems. Then I switched to software rendering because I thought that this would help the stability. And it did! But it did so at the cost of performance...
However, according to http://www.exelisvis.de/docs/Performance_Tuning_Objec.html I would expect that hardware rendering is better for 3d stuff. But I just draw images and plot lines!

I used the profiler to have a look at what's happening.
With hardware rendering (crashes permitting) I spend ~ 1.3 seconds in idlgrmodel::draw for switching between 4 images. In the same conditions, with software rendering i need for the same method 10.7 seconds.

The weird thing is that the images and plots update in software rendering pretty fast and then the widget is not responding for a second or so.

Does anybody have a clue on what's going or how I can improve this? I really need to switch between images faster and I'm not sure relying on Hardware rendering is a good idea if I want to distribute this...

I'm really starting to like FG, but this is quite a setback I must say.

Cheers,
Helder
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: make all array values equal to zero
Next Topic: extraction of harmonic terms from FFT in idl

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

Current Time: Wed Oct 08 14:10:14 PDT 2025

Total time taken to generate the page: 0.00487 seconds