Recently (actually, a month ago) I was trying to figure out what one of the statistics displayed in luxrender meant. After finally tracking their descriptions down in the wiki at http://www.luxrender.net/wiki/LuxRender_0.8_Interface I thought wouldn't it be nice if there was a tooltip for each of these statistics describing what they were for?
And so I began what I thought would be a simple project of 20 to 30 lines of code in mainwindow.cpp.
Attached is a 2827 line patch.
Unfortunately, implementing tooltips over each statistic means each statistic must be added to the GUI individually; liblux only supplies a single statistics string. Or it lets you create your own template....but that does not work with sppm and even if it did, it would require the GUI to know about all the different statistics for all the different renderers liblux might eventually support.
So It Has Come To This. The attached patch replaces the StatsData class, rips out a bunch of unused statistics code, introduces a general interface for fetching statistics from renderers, and finally..........wait for it..........adds tooltips over the statistics in the GUI.
I have written this with some help and feedback from LordCRC and he has requested that it be posted here for discussion as it is a fairly large change. So here it is.
--
Omni Flux
