Hi everybody,
I have a request for a change:
I was wondering for a while, why the heck is the rendering in the version from 12/8/08 or from CVS is getting slower (== less samples/s), when I increase the picture size. A simple test scene showing ~34000 samples/s at 320x240 pixels slows down with every increase and comes to complete halt at 800x600 pixels with only 16 samples/s. I'm rendering on a 1.3GHz Centrino laptop with onboard graphic. The interesting thing was, that the problem didn't occur in version 0.5...
After a while I recognised that, when I paused Lux, the application was still using 30% CPU time, even though it wasn't doing anything. So I turned on the debugger and saw, that the LuxGLViewer::OnPaint() was called all the time. The reason is, that LuxGLViewer::OnTimer() is refreshing the display every timer interrupt (~18x per second). And this was killing the render performance, as OnPaint() was drawing the complete viewport and that quite slow on my notebook.
After removing the OnTimer() callback, there was no slow down anymore.
-> Please remove the marching ants. They are not really necessary and on computer like mine, they cause a lot of trouble.
Cheers,
Marcus
