Hi J-S,

Just a comment / idéa from the sideline: Instead of just toggling stats "off - on", the statshandler could toggle "off - bars - graphs". A "NVPerfHUD" version would be great, but an extra toggle states should be easier to implement (shouldn't it?)...

Just my 5 cents worth,

John


Jean-Sébastien Guay wrote:
Hi Robert,

Putting the graph below the existing bar graph would help.

OK, I'll do it Monday morning and resubmit. I'd make it as wide as the bar graph (= as wide as the main view), but what height would make sense? Too small a height and small variations will not be visible, but too big a height will take too much space... A default of maybe 100 or 200 pixels, would that sound about right?

It doesn't help that the available vertical space depends on the number of cameras/views... So if you have lots of views, the new stats that were added lately (number of each node type, vertices, etc.) will not be visible. That's why I was trying to save vertical space by putting the graph in the same space as the bar graph.

It would be cool to have something like NVPerfHUD, where each part of the stats HUD they have is a window which you can drag around, minimize (window shade style - the window collapses into just its title bar) or close. That's kind of the ultimate in customizability, and when the windows are not fixed, you worry less about screen space. Perhaps osgWidget could be leveraged to implement something like this into the StatsHandler, now that it's available out of the box in OSG? :-)

Longer term it'd be nice to have the control to decide where you want
the graphs (screen as well as position) and their size.  Such as
generalization could support having Camera stats and View stats
overlaying the viewport they are associated with.

Definitely. Right now the StatsHandler is a really opaque class that does everything in a hard-coded way, which is something I'd like to work on sometime (as you may have seen in my other message to Roland).

Anyways, baby steps :-)

J-S


--
Best regards,
John
WeatherOne


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to